Package | Description |
---|---|
org.stekikun.dolmen.codegen |
Modifier and Type | Method and Description |
---|---|
protected BaseParser.ParsingException |
BaseParser.parsingError(String msg)
Convenience helper which returns a
BaseParser.ParsingException
located at the last token consumed by the parser. |
protected BaseParser.ParsingException |
BaseParser.tokenError(Object token,
Object... expectedKinds)
Convenience function to build a
BaseParser.ParsingException when
encountering some token which does not correspond to the
set of expected token kinds |