Uses of Class
com.sonar.sslr.api.Token

Packages that use Token
com.sonar.c.api.ast   
com.sonar.sslr.api   
 

Uses of Token in com.sonar.c.api.ast
 

Methods in com.sonar.c.api.ast with parameters of type Token
protected  void CAstCheck.log(String messageText, Token token, Object... messageParameters)
           
 

Uses of Token in com.sonar.sslr.api
 

Methods in com.sonar.sslr.api that return Token
 Token LexerOutput.get(int i)
           
 Token Comments.getCommentAtLine(int line)
           
 Token LexerOutput.getFirstToken()
           
 Token Token.getFollowingToken()
           
 Token LexerOutput.getLastToken()
           
 Token AstNode.getLastToken()
           
 Token Token.getPreviousToken()
           
 Token AstNode.getToken()
          Get the Token associated to this AstNode
 

Methods in com.sonar.sslr.api that return types with arguments of type Token
 Map<Integer,Token> LexerOutput.getCommentTokens()
           
 List<Token> LexerOutput.getPreprocessingTokens()
           
 List<Token> LexerOutput.getTokens()
           
 List<Token> AstNode.getTokens()
          Return all tokens contained in this tree node.
 Iterator<Token> Comments.iterator()
           
 

Methods in com.sonar.sslr.api with parameters of type Token
 void LexerOutput.addCommentToken(Token token)
           
 void LexerOutput.addPreprocessingToken(Token token)
           
 void LexerOutput.addToken(Token token)
          Add a token to the list without notifying preprocessors.
abstract  boolean Preprocessor.process(Token token, LexerOutput output)
           
 void LexerOutput.pushBackTokenAndProcess(Token token, Preprocessor preprocessorToExclude)
          This method must be called by a preprocessor when a token has been temporary consumed by this preprocessor but finally must be pushed back to the LexerOutput.
 void Token.setFollowingToken(Token followingToken)
           
 void Token.setPreviousToken(Token previousToken)
           
 void AstAndTokenVisitor.visitToken(Token token)
          Called sequentially for each token generated by the Lexer
 

Method parameters in com.sonar.sslr.api with type arguments of type Token
 void LexerOutput.addAllTokens(List<Token> allNewtokens)
          Add a list of tokens to the list without notifying preprocessors.
 void LexerOutput.pushBackTokensAndProcess(List<Token> tokens, Preprocessor preprocessorToExclude)
          This method must be called by a preprocessor when some tokens have been temporary consumed by this preprocessor but finally must be pushed back to the LexerOutput.
 void LexerOutput.setTokens(List<Token> tokens)
           
 

Constructors in com.sonar.sslr.api with parameters of type Token
AstNode(AstNodeType type, String name, Token token)
           
AstNode(Token token)
           
 

Constructor parameters in com.sonar.sslr.api with type arguments of type Token
Comments(Map<Integer,Token> comments)
           
LexerOutput(List<Token> tokens)
           
 



Copyright © 2011 SonarSource. All Rights Reserved.