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

Packages that use Statement
org.codehaus.groovy.ast Groovy AST nodes for the syntax of the language 
org.codehaus.groovy.ast.expr AST nodes for Groovy expressions 
org.codehaus.groovy.ast.stmt AST nodes for Groovy statements 
org.codehaus.groovy.classgen Generates Java classes for Groovy classes using ASM. 
org.codehaus.groovy.syntax.parser The main parser of Groovy code into the Groovy AST model (Abstract Syntax Tree)  
 

Uses of Statement in org.codehaus.groovy.ast
 

Subclasses of Statement in org.codehaus.groovy.ast
 class PropertyNode
          Represents a property (member variable, a getter and setter)
 

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

Methods in org.codehaus.groovy.ast with parameters of type Statement
 org.codehaus.groovy.ast.PropertyNode ClassNode.addProperty(String name, int modifiers, String type, org.codehaus.groovy.ast.expr.Expression initialValueExpression, org.codehaus.groovy.ast.stmt.Statement getterBlock, org.codehaus.groovy.ast.stmt.Statement setterBlock)
           
 org.codehaus.groovy.ast.PropertyNode ClassNode.addProperty(String name, int modifiers, String type, org.codehaus.groovy.ast.expr.Expression initialValueExpression, org.codehaus.groovy.ast.stmt.Statement getterBlock, org.codehaus.groovy.ast.stmt.Statement setterBlock)
           
 org.codehaus.groovy.ast.ConstructorNode ClassNode.addConstructor(int modifiers, org.codehaus.groovy.ast.Parameter[] parameters, org.codehaus.groovy.ast.stmt.Statement code)
           
 org.codehaus.groovy.ast.MethodNode ClassNode.addMethod(String name, int modifiers, String returnType, org.codehaus.groovy.ast.Parameter[] parameters, org.codehaus.groovy.ast.stmt.Statement code)
           
 void ConstructorNode.setCode(org.codehaus.groovy.ast.stmt.Statement code)
           
 void MethodNode.setCode(org.codehaus.groovy.ast.stmt.Statement code)
           
 void ModuleNode.addStatement(org.codehaus.groovy.ast.stmt.Statement node)
           
 

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

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

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

Constructors in org.codehaus.groovy.ast.expr with parameters of type Statement
ClosureExpression(org.codehaus.groovy.ast.Parameter[] parameters, org.codehaus.groovy.ast.stmt.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
 org.codehaus.groovy.ast.stmt.Statement CaseStatement.getCode()
           
 org.codehaus.groovy.ast.stmt.Statement CatchStatement.getCode()
           
 org.codehaus.groovy.ast.stmt.Statement DoWhileStatement.getLoopBlock()
           
 org.codehaus.groovy.ast.stmt.Statement ForStatement.getLoopBlock()
           
 org.codehaus.groovy.ast.stmt.Statement IfStatement.getIfBlock()
           
 org.codehaus.groovy.ast.stmt.Statement IfStatement.getElseBlock()
           
 org.codehaus.groovy.ast.stmt.Statement SwitchStatement.getDefaultStatement()
           
 org.codehaus.groovy.ast.stmt.Statement SynchronizedStatement.getCode()
           
 org.codehaus.groovy.ast.stmt.Statement TryCatchStatement.getFinallyStatement()
           
 org.codehaus.groovy.ast.stmt.Statement TryCatchStatement.getTryStatement()
           
 org.codehaus.groovy.ast.stmt.Statement WhileStatement.getLoopBlock()
           
 

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

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

Uses of Statement in org.codehaus.groovy.classgen
 

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

Methods in org.codehaus.groovy.classgen with parameters of type Statement
protected  boolean ClassGenerator.firstStatementIsSuperMethodCall(org.codehaus.groovy.ast.stmt.Statement code)
           
protected  boolean Verifier.isSuperMethodCall(org.codehaus.groovy.ast.stmt.Statement first)
           
 

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

Methods in org.codehaus.groovy.syntax.parser that return Statement
protected  org.codehaus.groovy.ast.stmt.Statement ASTBuilder.statement(org.codehaus.groovy.syntax.parser.CSTNode statementRoot)
           
protected  org.codehaus.groovy.ast.stmt.Statement ASTBuilder.expressionStatement(org.codehaus.groovy.syntax.parser.CSTNode statementRoot)
           
 



Copyright © 2003 The Codehaus. All Rights Reserved.