| Package | Description |
|---|---|
| com.github.javaparser | |
| com.github.javaparser.utils |
| Modifier and Type | Method | Description |
|---|---|---|
ParserConfiguration |
JavaParser.getParserConfiguration() |
Get the non-static configuration for this parser.
|
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 | Description |
|---|---|---|
static void |
JavaParser.setStaticConfiguration(ParserConfiguration staticConfiguration) |
Set the configuration for the static parse...
|
| Constructor | Description |
|---|---|
JavaParser(ParserConfiguration configuration) |
Instantiate the parser.
|
| Constructor | Description |
|---|---|
SourceZip(Path zipPath,
ParserConfiguration configuration) |
Create a new ZIP parser.
|
Copyright © 2007–2019. All rights reserved.