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

Packages that use Reduction
org.codehaus.groovy.control   
org.codehaus.groovy.syntax Lexer, parser and trees. 
org.codehaus.groovy.syntax.parser The main parser of Groovy code into the Groovy AST model (Abstract Syntax Tree)  
 

Uses of Reduction in org.codehaus.groovy.control
 

Fields in org.codehaus.groovy.control declared as Reduction
protected  Reduction SourceUnit.cst
          A Concrete Syntax Tree of the source
 

Methods in org.codehaus.groovy.control that return Reduction
 Reduction SourceUnit.getCST()
          Returns the Concrete Syntax Tree produced during parse()ing.
 Reduction ParserPlugin.parseCST(SourceUnit sourceUnit, java.io.Reader reader)
           
 Reduction ClassicParserPlugin.parseCST(SourceUnit sourceUnit, java.io.Reader reader)
           
 

Methods in org.codehaus.groovy.control with parameters of type Reduction
 ModuleNode ParserPlugin.buildAST(SourceUnit sourceUnit, java.lang.ClassLoader classLoader, Reduction cst)
           
 ModuleNode ClassicParserPlugin.buildAST(SourceUnit sourceUnit, java.lang.ClassLoader classLoader, Reduction cst)
           
 

Uses of Reduction in org.codehaus.groovy.syntax
 

Fields in org.codehaus.groovy.syntax declared as Reduction
static Reduction Reduction.EMPTY
           
 

Methods in org.codehaus.groovy.syntax that return Reduction
 Reduction Token.asReduction()
          Creates a Reduction from this token.
 Reduction Token.asReduction(CSTNode second)
          Creates a Reduction from this token, adding the supplied node as the second element.
 Reduction Token.asReduction(CSTNode second, CSTNode third)
          Creates a Reduction from this token, adding the supplied nodes as the second and third element, respectively.
 Reduction Token.asReduction(CSTNode second, CSTNode third, CSTNode fourth)
          Creates a Reduction from this token, adding the supplied nodes as the second, third, and fourth element, respectively.
static Reduction Reduction.newContainer()
          Creates a new Reduction with Token.NULL as it's root.
 Reduction Reduction.asReduction()
          Creates a Reduction from this node.
abstract  Reduction CSTNode.asReduction()
          Creates a Reduction from this node.
 

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

Methods in org.codehaus.groovy.syntax.parser that return Reduction
 Reduction Parser.parse()
          Synonym for module(), the primary entry point.
 Reduction Parser.module()
          The primary file-level parsing entry point.
 Reduction Parser.packageDeclaration()
          Processes a package declaration.
 Reduction Parser.importStatement()
          Processes an import statement.
 Reduction Parser.modifierList(boolean allowStatic, boolean allowAbstract)
          Processes the modifiers list that can appear on top- and class-level method and class-level variable names (public, private, abstract, etc.).
 Reduction Parser.classDeclaration(Reduction modifiers)
          Processes a class declaration.
 Reduction Parser.interfaceDeclaration(Reduction modifiers)
          Processes a interface declaration.
 Reduction Parser.typeList(int declarator, boolean optional, int limit)
          Processes a type list, like the ones that occur after "extends" or implements.
 Reduction Parser.typeBody(boolean allowStatic, boolean allowAbstract, boolean requireAbstract)
          Processes the body of an interface or class.
 Reduction Parser.typeBodyStatement(boolean allowStatic, boolean allowAbstract, boolean requireAbstract)
          Processes a single entry in the the body of an interface or class.
 Reduction Parser.bodyStatement()
          A synonym for typeBodyStatement( true, true, false ).
 Reduction Parser.propertyDeclaration(Reduction modifiers, CSTNode type, Token identifier)
          Processes a class/interface property, including the optional initialization clause.
 Reduction Parser.methodDeclaration(Reduction modifiers, CSTNode type, Token identifier, boolean emptyOnly)
          Processes a class/interface method.
protected  Reduction Parser.parameterDeclarationList()
          Processes a parameter declaration list, which can occur on methods and closures.
protected  Reduction Parser.parameterDeclaration()
          Processes a single parameter declaration, which can occur on methods and closures.
protected  Reduction Parser.statementsUntilRightCurly()
          Reads statements until a "}" is met.
protected  Reduction Parser.assertStatement()
          Processes an assert statement.
protected  Reduction Parser.breakStatement()
          Processes a break statement.
protected  Reduction Parser.continueStatement()
          Processes a continue statement.
protected  Reduction Parser.throwStatement()
          Processes a throw statement.
protected  Reduction Parser.ifStatement()
          Processes an if statement.
protected  Reduction Parser.returnStatement()
          Processes a return statement.
protected  Reduction Parser.switchStatement()
          Processes a switch statement.
protected  Reduction Parser.synchronizedStatement()
          Processes a synchronized statement.
protected  Reduction Parser.tryStatement()
          Processes a try statement.
protected  Reduction Parser.forStatement()
          Processes a for statement.
protected  Reduction Parser.doWhileStatement()
          Processes a do ...
protected  Reduction Parser.whileStatement()
          Processes a while statement.
protected  Reduction Parser.variableDeclarationExpression(CSTNode datatype)
          Processes a typed variable declaration.
protected  Reduction Parser.gstring()
          Processes a GString.
protected  Reduction Parser.parameterList()
          Processes a NON-EMPTY parameter list, as supplied on either a method invokation or a closure invokation.
protected  Reduction Parser.newExpression()
          Processes a "new" expression.
protected  Reduction Parser.tupleExpression(int level, int depth)
          Processes a "new" array initializer expression.
protected  Reduction Parser.closureExpression()
          Processes a closure expression.
protected  Reduction Parser.listOrMapExpression(boolean isMap, boolean insist)
          Processes a list or map expression.
protected  Reduction Parser.listOrMapExpression()
          Synonym for listOrMapExpression( false, false ).
 

Methods in org.codehaus.groovy.syntax.parser with parameters of type Reduction
 Reduction Parser.classDeclaration(Reduction modifiers)
          Processes a class declaration.
 Reduction Parser.interfaceDeclaration(Reduction modifiers)
          Processes a interface declaration.
 Reduction Parser.propertyDeclaration(Reduction modifiers, CSTNode type, Token identifier)
          Processes a class/interface property, including the optional initialization clause.
 Reduction Parser.methodDeclaration(Reduction modifiers, CSTNode type, Token identifier, boolean emptyOnly)
          Processes a class/interface method.
 



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