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

Packages that use Statement
org.codehaus.groovy.antlr   
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. 
 

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 MethodNode.getCode()
           
 Statement PropertyNode.getGetterBlock()
           
 Statement PropertyNode.getSetterBlock()
           
 Statement ConstructorNode.getCode()
           
 

Methods in org.codehaus.groovy.ast with parameters of type Statement
 PropertyNode ClassNode.addProperty(String name, int modifiers, ClassNode type, Expression initialValueExpression, Statement getterBlock, Statement setterBlock)
           
 ConstructorNode ClassNode.addConstructor(int modifiers, Parameter[] parameters, Statement code)
           
 MethodNode ClassNode.addMethod(String name, int modifiers, ClassNode 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, ClassNode returnType, Parameter[] parameters, Statement code)
          Adds a synthetic method as part of the compilation process
 void ModuleNode.addStatement(Statement node)
           
 void MethodNode.setCode(Statement code)
           
 void ConstructorNode.setCode(Statement code)
           
 

Constructors in org.codehaus.groovy.ast with parameters of type Statement
MethodNode(String name, int modifiers, ClassNode returnType, Parameter[] parameters, Statement code)
           
PropertyNode(String name, int modifiers, ClassNode type, ClassNode 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)
           
 

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 WhileStatement.getLoopBlock()
           
 Statement DoWhileStatement.getLoopBlock()
           
 Statement IfStatement.getIfBlock()
           
 Statement IfStatement.getElseBlock()
           
 Statement TryCatchStatement.getFinallyStatement()
           
 Statement TryCatchStatement.getTryStatement()
           
 Statement SwitchStatement.getDefaultStatement()
           
 Statement CaseStatement.getCode()
           
 Statement SynchronizedStatement.getCode()
           
 Statement CatchStatement.getCode()
           
 

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
BlockStatement(Statement[] statements)
           
ForStatement(String variable, ClassNode variableType, Expression collectionExpression, Statement loopBlock)
           
WhileStatement(BooleanExpression booleanExpression, Statement loopBlock)
           
DoWhileStatement(BooleanExpression booleanExpression, Statement loopBlock)
           
IfStatement(BooleanExpression booleanExpression, Statement ifBlock, Statement elseBlock)
           
TryCatchStatement(Statement tryStatement, Statement finallyStatement)
           
SwitchStatement(Expression expression, Statement defaultStatement)
           
SwitchStatement(Expression expression, List caseStatements, Statement defaultStatement)
           
CaseStatement(Expression expression, Statement code)
           
SynchronizedStatement(Expression expression, Statement code)
           
CatchStatement(ClassNode exceptionType, String variable, Statement code)
           
 

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



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