public final class NativeSwitch extends StatementBaseNoFinal implements FlowControlBreak, FlowControlContinue, HasBodies
Modifier and Type | Field and Description |
---|---|
static short |
ARG_REF |
static short |
LOCAL_REF |
static short |
PRIMITIVE |
BREAK, CONTINUE, RETRY
Constructor and Description |
---|
NativeSwitch(int value,
short type,
Position start,
Position end) |
Modifier and Type | Method and Description |
---|---|
void |
_writeOut(BytecodeContext bc)
write out the stament to the adater
|
void |
addCase(int value,
Statement body,
Position start,
Position end,
boolean doBreak) |
void |
addDefaultCase(Statement defaultStatement) |
Body[] |
getBodies() |
org.objectweb.asm.Label |
getBreakLabel() |
org.objectweb.asm.Label |
getContinueLabel() |
String |
getLabel() |
getFlowControlFinal
getDescendantCount, getEnd, getParent, getStart, hasFlowController, setEnd, setHasFlowController, setParent, setStart, writeOut
public static final short LOCAL_REF
public static final short ARG_REF
public static final short PRIMITIVE
public NativeSwitch(int value, short type, Position start, Position end)
public void _writeOut(BytecodeContext bc) throws BytecodeException
StatementBase
_writeOut
in class StatementBase
BytecodeException
public void addCase(int value, Statement body, Position start, Position end, boolean doBreak)
public void addDefaultCase(Statement defaultStatement)
public org.objectweb.asm.Label getBreakLabel()
getBreakLabel
in interface FlowControlBreak
lucee.transformer.bytecode.statement.FlowControl#getBreakLabel()
public org.objectweb.asm.Label getContinueLabel()
getContinueLabel
in interface FlowControlContinue
lucee.transformer.bytecode.statement.FlowControl#getContinueLabel()
public Body[] getBodies()
getBodies
in interface HasBodies
HasBodies.getBodies()
public String getLabel()
getLabel
in interface FlowControl
Copyright © 2015 Lucee