public abstract class AbstractJavaParser extends AbstractParser
AbstractParser,
JavaParserparserOptions| Constructor and Description |
|---|
AbstractJavaParser(ParserOptions parserOptions) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canParse() |
protected JavaParser |
createJavaParser(Reader source)
Subclass should override this method to modify the JavaParser as needed.
|
TokenManager |
createTokenManager(Reader source) |
Map<Integer,String> |
getSuppressMap() |
Node |
parse(String fileName,
Reader source) |
getParserOptions, getTokenManagerpublic AbstractJavaParser(ParserOptions parserOptions)
public TokenManager createTokenManager(Reader source)
createTokenManager in class AbstractParserprotected JavaParser createJavaParser(Reader source) throws ParseException
ParseExceptionpublic boolean canParse()
public Node parse(String fileName, Reader source) throws ParseException
ParseExceptionCopyright © 2002–2016 InfoEther. All rights reserved.