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) The discovery of a rule node, involves sending two events: the genericParseTreeListener.enterEveryRule(org.antlr.v4.runtime.ParserRuleContext)and aRuleContext-specific event.protected voidParseTreeWalker.exitRule(ParseTreeListener listener, RuleNode r) 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.