Uses of Class
org.antlr.v4.runtime.RuleContext
-
Packages that use RuleContext Package Description org.antlr.v4.runtime org.antlr.v4.runtime.atn org.antlr.v4.runtime.tree -
-
Uses of RuleContext in org.antlr.v4.runtime
Subclasses of RuleContext in org.antlr.v4.runtime Modifier and Type Class Description classInterpreterRuleContextThis class extendsParserRuleContextby allowing the value ofInterpreterRuleContext.getRuleIndex()to be explicitly set for the context.classParserRuleContextA rule invocation record for parsing.classRuleContextWithAltNumA handy class for use with options {contextSuperClass=org.antlr.v4.runtime.RuleContextWithAltNum;} that provides a backing field / impl for the outer alternative number matched for an internal parse tree node.Fields in org.antlr.v4.runtime declared as RuleContext Modifier and Type Field Description RuleContextRuleContext. parentWhat context invoked this rule?Methods in org.antlr.v4.runtime that return RuleContext Modifier and Type Method Description RuleContextParserRuleContext. addChild(RuleContext ruleInvocation)RuleContextRecognitionException. getCtx()Gets theRuleContextat the time this exception was thrown.RuleContextRuleContext. getParent()RuleContextRuleContext. getPayload()RuleContextRuleContext. getRuleContext()Methods in org.antlr.v4.runtime with parameters of type RuleContext Modifier and Type Method Description voidRecognizer. action(RuleContext _localctx, int ruleIndex, int actionIndex)RuleContextParserRuleContext. addChild(RuleContext ruleInvocation)List<String>Parser. getRuleInvocationStack(RuleContext p)StringBufferedTokenStream. getText(RuleContext ctx)StringTokenStream. getText(RuleContext ctx)Return the text of all tokens in the source interval of the specified context.StringUnbufferedTokenStream. getText(RuleContext ctx)booleanParser. precpred(RuleContext localctx, int precedence)booleanRecognizer. precpred(RuleContext localctx, int precedence)booleanRecognizer. sempred(RuleContext _localctx, int ruleIndex, int actionIndex)voidRuleContext. setParent(RuleContext parent)StringRuleContext. toString(List<String> ruleNames, RuleContext stop)StringRuleContext. toString(Recognizer<?,?> recog, RuleContext stop)Constructors in org.antlr.v4.runtime with parameters of type RuleContext Constructor Description RuleContext(RuleContext parent, int invokingState) -
Uses of RuleContext in org.antlr.v4.runtime.atn
Methods in org.antlr.v4.runtime.atn with parameters of type RuleContext Modifier and Type Method Description protected ATNConfigSetParserATNSimulator. computeStartState(ATNState p, RuleContext ctx, boolean fullCtx)booleanSemanticContext.AND. eval(Recognizer<?,?> parser, RuleContext parserCallStack)For context independent predicates, we evaluate them without a local context (i.e., null context).booleanSemanticContext.Empty. eval(Recognizer<?,?> parser, RuleContext parserCallStack)abstract booleanSemanticContext. eval(Recognizer<?,?> parser, RuleContext parserCallStack)For context independent predicates, we evaluate them without a local context (i.e., null context).booleanSemanticContext.OR. eval(Recognizer<?,?> parser, RuleContext parserCallStack)For context independent predicates, we evaluate them without a local context (i.e., null context).booleanSemanticContext.PrecedencePredicate. eval(Recognizer<?,?> parser, RuleContext parserCallStack)booleanSemanticContext.Predicate. eval(Recognizer<?,?> parser, RuleContext parserCallStack)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)static PredictionContextPredictionContext. fromRuleContext(ATN atn, RuleContext outerContext)Convert aRuleContexttree to aPredictionContextgraph.IntervalSetATN. getExpectedTokens(int stateNumber, RuleContext context)Computes the set of input symbols which could follow ATN state numberstateNumberin the specified fullcontext.IntervalSetLL1Analyzer. LOOK(ATNState s, ATNState stopState, RuleContext ctx)Compute set of tokens that can followsin the ATN in the specifiedctx.IntervalSetLL1Analyzer. LOOK(ATNState s, RuleContext ctx)Compute set of tokens that can followsin the ATN in the specifiedctx.IntervalSetATN. nextTokens(ATNState s, RuleContext ctx)Compute the set of valid tokens that can occur starting in states. -
Uses of RuleContext in org.antlr.v4.runtime.tree
Methods in org.antlr.v4.runtime.tree that return RuleContext Modifier and Type Method Description RuleContextRuleNode. getRuleContext()Methods in org.antlr.v4.runtime.tree with parameters of type RuleContext Modifier and Type Method Description voidParseTree. setParent(RuleContext parent)Set the parent for this node.voidTerminalNodeImpl. setParent(RuleContext parent)
-