Package | Description |
---|---|
com.github.javaparser |
Modifier and Type | Method and Description |
---|---|
static ParserConfiguration |
JavaParser.getStaticConfiguration()
Get the configuration for the static parse...
|
ParserConfiguration |
ParserConfiguration.setAttributeComments(boolean attributeComments)
Whether to run CommentsInserter, which will put the comments that were found in the source code into the comment
and javadoc fields of the nodes it thinks they refer to.
|
ParserConfiguration |
ParserConfiguration.setDoNotAssignCommentsPrecedingEmptyLines(boolean doNotAssignCommentsPrecedingEmptyLines) |
ParserConfiguration |
ParserConfiguration.setDoNotConsiderAnnotationsAsNodeStartForCodeAttribution(boolean doNotConsiderAnnotationsAsNodeStartForCodeAttribution) |
ParserConfiguration |
ParserConfiguration.setStoreTokens(boolean storeTokens) |
ParserConfiguration |
ParserConfiguration.setTabSize(int tabSize)
When a TAB character is encountered during parsing, the column position will be increased by this value.
|
ParserConfiguration |
ParserConfiguration.setValidator(Validator validator)
The validator to run directly after parsing.
|
Modifier and Type | Method and Description |
---|---|
static void |
JavaParser.setStaticConfiguration(ParserConfiguration staticConfiguration)
Set the configuration for the static parse...
|
Constructor and Description |
---|
JavaParser(ParserConfiguration configuration)
Instantiate the parser.
|
Copyright © 2007–2017. All rights reserved.