Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Implement setting invocation spec.
It's not actually used yet, however.
- Loading branch information
Showing
4 changed files
with
43 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| package org.perl6.nqp.sixmodel; | ||
|
|
||
| /* How do we invoke this thing? Specifies either an attribute to look at for | ||
| * an invokable thing, or alternatively a method to call. */ | ||
| public class InvocationSpec { | ||
| /** | ||
| * Class handle where we find the attribute to invoke. | ||
| */ | ||
| public SixModelObject ClassHandle; | ||
|
|
||
| /** | ||
| * Attribute name where we find the attribute to invoke. | ||
| */ | ||
| public String AttrName; | ||
|
|
||
| /** | ||
| * Attribute lookup hint used in gradual typing. | ||
| */ | ||
| public long Hint; | ||
|
|
||
| /** | ||
| * Thing that handles invocation. | ||
| */ | ||
| public SixModelObject InvocationHandler; | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters