de.projectory.koivima.operators
Class Nop

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

public class Nop
extends Operator

Performs no operation. This is useful if you need a jump target. Stack: ... => ...


Field Summary
 
Fields inherited from class de.projectory.koivima.core.Element
context
 
Constructor Summary
Nop()
           
 
Method Summary
 void execute()
          Executes this element.
 
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

Nop

public Nop()
Method Detail

execute

public void execute()
Description copied from class: Element
Executes this element. An operator usually removes some itmes from the data stack and operates on them. A variable just puts itself to the stack.

Specified by:
execute in class Element