org.codehaus.janino
Interface Java.BlockStatement

All Superinterfaces:
Java.Locatable, Java.Scope
All Known Implementing Classes:
Java.AlternateConstructorInvocation, Java.Block, Java.BreakableStatement, Java.BreakStatement, Java.ConstructorInvocation, Java.ContinuableStatement, Java.ContinueStatement, Java.DoStatement, Java.EmptyStatement, Java.ExpressionStatement, Java.FieldDeclaration, Java.ForStatement, Java.IfStatement, Java.Initializer, Java.LabeledStatement, Java.LocalClassDeclarationStatement, Java.LocalVariableDeclarationStatement, Java.ReturnStatement, Java.Statement, Java.SuperConstructorInvocation, Java.SwitchStatement, Java.SynchronizedStatement, Java.ThrowStatement, Java.TryStatement, Java.WhileStatement
Enclosing class:
Java

public static interface Java.BlockStatement
extends Java.Locatable, Java.Scope

Base of all statements that can appear in a block.


Method Summary
 void accept(Visitor.BlockStatementVisitor visitor)
           
 Java.LocalVariable findLocalVariable(java.lang.String name)
           
 Java.Scope getEnclosingScope()
           
 void setEnclosingScope(Java.Scope enclosingScope)
           
 
Methods inherited from interface org.codehaus.janino.Java.Locatable
getLocation, throwCompileException
 

Method Detail

setEnclosingScope

void setEnclosingScope(Java.Scope enclosingScope)

getEnclosingScope

Java.Scope getEnclosingScope()
Specified by:
getEnclosingScope in interface Java.Scope

accept

void accept(Visitor.BlockStatementVisitor visitor)

findLocalVariable

Java.LocalVariable findLocalVariable(java.lang.String name)


Copyright © 2001-2012. All Rights Reserved.