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 |
---|---|
java.util.List<Comment> |
Node.getBeginComments() |
java.util.List<Comment> |
CompilationUnit.getComments()
Return a list containing all comments declared in this compilation unit.
|
java.util.List<Comment> |
Node.getEndComments() |
java.util.List<Comment> |
Node.getInternalComments() |
Modifier and Type | Method and Description |
---|---|
void |
Node.setBeginComments(java.util.List<Comment> beginComments) |
void |
CompilationUnit.setComments(java.util.List<Comment> comments)
Sets the list of comments of this compilation unit.
|
void |
Node.setEndComments(java.util.List<Comment> endComments) |
void |
Node.setInternalComments(java.util.List<Comment> internalComments) |
Constructor and Description |
---|
CompilationUnit(int beginLine,
int beginColumn,
int endLine,
int endColumn,
PackageDeclaration pakage,
java.util.List<ImportDeclaration> imports,
java.util.List<TypeDeclaration> types,
java.util.List<Comment> comments) |
CompilationUnit(PackageDeclaration pakage,
java.util.List<ImportDeclaration> imports,
java.util.List<TypeDeclaration> types,
java.util.List<Comment> comments) |
Modifier and Type | Class and Description |
---|---|
class |
JavadocComment |
Modifier and Type | Method and Description |
---|---|
java.lang.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,
java.lang.Object arg) |
Copyright © 2015. All Rights Reserved.