public interface SyntaxErrorReportable
A SyntaxErrorReportable is a recognizer that can report syntax error
Type Params | Return Type | Name and description |
---|---|---|
|
PositionInfo |
genPositionInfo(int offset) |
|
int |
getErrorColumn() |
|
int |
getErrorLine() |
|
int |
getSyntaxErrorSource() |
|
void |
require(boolean condition, String msg, int offset, boolean toAttachPositionInfo) |
|
void |
require(boolean condition, String msg, boolean toAttachPositionInfo) |
|
void |
require(boolean condition, String msg, int offset) |
|
void |
require(boolean condition, String msg) |
|
void |
throwSyntaxError(String msg, int offset, boolean toAttachPositionInfo) |