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
 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


Copyright © 2011 SonarSource. All Rights Reserved.