|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.waxeye.parser.ParseError
public final class ParseError
An error that occurred during parsing.
Constructor Summary | |
---|---|
ParseError(int position,
int line,
int column,
java.lang.String nt)
Creates a new ParseError. |
Method Summary | |
---|---|
int |
getColumn()
Returns the column. |
int |
getLine()
Returns the line. |
java.lang.String |
getNT()
Returns the nt. |
int |
getPosition()
Returns the position. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ParseError(int position, int line, int column, java.lang.String nt)
position
- The position of the error.line
- The line of the error.column
- The column of the error.nt
- The non-terminal being matched when the error occured.Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public int getPosition()
public int getLine()
public int getColumn()
public java.lang.String getNT()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |