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

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

Uses of Statement in org.codehaus.groovy.antlr
 

Methods in org.codehaus.groovy.antlr that return Statement
protected  Statement AntlrParserPlugin.statement(antlr.collections.AST node)
           
protected  Statement AntlrParserPlugin.statementList(antlr.collections.AST code)
           
protected  Statement AntlrParserPlugin.statementListNoChild(antlr.collections.AST node)
           
protected  Statement AntlrParserPlugin.assertStatement(antlr.collections.AST assertNode)
           
protected  Statement AntlrParserPlugin.breakStatement(antlr.collections.AST node)
           
protected  Statement AntlrParserPlugin.continueStatement(antlr.collections.AST node)
           
protected  Statement AntlrParserPlugin.forStatement(antlr.collections.AST forNode)
           
protected  Statement AntlrParserPlugin.ifStatement(antlr.collections.AST ifNode)
           
protected  Statement AntlrParserPlugin.labelledStatement(antlr.collections.AST labelNode)
           
protected  Statement AntlrParserPlugin.methodCall(antlr.collections.AST code)
           
protected  Statement AntlrParserPlugin.variableDef(antlr.collections.AST variableDef)
           
protected  Statement AntlrParserPlugin.returnStatement(antlr.collections.AST node)
           
protected  Statement AntlrParserPlugin.switchStatement(antlr.collections.AST switchNode)
           
protected  Statement AntlrParserPlugin.synchronizedStatement(antlr.collections.AST syncNode)
           
protected  Statement AntlrParserPlugin.throwStatement(antlr.collections.AST node)
           
protected  Statement AntlrParserPlugin.tryStatement(antlr.collections.AST tryStatementNode)
           
protected  Statement AntlrParserPlugin.whileStatement(antlr.collections.AST whileNode)
           
protected  Statement AntlrParserPlugin.withStatement(antlr.collections.AST node)
           
 

Uses of Statement in org.codehaus.groovy.ast
 

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

Methods in org.codehaus.groovy.ast with parameters of type Statement
 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
 void ModuleNode.addStatement(Statement node)
           
 void ConstructorNode.setCode(Statement code)
           
 void MethodNode.setCode(Statement code)
           
 

Constructors in org.codehaus.groovy.ast with parameters of type Statement
PropertyNode(String name, int modifiers, String type, String owner, Expression initialValueExpression, Statement getterBlock, Statement setterBlock)
           
PropertyNode(FieldNode field, int modifiers, Statement getterBlock, Statement setterBlock)
           
ConstructorNode(int modifiers, Statement code)
           
ConstructorNode(int modifiers, Parameter[] parameters, Statement code)
           
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 ForStatement.getLoopBlock()
           
 Statement TryCatchStatement.getFinallyStatement()
           
 Statement TryCatchStatement.getTryStatement()
           
 Statement CatchStatement.getCode()
           
 Statement IfStatement.getIfBlock()
           
 Statement IfStatement.getElseBlock()
           
 Statement CaseStatement.getCode()
           
 Statement SynchronizedStatement.getCode()
           
 Statement DoWhileStatement.getLoopBlock()
           
 Statement SwitchStatement.getDefaultStatement()
           
 Statement WhileStatement.getLoopBlock()
           
 

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

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

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)
           
protected  boolean Verifier.isSuperMethodCall(Statement first)
           
protected  Statement Verifier.filterStatement(Statement statement)
           
 

Uses of Statement in org.codehaus.groovy.control
 

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



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