railo.transformer.bytecode.statement
Class NativeSwitch
java.lang.Object
railo.transformer.bytecode.statement.StatementBase
railo.transformer.bytecode.statement.NativeSwitch
- All Implemented Interfaces:
- Statement, FlowControl, HasBodies
public final class NativeSwitch
- extends StatementBase
- implements FlowControl, HasBodies
Constructor Summary |
NativeSwitch(int value,
short type,
int startline,
int endline)
|
Methods inherited from class railo.transformer.bytecode.statement.StatementBase |
getDescendantCount, getEndLine, getLine, getParent, getStartLine, hasFlowController, setEndLine, setHasFlowController, setLine, setParent, setStartLine, writeOut |
LOCAL_REF
public static final short LOCAL_REF
- See Also:
- Constant Field Values
ARG_REF
public static final short ARG_REF
- See Also:
- Constant Field Values
PRIMITIVE
public static final short PRIMITIVE
- See Also:
- Constant Field Values
NativeSwitch
public NativeSwitch(int value,
short type,
int startline,
int endline)
_writeOut
public void _writeOut(BytecodeContext bc)
throws BytecodeException
- Description copied from class:
StatementBase
- write out the stament to the adater
- Specified by:
_writeOut
in class StatementBase
- Throws:
BytecodeException
addCase
public void addCase(int value,
Statement body,
int startline,
int endline,
boolean doBreak)
addDefaultCase
public void addDefaultCase(Statement defaultStatement)
getBreakLabel
public org.objectweb.asm.Label getBreakLabel()
- Specified by:
getBreakLabel
in interface FlowControl
- See Also:
FlowControl.getBreakLabel()
getContinueLabel
public org.objectweb.asm.Label getContinueLabel()
- Specified by:
getContinueLabel
in interface FlowControl
- See Also:
FlowControl.getContinueLabel()
getBodies
public Body[] getBodies()
- Specified by:
getBodies
in interface HasBodies
- See Also:
HasBodies.getBodies()
Copyright © 2012 Railo