|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
java.lang.String |
createErrorMessage(PScanner input)
Creates a human readable error message using the specified input to get reasonable error positions (like line number and column number). |
long |
getErrorPosition()
Gets the actual error position. |
void |
notify(long position,
PParser parser)
Notifies the error handler that an error occured for the specified parser at the specified parsing position. |
Method Detail |
public void notify(long position, PParser parser)
position
- Parsing position.parser
- Parser which recognized a missmatch.public long getErrorPosition()
public java.lang.String createErrorMessage(PScanner input)
input
- Input source of parsing.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |