@Deprecated ParserOptions getParserOptions()
Get the ParserOptions used by this Parser.
@Deprecated TokenManager getTokenManager(String fileName, Reader source)
Get a TokenManager for the given source.
fileName
- The file name being parsed (may be null
).
source
- Reader that provides the source code to tokenize.
@Deprecated boolean canParse()
Indicates if this parser can actual parse, or if it can only tokenize.
Node parse(String fileName, Reader source) throws ParseException
Parse source code and return the root node of the AST.
fileName
- The file name being parsed (may be null
).
source
- Reader that provides the source code of a compilation unit
ParseException
- In case the source code could not be parsed, probably due to syntactical errors.
@Deprecated Map<Integer,String> getSuppressMap()
This map is later used to determine, if a violation is being suppressed. It is suppressed, if the line of the violation is contained in this suppress map.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4