Web Site

org.codehaus.janino
Class Java.Statement

java.lang.Object
  extended by org.codehaus.janino.Java.Located
      extended by org.codehaus.janino.Java.Statement
All Implemented Interfaces:
Java.BlockStatement, Java.Locatable, Java.Scope
Direct Known Subclasses:
Java.Block, Java.BreakableStatement, Java.BreakStatement, Java.ContinueStatement, Java.EmptyStatement, Java.ExpressionStatement, Java.FieldDeclaration, Java.IfStatement, Java.LocalClassDeclarationStatement, Java.LocalVariableDeclarationStatement, Java.ReturnStatement, Java.SynchronizedStatement, Java.ThrowStatement, Java.TryStatement
Enclosing class:
Java

public abstract static class Java.Statement
extends Java.Located
implements Java.BlockStatement


Field Summary
 java.util.Map localVariables
           
 
Constructor Summary
protected Java.Statement(Location location)
           
 
Method Summary
 Java.LocalVariable findLocalVariable(java.lang.String name)
           
 Java.Scope getEnclosingScope()
           
 void setEnclosingScope(Java.Scope enclosingScope)
           
 
Methods inherited from class org.codehaus.janino.Java.Located
getLocation, throwParseException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.codehaus.janino.Java.BlockStatement
accept
 
Methods inherited from interface org.codehaus.janino.Java.Locatable
getLocation, throwParseException
 

Field Detail

localVariables

public java.util.Map localVariables
Constructor Detail

Java.Statement

protected Java.Statement(Location location)
Method Detail

setEnclosingScope

public void setEnclosingScope(Java.Scope enclosingScope)
Specified by:
setEnclosingScope in interface Java.BlockStatement

getEnclosingScope

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

findLocalVariable

public Java.LocalVariable findLocalVariable(java.lang.String name)
Specified by:
findLocalVariable in interface Java.BlockStatement

Web Site