Package | Description |
---|---|
com.github.antlrjavaparser.api | |
com.github.antlrjavaparser.api.body | |
com.github.antlrjavaparser.api.visitor |
Modifier and Type | Class and Description |
---|---|
class |
BlockComment
AST node that represent block comments.
|
class |
LineComment
AST node that represent line comments.
|
Modifier and Type | Method and Description |
---|---|
List<Comment> |
Node.getBeginComments() |
List<Comment> |
CompilationUnit.getComments()
Return a list containing all comments declared in this compilation unit.
|
List<Comment> |
Node.getEndComments() |
List<Comment> |
Node.getInternalComments() |
Modifier and Type | Method and Description |
---|---|
void |
Node.setBeginComments(List<Comment> beginComments) |
void |
CompilationUnit.setComments(List<Comment> comments)
Sets the list of comments of this compilation unit.
|
void |
Node.setEndComments(List<Comment> endComments) |
void |
Node.setInternalComments(List<Comment> internalComments) |
Constructor and Description |
---|
CompilationUnit(int beginLine,
int beginColumn,
int endLine,
int endColumn,
PackageDeclaration pakage,
List<ImportDeclaration> imports,
List<TypeDeclaration> types,
List<Comment> comments) |
CompilationUnit(PackageDeclaration pakage,
List<ImportDeclaration> imports,
List<TypeDeclaration> types,
List<Comment> comments) |
Modifier and Type | Class and Description |
---|---|
class |
JavadocComment |
Modifier and Type | Method and Description |
---|---|
String |
CommentFormatter.format(Comment comment,
int indentLevel,
CommentFormatter.CommentLocation commentLocation)
Format a given comment with the indent level specified.
|
void |
VoidVisitor.visit(Comment n,
A arg) |
void |
DumpVisitor.visit(Comment n,
Object arg) |
Copyright © 2013. All Rights Reserved.