public abstract class AbstractParser extends Object implements Parser
Parser| Modifier and Type | Field and Description |
|---|---|
protected ParserOptions |
parserOptions |
| Constructor and Description |
|---|
AbstractParser(ParserOptions parserOptions) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract TokenManager |
createTokenManager(Reader source) |
ParserOptions |
getParserOptions()
Get the ParserOptions used by this Parser.
|
TokenManager |
getTokenManager(String fileName,
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(String fileName, 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(Reader source)
Copyright © 2002-2014 InfoEther. All Rights Reserved.