Uses of Class
org.codehaus.groovy.ast.stmt.Statement

Packages that use Statement
org.codehaus.groovy.ast   
org.codehaus.groovy.ast.expr   
org.codehaus.groovy.ast.stmt   
org.codehaus.groovy.classgen   
org.codehaus.groovy.control   
org.codehaus.groovy.syntax.parser   
 

Uses of Statement in org.codehaus.groovy.ast
 

Methods in org.codehaus.groovy.ast that return Statement
 Statement ConstructorNode.getCode()
           
 Statement PropertyNode.getGetterBlock()
           
 Statement PropertyNode.getSetterBlock()
           
 Statement MethodNode.getCode()
           
 

Methods in org.codehaus.groovy.ast with parameters of type Statement
 void ConstructorNode.setCode(Statement code)
           
 void MethodNode.setCode(Statement code)
           
 void ModuleNode.addStatement(Statement node)
           
 PropertyNode ClassNode.addProperty(String name, int modifiers, String type, Expression initialValueExpression, Statement getterBlock, Statement setterBlock)
           
 ConstructorNode ClassNode.addConstructor(int modifiers, Parameter[] parameters, Statement code)
           
 MethodNode ClassNode.addMethod(String name, int modifiers, String returnType, Parameter[] parameters, Statement code)
          IF a method with the given name and parameters is already defined then it is returned otherwise the given method is added to this node.
 MethodNode ClassNode.addSyntheticMethod(String name, int modifiers, String returnType, Parameter[] parameters, Statement code)
          Adds a synthetic method as part of the compilation process
 

Constructors in org.codehaus.groovy.ast with parameters of type Statement
ConstructorNode(int modifiers, Statement code)
           
ConstructorNode(int modifiers, Parameter[] parameters, Statement code)
           
PropertyNode(String name, int modifiers, String type, String owner, Expression initialValueExpression, Statement getterBlock, Statement setterBlock)
           
PropertyNode(FieldNode field, int modifiers, Statement getterBlock, Statement setterBlock)
           
MethodNode(String name, int modifiers, String returnType, Parameter[] parameters, Statement code)
           
 

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

Methods in org.codehaus.groovy.ast.expr that return Statement
 Statement ClosureExpression.getCode()
           
 

Constructors in org.codehaus.groovy.ast.expr with parameters of type Statement
ClosureExpression(Parameter[] parameters, Statement code)
           
 

Uses of Statement in org.codehaus.groovy.ast.stmt
 

Subclasses of Statement in org.codehaus.groovy.ast.stmt
 class AssertStatement
          Represents an assert statement such as assert i != 0 : "should never be zero";
 class BlockStatement
          A list of statements
 class BreakStatement
          Represents a break statement in a switch or loop statement
 class CaseStatement
          Represents a case statement in a switch statement
 class CatchStatement
          Represents a catch (Exception var) { } statement
 class ContinueStatement
          Represents a continue statement in a loop statement
 class DoWhileStatement
          Represents a do { ...
 class EmptyStatement
          Represents an empty statement
 class ExpressionStatement
          A simple statement such as a method call where the return value is ignored
 class ForStatement
          Represents a standard for loop in Groovy
 class IfStatement
          Represents a do { ...
 class ReturnStatement
          A return statement
 class SwitchStatement
          Represents a switch (object) { case value: ...
 class SynchronizedStatement
          Represents a synchronized statement
 class ThrowStatement
          Represents a throw statement
 class TryCatchStatement
          Represents a try { ...
 class WhileStatement
          Represents a while (condition) { ...
 

Methods in org.codehaus.groovy.ast.stmt that return Statement
 Statement CatchStatement.getCode()
           
 Statement SynchronizedStatement.getCode()
           
 Statement CaseStatement.getCode()
           
 Statement SwitchStatement.getDefaultStatement()
           
 Statement TryCatchStatement.getFinallyStatement()
           
 Statement TryCatchStatement.getTryStatement()
           
 Statement IfStatement.getIfBlock()
           
 Statement IfStatement.getElseBlock()
           
 Statement DoWhileStatement.getLoopBlock()
           
 Statement WhileStatement.getLoopBlock()
           
 Statement ForStatement.getLoopBlock()
           
 

Methods in org.codehaus.groovy.ast.stmt with parameters of type Statement
 void SwitchStatement.setDefaultStatement(Statement defaultStatement)
           
 void BlockStatement.addStatement(Statement statement)
           
 

Constructors in org.codehaus.groovy.ast.stmt with parameters of type Statement
CatchStatement(String exceptionType, String variable, Statement code)
           
SynchronizedStatement(Expression expression, Statement code)
           
CaseStatement(Expression expression, Statement code)
           
SwitchStatement(Expression expression, Statement defaultStatement)
           
TryCatchStatement(Statement tryStatement, Statement finallyStatement)
           
IfStatement(BooleanExpression booleanExpression, Statement ifBlock, Statement elseBlock)
           
DoWhileStatement(BooleanExpression booleanExpression, Statement loopBlock)
           
WhileStatement(BooleanExpression booleanExpression, Statement loopBlock)
           
ForStatement(String variable, Type variableType, Expression collectionExpression, Statement loopBlock)
           
BlockStatement(Statement[] statements)
           
 

Uses of Statement in org.codehaus.groovy.classgen
 

Methods in org.codehaus.groovy.classgen that return Statement
protected  Statement Verifier.createGetterBlock(PropertyNode propertyNode, FieldNode field)
           
protected  Statement Verifier.createSetterBlock(PropertyNode propertyNode, FieldNode field)
           
protected  Statement Verifier.filterStatement(Statement statement)
           
 

Methods in org.codehaus.groovy.classgen with parameters of type Statement
protected  boolean AsmClassGenerator.firstStatementIsSuperInit(Statement code)
          Deprecated.  
protected  boolean Verifier.isSuperMethodCall(Statement first)
           
protected  Statement Verifier.filterStatement(Statement statement)
           
protected  boolean AsmClassGenerator2.firstStatementIsSuperInit(Statement code)
           
 

Uses of Statement in org.codehaus.groovy.control
 

Methods in org.codehaus.groovy.control that return Statement
 Statement SourceUnit.createStatement(String code)
           
 

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

Methods in org.codehaus.groovy.syntax.parser that return Statement
protected  Statement ASTBuilder.statement(CSTNode reduction)
          Processes the Reduction produced by Parser.statement().
protected  Statement ASTBuilder.expressionStatement(CSTNode node)
          Processes any expression that forms a complete statement.
 



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