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
Add and start writing out code ref annotation.
Not yet being used for anything.
- Loading branch information
Showing
2 changed files
with
48 additions
and
0 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
17 changes: 17 additions & 0 deletions
17
src/vm/jvm/runtime/org/perl6/nqp/runtime/CodeRefAnnotation.java
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,17 @@ | ||
| package org.perl6.nqp.runtime; | ||
|
|
||
| import java.lang.annotation.*; | ||
|
|
||
| @Target(ElementType.METHOD) | ||
| @Retention(RetentionPolicy.RUNTIME) | ||
| public @interface CodeRefAnnotation | ||
| { | ||
| String name(); | ||
| String cuid(); | ||
| String outerCuid(); | ||
| String[] oLexicalNames(); | ||
| String[] iLexicalNames(); | ||
| String[] nLexicalNames(); | ||
| String[] sLexicalNames(); | ||
| long[] handlers(); | ||
| } |