com.sonar.sslr.api
Interface AstNodeType

All Known Subinterfaces:
AstNodeSkippingPolicy, Rule, TokenType
All Known Implementing Classes:
AcuCobolKeyword, AcuCobolTokenType, CICSKeyword, CobolKeyword, CobolSpecialCharacter, CobolTokenType, DliKeyword, GcosKeyword, GenericTokenType, MicrofocusKeyword, SQLKeyword

public interface AstNodeType

Each 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



Copyright © 2011 SonarSource. All Rights Reserved.