anvil.script.statements
Class Case
java.lang.Object
|
+--anvil.script.statements.Case
- public class Case
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_source
protected Source _source
_target
protected Target _target
_expr
protected Expression _expr
_const
protected Any _const
_block
protected BlockStatement _block
Case
public Case(Expression expr,
BlockStatement block)
isDefault
public boolean isDefault()
getExpression
public Expression getExpression()
getBlock
public BlockStatement getBlock()
getConstant
public Any getConstant()
getLocation
public Location getLocation()
addChild
public void addChild(Statement statement)
check
public void check(ErrorListener listener)
checkExpression
public void checkExpression(ErrorListener listener)
eliminate
public Jumps eliminate(ErrorListener listener)
compile
public void compile(ByteCompiler context)
go_to
public void go_to(Code code)
if_ne
public void if_ne(Code code)