C# Class Antlr4.Runtime.Tree.ParseTreeWalker

Afficher le fichier Open project: antlr/antlr4 Class Usage Examples

Méthodes publiques

Свойство Type Description
Default ParseTreeWalker

Méthodes publiques

Méthode Description
Walk ( IParseTreeListener listener, IParseTree t ) : void

Méthodes protégées

Méthode Description
EnterRule ( IParseTreeListener listener, IRuleNode r ) : void

The discovery of a rule node, involves sending two events: the generic IParseTreeListener.EnterEveryRule(Antlr4.Runtime.ParserRuleContext) and a Antlr4.Runtime.RuleContext -specific event. First we trigger the generic and then the rule specific. We to them in reverse order upon finishing the node.

ExitRule ( IParseTreeListener listener, IRuleNode r ) : void

Method Details

EnterRule() protected méthode

The discovery of a rule node, involves sending two events: the generic IParseTreeListener.EnterEveryRule(Antlr4.Runtime.ParserRuleContext) and a Antlr4.Runtime.RuleContext -specific event. First we trigger the generic and then the rule specific. We to them in reverse order upon finishing the node.
protected EnterRule ( IParseTreeListener listener, IRuleNode r ) : void
listener IParseTreeListener
r IRuleNode
Résultat void

ExitRule() protected méthode

protected ExitRule ( IParseTreeListener listener, IRuleNode r ) : void
listener IParseTreeListener
r IRuleNode
Résultat void

Walk() public méthode

public Walk ( IParseTreeListener listener, IParseTree t ) : void
listener IParseTreeListener
t IParseTree
Résultat void

Property Details

Default public_oe static_oe property

public static ParseTreeWalker,Antlr4.Runtime.Tree Default
Résultat ParseTreeWalker