Uses of Interface
org.antlr.v4.runtime.tree.RuleNode
Packages that use RuleNode
-
Uses of RuleNode in org.antlr.v4.runtime
Classes in org.antlr.v4.runtime that implement RuleNodeModifier and TypeClassDescriptionclassThis class extendsParserRuleContextby allowing the value ofInterpreterRuleContext.getRuleIndex()to be explicitly set for the context.classA rule invocation record for parsing.classA rule context is a record of a single rule invocation.classA 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. -
Uses of RuleNode in org.antlr.v4.runtime.tree
Methods in org.antlr.v4.runtime.tree with parameters of type RuleNodeModifier and TypeMethodDescriptionprotected voidParseTreeWalker.enterRule(ParseTreeListener listener, RuleNode r) Enters a grammar rule by first triggering the generic eventParseTreeListener.enterEveryRule(org.antlr.v4.runtime.ParserRuleContext)then by triggering the event specific to the given parse tree nodeprotected voidParseTreeWalker.exitRule(ParseTreeListener listener, RuleNode r) Exits a grammar rule by first triggering the event specific to the given parse tree node then by triggering the generic eventParseTreeListener.exitEveryRule(org.antlr.v4.runtime.ParserRuleContext)protected booleanAbstractParseTreeVisitor.shouldVisitNextChild(RuleNode node, T currentResult) This method is called after visiting each child inAbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode).AbstractParseTreeVisitor.visitChildren(RuleNode node) Visit the children of a node, and return a user-defined result of the operation.ParseTreeVisitor.visitChildren(RuleNode node) Visit the children of a node, and return a user-defined result of the operation. -
Uses of RuleNode in org.antlr.v4.tool
Classes in org.antlr.v4.tool that implement RuleNodeModifier and TypeClassDescriptionclassAnInterpreterRuleContextthat knows which alternative for a rule was matched.