Class GAstVisitorAbstract
Methods
visit
- visit(node): any
-
Returns any
Abstract
visitAlternation
- visitAlternation(node): any
-
Returns any
Abstract
visitAlternative
- visitAlternative(node): any
-
Returns any
Abstract
visitNonTerminal
- visitNonTerminal(node): any
-
Returns any
Abstract
visitOption
- visitOption(node): any
-
Returns any
Abstract
visitRepetition
- visitRepetition(node): any
-
Returns any
Abstract
visitRepetitionMandatory
- visitRepetitionMandatory(node): any
-
Returns any
Abstract
visitRepetitionMandatoryWithSeparator
- visitRepetitionMandatoryWithSeparator(node): any
-
Returns any
Abstract
visitRepetitionWithSeparator
- visitRepetitionWithSeparator(node): any
-
Returns any
Abstract
visitRule
- visitRule(node): any
-
Returns any
Abstract
visitTerminal
- visitTerminal(node): any
-
Returns any
A very basic implementation of a Visitor Pattern For the Grammar AST structure.
This may be useful for advanced users who create custom logic on the grammar AST. For example, custom validations or introspection.