|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.janino.Java.Located | +--net.janino.Java.BlockStatement | +--net.janino.Java.Statement | +--net.janino.Java.EmptyStatement
Represents the "empty statement", i.e. the blank semicolon.
Fields inherited from class net.janino.Java.Statement |
enclosingScope |
Constructor Summary | |
Java.EmptyStatement(Scanner.Location location,
Java.Scope enclosingScope)
|
Method Summary | |
boolean |
compile()
|
boolean |
generatesCode()
Check whether invocation of compile() would
generate more than zero code bytes. |
Methods inherited from class net.janino.Java.Statement |
getEnclosingScope, leave |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Java.EmptyStatement(Scanner.Location location, Java.Scope enclosingScope)
Method Detail |
public boolean generatesCode()
Java.BlockStatement
Java.BlockStatement.compile()
would
generate more than zero code bytes.generatesCode
in class Java.Statement
public boolean compile()
compile
in class Java.Statement
net.janino.Java.BlockStatement
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |