Uses of Class
cppast.Token

Packages that use Token
cppast   
cpptools.preprocessor   
 

Uses of Token in cppast
 

Fields in cppast declared as Token
 Token ParseException.currentToken
          This is the last token that has been consumed successfully.
 Token Parser.jj_nt
           
 Token Token.next
          A reference to the next regular (non-special) token from the input stream.
 Token Token.specialToken
          This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
 Token Parser.token
           
 

Methods in cppast that return Token
 Token SimpleNode.getFirstToken()
          Retrieve the node first token.
 Token SimpleNode.getLastToken()
          Retrive the node last token.
 Token Parser.getNextToken()
           
 Token ParserTokenManager.getNextToken()
           
 Token Parser.getToken(int index)
           
protected  Token ParserTokenManager.jjFillToken()
           
static Token Token.newToken(int ofKind)
          Returns a new Token object, by default.
 

Methods in cppast with parameters of type Token
 void SimpleNode.closeScope(Token token)
          Close the node scope.
 void SimpleNode.openScope(Token token, Scope scope)
          Open the node scope.
 

Constructors in cppast with parameters of type Token
ParseException(Token currentTokenVal, int[][] expectedTokenSequencesVal, java.lang.String[] tokenImageVal)
          This constructor is used by the method "generateParseException" in the generated parser.
 

Uses of Token in cpptools.preprocessor
 

Methods in cpptools.preprocessor that return Token
 Token PreProcessor.getNextToken()
          
 Token PreProcessor.next()
          Retrieve the next available token.
 Token TokenProvider.next()
          Retrieve the next available token.
 

Methods in cpptools.preprocessor with parameters of type Token
protected  void AbstractTokenFilter.insert(Token location)
          Insert filtered tokens into the token flow.
 boolean Define.process(Token token)
          Trigger filtering based on a given token.
 boolean Macro.process(Token token)
          Trigger filtering based on a given token.
 boolean TokenFilter.process(Token token)
          Trigger filtering based on a given token.
protected  void AbstractTokenFilter.undo(Token token, Token next)
          Put both tokens back into the flow.
 

Constructor parameters in cpptools.preprocessor with type arguments of type Token
AbstractTokenFilter(java.util.Stack<Token> buffer, java.lang.String name, java.lang.String value)
          Create an abstract token filter.
Define(java.util.Stack<Token> buffer, java.lang.String name, java.lang.String value)
          Create a define definition.
Macro(TokenProvider provider, java.util.Stack<Token> buffer, java.lang.String name, java.lang.String value)
          Create a macro.
 



Copyright © 2006-2007 null. All Rights Reserved.