Package com.sonar.sslr.api
Interface AstNodeType
-
- All Known Subinterfaces:
AstNodeSkippingPolicy,CompilableGrammarRule,GrammarRuleKey,Rule,TokenType
- All Known Implementing Classes:
AcuCobolKeyword,AcuCobolTokenType,AlwaysSkipFromAst,CICSKeyword,CobolKeyword,CobolSpecialCharacter,CobolTokenType,DliKeyword,EnterpriseKeyword,GcosKeyword,GenericTokenType,HpKeyword,IleCobolKeyword,MicrofocusKeyword,MutableParsingRule,NeverSkipFromAst,RuleDefinition,SkipFromAstIfOnlyOneChild,SQLKeyword
public interface AstNodeTypeEach AST Node has a type which can be for instance the Rule of a Grammar, a language keyword or a language special token like a WORD. When implementing the AstVisitor interface, its necessary to subscribe to a set of AstNodeType to be notified each time an AstNode with the desired type is visited.- See Also:
AstVisitor,Grammar,AstNode