Package com.sonar.sslr.api
Interface AstAndTokenVisitor
-
- All Superinterfaces:
AstVisitor
public interface AstAndTokenVisitor extends AstVisitor
The AstVisitor allows to visit some desired AstNode. The AstAndTokenVisitor extends this first interface to add a new feature : being visited for each Token generated by the Lexer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
visitToken(Token token)
Called sequentially for each token generated by the Lexer-
Methods inherited from interface com.sonar.sslr.api.AstVisitor
getAstNodeTypesToVisit, leaveFile, leaveNode, visitFile, visitNode
-
-
-
-
Method Detail
-
visitToken
void visitToken(Token token)
Called sequentially for each token generated by the Lexer- Parameters:
token
- Token to visit
-
-