Package | Description |
---|---|
com.sun.tools.javac.parser | |
com.sun.tools.javac.tree |
Modifier and Type | Class and Description |
---|---|
protected static class |
JavadocTokenizer.JavadocComment |
protected static class |
JavaTokenizer.BasicComment<U extends UnicodeReader>
Scan a documentation comment; determine if a deprecated tag is present.
|
Modifier and Type | Field and Description |
---|---|
List<Tokens.Comment> |
Tokens.Token.comments
Comment reader associated with this token
|
Modifier and Type | Method and Description |
---|---|
Tokens.Comment |
Tokens.Token.comment(Tokens.Comment.CommentStyle style)
Preserve classic semantics - if multiple javadocs are found on the token
the last one is returned
|
Tokens.Comment |
LazyDocCommentTable.getComment(JCTree tree) |
protected Tokens.Comment |
JavadocTokenizer.processComment(int pos,
int endPos,
Tokens.Comment.CommentStyle style) |
protected Tokens.Comment |
JavaTokenizer.processComment(int pos,
int endPos,
Tokens.Comment.CommentStyle style)
Called when a complete comment has been scanned.
|
Modifier and Type | Method and Description |
---|---|
protected JCTree.JCClassDecl |
JavacParser.classDeclaration(JCTree.JCModifiers mods,
Tokens.Comment dc)
ClassDeclaration = CLASS Ident TypeParametersOpt [EXTENDS Type]
[IMPLEMENTS TypeList] ClassBody
|
protected JCTree.JCClassDecl |
JavacParser.enumDeclaration(JCTree.JCModifiers mods,
Tokens.Comment dc)
EnumDeclaration = ENUM Ident [IMPLEMENTS TypeList] EnumBody
|
protected JCTree.JCClassDecl |
JavacParser.interfaceDeclaration(JCTree.JCModifiers mods,
Tokens.Comment dc)
InterfaceDeclaration = INTERFACE Ident TypeParametersOpt
[EXTENDS TypeList] InterfaceBody
|
protected JCTree |
JavacParser.methodDeclaratorRest(int pos,
JCTree.JCModifiers mods,
JCTree.JCExpression type,
Name name,
List<JCTree.JCTypeParameter> typarams,
boolean isInterface,
boolean isVoid,
Tokens.Comment dc)
MethodDeclaratorRest =
FormalParameters BracketsOpt [Throws TypeList] ( MethodBody | [DEFAULT AnnotationValue] ";")
VoidMethodDeclaratorRest =
FormalParameters [Throws TypeList] ( MethodBody | ";")
InterfaceMethodDeclaratorRest =
FormalParameters BracketsOpt [THROWS TypeList] ";"
VoidInterfaceMethodDeclaratorRest =
FormalParameters [THROWS TypeList] ";"
ConstructorDeclaratorRest =
"(" FormalParameterListOpt ")" [THROWS TypeList] MethodBody
|
void |
LazyDocCommentTable.putComment(JCTree tree,
Tokens.Comment c) |
Modifier and Type | Field and Description |
---|---|
Tokens.Comment |
DCTree.DCDocComment.comment |
Modifier and Type | Method and Description |
---|---|
Tokens.Comment |
DocCommentTable.getComment(JCTree tree)
Get the Comment token containing the doc comment, if any, for a tree node.
|
Modifier and Type | Method and Description |
---|---|
DCTree.DCDocComment |
DocTreeMaker.DocComment(Tokens.Comment comment,
List<DCTree> firstSentence,
List<DCTree> body,
List<DCTree> tags) |
void |
DocCommentTable.putComment(JCTree tree,
Tokens.Comment c)
Set the Comment to be associated with a tree node.
|
Constructor and Description |
---|
DCDocComment(Tokens.Comment comment,
List<DCTree> firstSentence,
List<DCTree> body,
List<DCTree> tags) |
Copyright © 2017 earcam. All rights reserved.