Uses of Class
org.antlr.v4.runtime.atn.SemanticContext
-
Packages that use SemanticContext Package Description org.antlr.v4.runtime.atn org.antlr.v4.runtime.dfa -
-
Uses of SemanticContext in org.antlr.v4.runtime.atn
Subclasses of SemanticContext in org.antlr.v4.runtime.atn Modifier and Type Class Description static classSemanticContext.ANDA semantic context which is true whenever none of the contained contexts is false.static classSemanticContext.Emptystatic classSemanticContext.OperatorThis is the base class for semantic context "operators", which operate on a collection of semantic context "operands".static classSemanticContext.ORA semantic context which is true whenever at least one of the contained contexts is true.static classSemanticContext.PrecedencePredicatestatic classSemanticContext.PredicateFields in org.antlr.v4.runtime.atn declared as SemanticContext Modifier and Type Field Description SemanticContext[]SemanticContext.AND. opndsSemanticContext[]SemanticContext.OR. opndsSemanticContextATNConfig. semanticContextSemanticContextPredicateEvalInfo. semctxThe semantic context which was evaluated.Methods in org.antlr.v4.runtime.atn that return SemanticContext Modifier and Type Method Description static SemanticContextSemanticContext. and(SemanticContext a, SemanticContext b)SemanticContextSemanticContext.AND. evalPrecedence(Recognizer<?,?> parser, RuleContext parserCallStack)SemanticContextSemanticContext. evalPrecedence(Recognizer<?,?> parser, RuleContext parserCallStack)Evaluate the precedence predicates for the context and reduce the result.SemanticContextSemanticContext.OR. evalPrecedence(Recognizer<?,?> parser, RuleContext parserCallStack)SemanticContextSemanticContext.PrecedencePredicate. evalPrecedence(Recognizer<?,?> parser, RuleContext parserCallStack)protected SemanticContext[]ParserATNSimulator. getPredsForAmbigAlts(BitSet ambigAlts, ATNConfigSet configs, int nalts)static SemanticContextSemanticContext. or(SemanticContext a, SemanticContext b)Methods in org.antlr.v4.runtime.atn that return types with arguments of type SemanticContext Modifier and Type Method Description Collection<SemanticContext>SemanticContext.AND. getOperands()abstract Collection<SemanticContext>SemanticContext.Operator. getOperands()Gets the operands for the semantic context operator.Collection<SemanticContext>SemanticContext.OR. getOperands()List<SemanticContext>ATNConfigSet. getPredicates()Methods in org.antlr.v4.runtime.atn with parameters of type SemanticContext Modifier and Type Method Description static SemanticContextSemanticContext. and(SemanticContext a, SemanticContext b)protected booleanParserATNSimulator. evalSemanticContext(SemanticContext pred, ParserRuleContext parserCallStack, int alt, boolean fullCtx)Evaluate a semantic context within a specific parser context.protected booleanProfilingATNSimulator. evalSemanticContext(SemanticContext pred, ParserRuleContext parserCallStack, int alt, boolean fullCtx)protected DFAState.PredPrediction[]ParserATNSimulator. getPredicatePredictions(BitSet ambigAlts, SemanticContext[] altToPred)static SemanticContextSemanticContext. or(SemanticContext a, SemanticContext b)Constructors in org.antlr.v4.runtime.atn with parameters of type SemanticContext Constructor Description AND(SemanticContext a, SemanticContext b)ATNConfig(ATNConfig c, ATNState state, PredictionContext context, SemanticContext semanticContext)ATNConfig(ATNConfig c, ATNState state, SemanticContext semanticContext)ATNConfig(ATNConfig c, SemanticContext semanticContext)ATNConfig(ATNState state, int alt, PredictionContext context, SemanticContext semanticContext)OR(SemanticContext a, SemanticContext b)PredicateEvalInfo(int decision, TokenStream input, int startIndex, int stopIndex, SemanticContext semctx, boolean evalResult, int predictedAlt, boolean fullCtx)Constructs a new instance of thePredicateEvalInfoclass with the specified detailed predicate evaluation information. -
Uses of SemanticContext in org.antlr.v4.runtime.dfa
Fields in org.antlr.v4.runtime.dfa declared as SemanticContext Modifier and Type Field Description SemanticContextDFAState.PredPrediction. predConstructors in org.antlr.v4.runtime.dfa with parameters of type SemanticContext Constructor Description PredPrediction(SemanticContext pred, int alt)
-