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. 
org.codehaus.groovy.control   
 

Uses of Statement in org.codehaus.groovy.antlr
 

Methods in org.codehaus.groovy.antlr that return Statement
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.returnStatement(antlr.collections.AST node)
           
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.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.variableDef(antlr.collections.AST variableDef)
           
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 MethodNode.getFirstStatement()
           
 Statement PropertyNode.getGetterBlock()
           
 Statement PropertyNode.getSetterBlock()
           
 

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

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

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

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, VariableScope scope)
           
CaseStatement(Expression expression, Statement code)
           
CatchStatement(Parameter variable, Statement code)
           
DoWhileStatement(BooleanExpression booleanExpression, Statement loopBlock)
           
ForStatement(Parameter variable, Expression collectionExpression, Statement loopBlock)
           
IfStatement(BooleanExpression booleanExpression, Statement ifBlock, Statement elseBlock)
           
SwitchStatement(Expression expression, List caseStatements, Statement defaultStatement)
           
SwitchStatement(Expression expression, Statement defaultStatement)
           
SynchronizedStatement(Expression expression, Statement code)
           
TryCatchStatement(Statement tryStatement, Statement finallyStatement)
           
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  Statement Verifier.filterStatement(Statement statement)
           
protected  void AsmClassGenerator.visitStatement(Statement statement)
           
 

Uses of Statement in org.codehaus.groovy.control
 

Methods in org.codehaus.groovy.control with parameters of type Statement
protected  void LabelVerifier.visitClassCodeContainer(Statement code)
           
 void LabelVerifier.visitStatement(Statement statement)
           
 



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