|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.waxeye.parser.ParseResult<E>
E
- The AST type.public final class ParseResult<E extends java.lang.Enum<?>>
The result of a parse.
Constructor Summary | |
---|---|
ParseResult(IAST<E> ast,
ParseError error)
Creates a new ParseResult. |
Method Summary | |
---|---|
IAST<E> |
getAST()
Returns the ast. |
ParseError |
getError()
Returns the error. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ParseResult(IAST<E> ast, ParseError error)
ast
- The AST of a successful parse.error
- The error of an unsuccessful parse.Method Detail |
---|
public IAST<E> getAST()
public ParseError getError()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |