Top Description Fields Constructors Methods
org.apache.groovy.parser.antlr4

public abstract Class AbstractLexer

extends Lexer
implements SyntaxErrorReportable
Class Inheritance
All Implemented Interfaces
org.apache.groovy.parser.antlr4.SyntaxErrorReportable
Known Direct Subclasses
org.apache.groovy.parser.antlr4.GroovyLexer
Imports
org.antlr.v4.runtime.CharStream, .Lexer

Because antlr4 does not support generating lexer with specified interface, we have to create a super class for it and implement the interface.

Field Summary

Inherited from org.antlr.v4.runtime.Lexer:
_channel_factory_hitEOF_input_mode_modeStack_text_token_tokenFactorySourcePair_tokenStartCharIndex_tokenStartCharPositionInLine_tokenStartLine_typeDEFAULT_MODEDEFAULT_TOKEN_CHANNELHIDDENMAX_CHAR_VALUEMIN_CHAR_VALUEMORESKIP

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from org.antlr.v4.runtime.Lexer:
emitemitemitEOFgetAllTokensgetChannelgetChannelNamesgetCharErrorDisplaygetCharIndexgetCharPositionInLinegetErrorDisplaygetErrorDisplaygetInputStreamgetLinegetModeNamesgetSourceNamegetTextgetTokengetTokenFactorygetTokenNamesgetTypemodemorenextTokennotifyListenerspopModepushModerecoverrecoverresetsetChannelsetCharPositionInLinesetInputStreamsetLinesetTextsetTokensetTokenFactorysetTypeskipvalidateInputStream

Constructor Detail

AbstractLexerback to summary
public AbstractLexer(CharStream input)