org.apache.derby.impl.services.bytecode
Class Conditional
java.lang.Object
org.apache.derby.impl.services.bytecode.Conditional
- class Conditional
- extends java.lang.Object
A code chunk that gets pushed to handle if-else blocks.
When this is created the mainChunk will already have
the conditional check code.
if condition
then code
else code
what actually gets built is
if !condition goto eb:
then code
goto end:
eb:
else code
end:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parent
private final Conditional parent
ifOffset
private final int ifOffset
clearTo
private int clearTo
thenGotoOffset
private int thenGotoOffset
Conditional
Conditional(Conditional parent,
CodeChunk chunk,
short ifOpcode,
int clearTo)
startElse
int startElse(CodeChunk chunk,
int thenSize)
end
Conditional end(CodeChunk chunk,
int elseSize)
fillIn
private void fillIn(CodeChunk chunk,
int where)
Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.