groovy 3.0.20
org.apache.groovy.parser.antlr4
AbstractLexer
Top
Description
Fields
Constructors
Methods
org.apache.groovy.parser.antlr4
public
abstract
Class AbstractLexer
extends
Lexer
implements
SyntaxErrorReportable
Class Inheritance
java.lang.Object
org.antlr.v4.runtime.Recognizer
org.antlr.v4.runtime.Lexer
org.apache.groovy.parser.antlr4.AbstractLexer
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
_type
DEFAULT_MODE
DEFAULT_TOKEN_CHANNEL
HIDDEN
MAX_CHAR_VALUE
MIN_CHAR_VALUE
MORE
SKIP
Constructor Summary
Access
Constructor and Description
public
AbstractLexer
(
CharStream
input
)
Method Summary
Inherited from
org.antlr.v4.runtime.Lexer
:
emit
emit
emitEOF
getAllTokens
getChannel
getChannelNames
getCharErrorDisplay
getCharIndex
getCharPositionInLine
getErrorDisplay
getErrorDisplay
getInputStream
getLine
getModeNames
getSourceName
getText
getToken
getTokenFactory
getTokenNames
getType
mode
more
nextToken
notifyListeners
popMode
pushMode
recover
recover
reset
setChannel
setCharPositionInLine
setInputStream
setLine
setText
setToken
setTokenFactory
setType
skip
validateInputStream
Constructor Detail
AbstractLexer
back to summary
public
AbstractLexer
(
CharStream
input
)