aboutsummaryrefslogtreecommitdiff
path: root/src/stubs/com/sun/tools/javac/parser
diff options
context:
space:
mode:
Diffstat (limited to 'src/stubs/com/sun/tools/javac/parser')
-rw-r--r--src/stubs/com/sun/tools/javac/parser/Tokens.java12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/stubs/com/sun/tools/javac/parser/Tokens.java b/src/stubs/com/sun/tools/javac/parser/Tokens.java
index 3d14d27c..6e0aa479 100644
--- a/src/stubs/com/sun/tools/javac/parser/Tokens.java
+++ b/src/stubs/com/sun/tools/javac/parser/Tokens.java
@@ -6,6 +6,16 @@ public class Tokens {
}
public interface Comment {
- enum CommentStyle {}
+ enum CommentStyle {
+ LINE, BLOCK, JAVADOC,
+ }
+
+ String getText();
+
+ int getSourcePos(int index);
+
+ CommentStyle getStyle();
+
+ boolean isDeprecated();
}
}