| Package | Description |
|---|---|
| org.antlr.v4.runtime.atn | |
| org.antlr.v4.runtime.dfa |
| Modifier and Type | Method and Description |
|---|---|
static LexerActionExecutor |
LexerActionExecutor.append(LexerActionExecutor lexerActionExecutor,
LexerAction lexerAction)
Creates a
LexerActionExecutor which executes the actions for
the input lexerActionExecutor followed by a specified
lexerAction. |
LexerActionExecutor |
LexerActionExecutor.fixOffsetBeforeMatch(int offset)
Creates a
LexerActionExecutor which encodes the current offset
for position-dependent lexer actions. |
LexerActionExecutor |
ATNConfig.getLexerActionExecutor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
LexerATNSimulator.accept(CharStream input,
LexerActionExecutor lexerActionExecutor,
int startIndex,
int index,
int line,
int charPos) |
static LexerActionExecutor |
LexerActionExecutor.append(LexerActionExecutor lexerActionExecutor,
LexerAction lexerAction)
Creates a
LexerActionExecutor which executes the actions for
the input lexerActionExecutor followed by a specified
lexerAction. |
static ATNConfig |
ATNConfig.create(ATNState state,
int alt,
PredictionContext context,
SemanticContext semanticContext,
LexerActionExecutor lexerActionExecutor) |
ATNConfig |
ATNConfig.transform(ATNState state,
LexerActionExecutor lexerActionExecutor,
boolean checkNonGreedy) |
| Modifier and Type | Method and Description |
|---|---|
LexerActionExecutor |
DFAState.getLexerActionExecutor() |
LexerActionExecutor |
AcceptStateInfo.getLexerActionExecutor()
Gets the
LexerActionExecutor which can be used to execute actions
and/or commands after the lexer matches a token. |
| Constructor and Description |
|---|
AcceptStateInfo(int prediction,
LexerActionExecutor lexerActionExecutor) |
Copyright © 1992–2024 Daniel Sun. All rights reserved.