ParserConfiguration
The configuration that is used by the parser. Note that this can be changed even when reusing the same JavaParser instance. It will pick up the changes.
Types
Link copied to clipboard
enum LanguageLevel
Functions
Link copied to clipboard
Link copied to clipboard
Retrieve the SymbolResolver to be used while parsing, if any.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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.
Link copied to clipboard
Link copied to clipboard
open fun setDoNotAssignCommentsPrecedingEmptyLines(doNotAssignCommentsPrecedingEmptyLines: Boolean): ParserConfiguration
Link copied to clipboard
open fun setIgnoreAnnotationsWhenAttributingComments(ignoreAnnotationsWhenAttributingComments: Boolean): ParserConfiguration
Link copied to clipboard
Link copied to clipboard
Disabled by default.
Link copied to clipboard
When set to true, unicode escape handling is done by preprocessing the whole input, meaning that all unicode escapes are turned into unicode characters before parsing.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Set the SymbolResolver to be injected while parsing.