public interface SyntaxErrorReportable
Modifier and Type | Method and Description |
---|---|
default PositionInfo |
genPositionInfo(int offset) |
int |
getErrorColumn() |
int |
getErrorLine() |
int |
getSyntaxErrorSource() |
default void |
require(boolean condition,
String msg) |
default void |
require(boolean condition,
String msg,
boolean toAttachPositionInfo) |
default void |
require(boolean condition,
String msg,
int offset) |
default void |
require(boolean condition,
String msg,
int offset,
boolean toAttachPositionInfo) |
default void |
throwSyntaxError(String msg,
int offset,
boolean toAttachPositionInfo) |
default void require(boolean condition, String msg, int offset, boolean toAttachPositionInfo)
default void require(boolean condition, String msg, boolean toAttachPositionInfo)
default void require(boolean condition, String msg, int offset)
default void require(boolean condition, String msg)
default void throwSyntaxError(String msg, int offset, boolean toAttachPositionInfo)
int getSyntaxErrorSource()
default PositionInfo genPositionInfo(int offset)
int getErrorLine()
int getErrorColumn()