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

Packages that use Token
groovy.gdo GroovyDataObjects (GDO) API for working with arbitrary structured data as groovy objects, perfoming searches & sorting using Groocy syntax & closures etc. 
org.codehaus.groovy.ast.expr AST nodes for Groovy expressions 
org.codehaus.groovy.syntax Lexer, parser and trees. 
org.codehaus.groovy.syntax.lexer Lexer. 
org.codehaus.groovy.syntax.parser The main parser of Groovy code into the Groovy AST model (Abstract Syntax Tree)  
 

Uses of Token in groovy.gdo
 

Methods in groovy.gdo with parameters of type Token
protected  String SqlWhereVisitor.tokenAsSql(org.codehaus.groovy.syntax.Token token)
           
 

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

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

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

Uses of Token in org.codehaus.groovy.syntax
 

Methods in org.codehaus.groovy.syntax that return Token
protected abstract  org.codehaus.groovy.syntax.Token AbstractTokenStream.nextToken()
           
 org.codehaus.groovy.syntax.Token AbstractTokenStream.la()
           
 org.codehaus.groovy.syntax.Token AbstractTokenStream.la(int k)
           
 org.codehaus.groovy.syntax.Token AbstractTokenStream.consume(int type)
           
static org.codehaus.groovy.syntax.Token Token.newToken(int type, int startLine, int startColumn)
          Creates the token of the given id
static org.codehaus.groovy.syntax.Token Token.newline(int startLine, int startColumn)
          Factory method for token for "\n".
static org.codehaus.groovy.syntax.Token Token.leftCurlyBrace(int startLine, int startColumn)
          Factory method for token for "{".
static org.codehaus.groovy.syntax.Token Token.rightCurlyBrace(int startLine, int startColumn)
          Factory method for token for "}".
static org.codehaus.groovy.syntax.Token Token.leftSquareBracket(int startLine, int startColumn)
          Factory method for token for "[".
static org.codehaus.groovy.syntax.Token Token.rightSquareBracket(int startLine, int startColumn)
          Factory method for token for "]".
static org.codehaus.groovy.syntax.Token Token.leftParenthesis(int startLine, int startColumn)
          Factory method for token for "(".
static org.codehaus.groovy.syntax.Token Token.rightParenthesis(int startLine, int startColumn)
          Factory method for token for ")".
static org.codehaus.groovy.syntax.Token Token.dot(int startLine, int startColumn)
          Factory method for token for ".".
static org.codehaus.groovy.syntax.Token Token.dotDot(int startLine, int startColumn)
           
static org.codehaus.groovy.syntax.Token Token.not(int startLine, int startColumn)
          Factory method for token for "!".
static org.codehaus.groovy.syntax.Token Token.compareNotEqual(int startLine, int startColumn)
          Factory method for token for "!=".
static org.codehaus.groovy.syntax.Token Token.findRegex(int startLine, int startColumn)
          Factory method for token for "~=".
static org.codehaus.groovy.syntax.Token Token.matchRegex(int startLine, int startColumn)
          Factory method for token for "~==".
static org.codehaus.groovy.syntax.Token Token.equal(int startLine, int startColumn)
          Factory method for token for "=".
static org.codehaus.groovy.syntax.Token Token.compareIdentical(int startLine, int startColumn)
          Factory method for token for "==".
static org.codehaus.groovy.syntax.Token Token.compareEqual(int startLine, int startColumn)
          Factory method for token for ":=".
static org.codehaus.groovy.syntax.Token Token.compareLessThan(int startLine, int startColumn)
          Factory method for token for "<".
static org.codehaus.groovy.syntax.Token Token.compareLessThanEqual(int startLine, int startColumn)
          Factory method for token for "<=".
static org.codehaus.groovy.syntax.Token Token.compareGreaterThan(int startLine, int startColumn)
          Factory method for token for ">".
static org.codehaus.groovy.syntax.Token Token.compareGreaterThanEqual(int startLine, int startColumn)
          Factory method for token for ">=".
static org.codehaus.groovy.syntax.Token Token.compareTo(int startLine, int startColumn)
          Factory method for token for "<=>".
static org.codehaus.groovy.syntax.Token Token.navigate(int startLine, int startColumn)
          Factory method for token for "->".
static org.codehaus.groovy.syntax.Token Token.logicalOr(int startLine, int startColumn)
          Factory method for token for "||".
static org.codehaus.groovy.syntax.Token Token.logicalAnd(int startLine, int startColumn)
          Factory method for token for "&&".
static org.codehaus.groovy.syntax.Token Token.plus(int startLine, int startColumn)
          Factory method for token for "+".
static org.codehaus.groovy.syntax.Token Token.plusPlus(int startLine, int startColumn)
          Factory method for token for "++".
static org.codehaus.groovy.syntax.Token Token.plusEqual(int startLine, int startColumn)
          Factory method for token for "+=".
static org.codehaus.groovy.syntax.Token Token.minus(int startLine, int startColumn)
          Factory method for token for "-".
static org.codehaus.groovy.syntax.Token Token.minusMinus(int startLine, int startColumn)
          Factory method for token for "--".
static org.codehaus.groovy.syntax.Token Token.minusEqual(int startLine, int startColumn)
          Factory method for token for "-=".
static org.codehaus.groovy.syntax.Token Token.divide(int startLine, int startColumn)
          Factory method for token for "/".
static org.codehaus.groovy.syntax.Token Token.divideEqual(int startLine, int startColumn)
          Factory method for token for "/=".
static org.codehaus.groovy.syntax.Token Token.mod(int startLine, int startColumn)
          Factory method for token for "%".
static org.codehaus.groovy.syntax.Token Token.modEqual(int startLine, int startColumn)
          Factory method for token for "%=".
static org.codehaus.groovy.syntax.Token Token.multiply(int startLine, int startColumn)
          Factory method for token for "*".
static org.codehaus.groovy.syntax.Token Token.multiplyEqual(int startLine, int startColumn)
          Factory method for token for "*=".
static org.codehaus.groovy.syntax.Token Token.comma(int startLine, int startColumn)
           
static org.codehaus.groovy.syntax.Token Token.colon(int startLine, int startColumn)
          Factory method for token for ":".
static org.codehaus.groovy.syntax.Token Token.semicolon(int startLine, int startColumn)
          Factory method for token for ";".
static org.codehaus.groovy.syntax.Token Token.question(int startLine, int startColumn)
          Factory method for token for "?".
static org.codehaus.groovy.syntax.Token Token.pipe(int startLine, int startColumn)
          Factory method for token for "|".
static org.codehaus.groovy.syntax.Token Token.doubleQuoteString(int startLine, int startColumn, String text)
          Factory method for token for double-quoted string.
static org.codehaus.groovy.syntax.Token Token.patternRegex(int startLine, int startColumn)
          Factory method for token for double-quoted string.
static org.codehaus.groovy.syntax.Token Token.singleQuoteString(int startLine, int startColumn, String text)
          Factory method for token for single-quoted string.
static org.codehaus.groovy.syntax.Token Token.identifier(int startLine, int startColumn, String text)
          Factory method for token for identifier.
static org.codehaus.groovy.syntax.Token Token.keyword(int startLine, int startColumn, String text)
           
static org.codehaus.groovy.syntax.Token Token.integerNumber(int startLine, int startColumn, String text)
           
static org.codehaus.groovy.syntax.Token Token.floatNumber(int startLine, int startColumn, String text)
           
static org.codehaus.groovy.syntax.Token Token.syntheticMethod()
           
static org.codehaus.groovy.syntax.Token Token.syntheticParameterDeclaration()
           
static org.codehaus.groovy.syntax.Token Token.syntheticMap()
           
static org.codehaus.groovy.syntax.Token Token.syntheticList()
           
static org.codehaus.groovy.syntax.Token Token.syntheticPostfix()
           
static org.codehaus.groovy.syntax.Token Token.syntheticPrefix()
           
protected static org.codehaus.groovy.syntax.Token Token.newToken(int type, String text, int startLine, int startColumn)
          Generic factory method for a token.
 org.codehaus.groovy.syntax.Token TokenMismatchException.getToken()
           
 org.codehaus.groovy.syntax.Token TokenStream.la()
          Look-ahead to the next token.
 org.codehaus.groovy.syntax.Token TokenStream.la(int k)
          Look-ahead to the kth token.
 org.codehaus.groovy.syntax.Token TokenStream.consume(int type)
          Consume the next token.
 

Constructors in org.codehaus.groovy.syntax with parameters of type Token
TokenMismatchException(org.codehaus.groovy.syntax.Token token, int expectedType)
           
 

Uses of Token in org.codehaus.groovy.syntax.lexer
 

Methods in org.codehaus.groovy.syntax.lexer that return Token
 org.codehaus.groovy.syntax.Token Lexer.nextToken()
           
 org.codehaus.groovy.syntax.Token LexerTokenStream.nextToken()
           
 

Uses of Token in org.codehaus.groovy.syntax.parser
 

Methods in org.codehaus.groovy.syntax.parser that return Token
 org.codehaus.groovy.syntax.Token CSTNode.getToken()
           
protected  org.codehaus.groovy.syntax.Token Parser.la()
           
protected  org.codehaus.groovy.syntax.Token Parser.la(int k)
           
protected  org.codehaus.groovy.syntax.Token Parser.consume(int type)
           
protected  org.codehaus.groovy.syntax.Token Parser.la_bare()
           
protected  org.codehaus.groovy.syntax.Token Parser.la_bare(int k)
           
protected  org.codehaus.groovy.syntax.Token Parser.consume_bare(int type)
           
 org.codehaus.groovy.syntax.Token UnexpectedTokenException.getToken()
           
 

Constructors in org.codehaus.groovy.syntax.parser with parameters of type Token
CSTNode(org.codehaus.groovy.syntax.Token token)
           
ParserException(String message, org.codehaus.groovy.syntax.Token token)
           
UnexpectedTokenException(org.codehaus.groovy.syntax.Token token, int expectedType)
           
UnexpectedTokenException(org.codehaus.groovy.syntax.Token token, int[] expectedTypes)
           
 



Copyright © 2003 The Codehaus. All Rights Reserved.