Uses of Class
org.codehaus.groovy.syntax.Token

Packages that use Token
groovy.sql Groovy helper classes for working with SQL data as Groovy objects  
org.codehaus.groovy.antlr   
org.codehaus.groovy.ast.expr AST nodes for Groovy expressions 
org.codehaus.groovy.syntax Lexer, parser and trees. 
 

Uses of Token in groovy.sql
 

Methods in groovy.sql with parameters of type Token
protected  String SqlWhereVisitor.tokenAsSql(Token token)
           
 

Uses of Token in org.codehaus.groovy.antlr
 

Methods in org.codehaus.groovy.antlr that return Token
protected static Token AntlrParserPlugin.makeToken(int typeCode, antlr.collections.AST node)
           
 

Uses of Token in org.codehaus.groovy.ast.expr
 

Methods in org.codehaus.groovy.ast.expr that return Token
 Token PrefixExpression.getOperation()
           
 Token BinaryExpression.getOperation()
           
 Token PostfixExpression.getOperation()
           
 

Constructors in org.codehaus.groovy.ast.expr with parameters of type Token
PrefixExpression(Token operation, Expression expression)
           
BinaryExpression(Expression leftExpression, Token operation, Expression rightExpression)
           
DeclarationExpression(VariableExpression left, Token operation, Expression right)
           
PostfixExpression(Expression expression, Token operation)
           
 

Uses of Token in org.codehaus.groovy.syntax
 

Fields in org.codehaus.groovy.syntax declared as Token
static Token Token.NULL
           
static Token Token.EOF
           
 

Methods in org.codehaus.groovy.syntax that return Token
 Token Reduction.getRoot()
          Returns the root of the node, the Token that indicates it's type.
 Token Token.dup()
          Returns a copy of this Token.
 Token Token.getRoot()
          Returns the root of the node.
static Token Token.newKeyword(String text, int startLine, int startColumn)
          Creates a token that represents a keyword.
static Token Token.newString(String text, int startLine, int startColumn)
          Creates a token that represents a double-quoted string.
static Token Token.newIdentifier(String text, int startLine, int startColumn)
          Creates a token that represents an identifier.
static Token Token.newInteger(String text, int startLine, int startColumn)
          Creates a token that represents an integer.
static Token Token.newDecimal(String text, int startLine, int startColumn)
          Creates a token that represents a decimal number.
static Token Token.newSymbol(int type, int startLine, int startColumn)
          Creates a token that represents a symbol, using a library for the text.
static Token Token.newSymbol(String type, int startLine, int startColumn)
          Creates a token that represents a symbol, using a library for the type.
static Token Token.newPlaceholder(int type)
          Creates a token with the specified meaning.
 Token TokenMismatchException.getUnexpectedToken()
           
abstract  Token CSTNode.getRoot()
          Returns the root of the node.
 Token CSTNode.getRoot(boolean safe)
          Returns the root of the node, the Token that indicates it's type.
 

Constructors in org.codehaus.groovy.syntax with parameters of type Token
Reduction(Token root)
          Initializes the Reduction with the specified root.
TokenMismatchException(Token token, int expectedType)
           
TokenException(String message, Token token)
           
ParserException(String message, Token token)
           
 



Copyright © 2003-2007 The Codehaus. All Rights Reserved.