jfun.parsec
public interface ParseError extends Serializable
Method Summary | |
---|---|
String | getEncountered()
Get the "... encountered" error. |
String[] | getExpecting()
Get the "expecting ..." errors. |
int | getIndex()
Gets the index number in the original source. |
String[] | getMessages()
Get the user error messages. |
String[] | getUnexpected()
Get the "unexpected ..." error. |
Returns: the actually encountered token when error happens.
Returns: all the expectings.
Returns: the index number.
Returns: all the user-provided message.
Returns: all the unexpected.