Package org.antlr.v4.runtime.atn
Class LexerATNConfig
- java.lang.Object
-
- org.antlr.v4.runtime.atn.ATNConfig
-
- org.antlr.v4.runtime.atn.LexerATNConfig
-
public class LexerATNConfig extends ATNConfig
-
-
Field Summary
Fields Modifier and Type Field Description private LexerActionExecutor
lexerActionExecutor
This is the backing field forgetLexerActionExecutor()
.private boolean
passedThroughNonGreedyDecision
-
Fields inherited from class org.antlr.v4.runtime.atn.ATNConfig
alt, context, reachesIntoOuterContext, semanticContext, state
-
-
Constructor Summary
Constructors Constructor Description LexerATNConfig(ATNState state, int alt, PredictionContext context)
LexerATNConfig(ATNState state, int alt, PredictionContext context, LexerActionExecutor lexerActionExecutor)
LexerATNConfig(LexerATNConfig c, ATNState state)
LexerATNConfig(LexerATNConfig c, ATNState state, LexerActionExecutor lexerActionExecutor)
LexerATNConfig(LexerATNConfig c, ATNState state, PredictionContext context)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static boolean
checkNonGreedyDecision(LexerATNConfig source, ATNState target)
boolean
equals(ATNConfig other)
LexerActionExecutor
getLexerActionExecutor()
Gets theLexerActionExecutor
capable of executing the embedded action(s) for the current configuration.int
hashCode()
boolean
hasPassedThroughNonGreedyDecision()
-
Methods inherited from class org.antlr.v4.runtime.atn.ATNConfig
equals, getOuterContextDepth, isPrecedenceFilterSuppressed, setPrecedenceFilterSuppressed, toString, toString
-
-
-
-
Field Detail
-
lexerActionExecutor
private final LexerActionExecutor lexerActionExecutor
This is the backing field forgetLexerActionExecutor()
.
-
passedThroughNonGreedyDecision
private final boolean passedThroughNonGreedyDecision
-
-
Constructor Detail
-
LexerATNConfig
public LexerATNConfig(ATNState state, int alt, PredictionContext context)
-
LexerATNConfig
public LexerATNConfig(ATNState state, int alt, PredictionContext context, LexerActionExecutor lexerActionExecutor)
-
LexerATNConfig
public LexerATNConfig(LexerATNConfig c, ATNState state)
-
LexerATNConfig
public LexerATNConfig(LexerATNConfig c, ATNState state, LexerActionExecutor lexerActionExecutor)
-
LexerATNConfig
public LexerATNConfig(LexerATNConfig c, ATNState state, PredictionContext context)
-
-
Method Detail
-
getLexerActionExecutor
public final LexerActionExecutor getLexerActionExecutor()
Gets theLexerActionExecutor
capable of executing the embedded action(s) for the current configuration.
-
hasPassedThroughNonGreedyDecision
public final boolean hasPassedThroughNonGreedyDecision()
-
checkNonGreedyDecision
private static boolean checkNonGreedyDecision(LexerATNConfig source, ATNState target)
-
-