Package org.apache.groovy.parser.antlr4
Interface SyntaxErrorReportable
- All Known Implementing Classes:
- AbstractLexer,- AbstractParser,- GroovyLangLexer,- GroovyLangParser,- GroovyLexer,- GroovyParser
public interface SyntaxErrorReportable
A SyntaxErrorReportable is a recognizer that can report syntax error
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptiondefault PositionInfogenPositionInfo(int offset) default PositionInfogenPositionInfo(Tuple2<Integer, Integer> offset) intintintdefault voiddefault voiddefault voiddefault voiddefault voiddefault 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) 
- 
Field Details- 
NO_OFFSET
 
- 
- 
Method Details- 
require
- 
require
- 
require
- 
require
- 
require
- 
require
- 
throwSyntaxError
- 
throwSyntaxError
- 
getSyntaxErrorSourceint getSyntaxErrorSource()
- 
genPositionInfo
- 
genPositionInfo
- 
getErrorLineint getErrorLine()
- 
getErrorColumnint getErrorColumn()
 
-