Package org.apache.groovy.parser.antlr4
Interface SyntaxErrorReportable
- 
- All Known Implementing Classes:
- AbstractLexer,- AbstractParser,- GroovyLangLexer,- GroovyLangParser,- GroovyLexer,- GroovyParser
 
 public interface SyntaxErrorReportableA SyntaxErrorReportable is a recognizer that can report syntax error
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PositionInfogenPositionInfo(int offset)default PositionInfogenPositionInfo(Tuple2<Integer,Integer> offset)intgetErrorColumn()intgetErrorLine()intgetSyntaxErrorSource()default voidrequire(boolean condition, String msg)default voidrequire(boolean condition, String msg, boolean toAttachPositionInfo)default voidrequire(boolean condition, String msg, int offset)default voidrequire(boolean condition, String msg, int offset, boolean toAttachPositionInfo)default voidrequire(boolean condition, String msg, Tuple2<Integer,Integer> offset)default voidrequire(boolean condition, String msg, Tuple2<Integer,Integer> offset, boolean toAttachPositionInfo)default voidthrowSyntaxError(String msg, int offset, boolean toAttachPositionInfo)default voidthrowSyntaxError(String msg, Tuple2<Integer,Integer> offset, boolean toAttachPositionInfo)
 
- 
- 
- 
Method Detail- 
requiredefault void require(boolean condition, String msg, int offset, boolean toAttachPositionInfo)
 - 
requiredefault void require(boolean condition, String msg, Tuple2<Integer,Integer> offset, boolean toAttachPositionInfo)
 - 
requiredefault void require(boolean condition, String msg, boolean toAttachPositionInfo)
 - 
requiredefault void require(boolean condition, String msg, int offset)
 - 
requiredefault void require(boolean condition, String msg)
 - 
throwSyntaxErrordefault void throwSyntaxError(String msg, int offset, boolean toAttachPositionInfo) 
 - 
throwSyntaxErrordefault void throwSyntaxError(String msg, Tuple2<Integer,Integer> offset, boolean toAttachPositionInfo) 
 - 
getSyntaxErrorSourceint getSyntaxErrorSource() 
 - 
genPositionInfodefault PositionInfo genPositionInfo(int offset) 
 - 
genPositionInfodefault PositionInfo genPositionInfo(Tuple2<Integer,Integer> offset) 
 - 
getErrorLineint getErrorLine() 
 - 
getErrorColumnint getErrorColumn() 
 
- 
 
-