|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jeffpalm.javaparser.ParserFactory
public abstract class ParserFactory
Generates new parsers for a java file
Constructor Summary | |
---|---|
ParserFactory()
|
Method Summary | |
---|---|
SimpleNode |
getAbstractSyntaxTree(boolean interactive,
ExceptionPrinter printer)
Return the AST |
protected abstract java.lang.String |
getKey()
A method to return some key identifying the file that is being parsed |
protected JavaParser |
getParser()
Create the parser |
protected abstract java.io.Reader |
getReader()
Return the input stream |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParserFactory()
Method Detail |
---|
public SimpleNode getAbstractSyntaxTree(boolean interactive, ExceptionPrinter printer)
interactive
- do we want to receive a response in the form of
a dialog box when a parse exception is encountered
protected abstract java.io.Reader getReader()
protected JavaParser getParser()
protected abstract java.lang.String getKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |