| Modifier and Type | Field | Description |
|---|---|---|
protected ParserOptions |
parserOptions |
| Constructor | Description |
|---|---|
AbstractParser(ParserOptions parserOptions) |
| Modifier and Type | Method | Description |
|---|---|---|
protected abstract TokenManager |
createTokenManager(java.io.Reader source) |
|
ParserOptions |
getParserOptions() |
Get the ParserOptions used by this Parser.
|
TokenManager |
getTokenManager(java.lang.String fileName,
java.io.Reader source) |
Get a TokenManager for the given source.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanParse, getSuppressMap, parseprotected final ParserOptions parserOptions
public AbstractParser(ParserOptions parserOptions)
public ParserOptions getParserOptions()
ParsergetParserOptions in interface Parserpublic TokenManager getTokenManager(java.lang.String fileName, java.io.Reader source)
ParsergetTokenManager in interface ParserfileName - The file name being parsed (may be null).source - Reader that provides the source code to tokenize.protected abstract TokenManager createTokenManager(java.io.Reader source)
Copyright © 2002–2018 PMD. All rights reserved.