de.projectory.koivima.operators
Class BranchOnCondition

java.lang.Object
  extended by de.projectory.koivima.core.Element
      extended by de.projectory.koivima.core.Operator
          extended by de.projectory.koivima.operators.BranchOnCondition

public class BranchOnCondition
extends Operator

Branches on condition. Stack: ... condition offset1 offset2 => ...


Field Summary
 
Fields inherited from class de.projectory.koivima.core.Element
context
 
Constructor Summary
BranchOnCondition()
           
 
Method Summary
 void execute()
          Takes to elements from the stack and perfoms a relative jump.
 
Methods inherited from class de.projectory.koivima.core.Operator
pop, popDataElement, popInteger, popString, push, toString
 
Methods inherited from class de.projectory.koivima.core.Element
getExecutionContext, setExecutionContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BranchOnCondition

public BranchOnCondition()
Method Detail

execute

public void execute()
Takes to elements from the stack and perfoms a relative jump.

Specified by:
execute in class Element