org.nlogo.nvm
Class Command

java.lang.Object
  extended by org.nlogo.nvm.Instruction
      extended by org.nlogo.nvm.Command
All Implemented Interfaces:
org.nlogo.api.TokenHolder

public abstract class Command
extends Instruction


Field Summary
 int next
           
 int offset
           
 
Fields inherited from class org.nlogo.nvm.Instruction
agentBits, agentClassString, args, chosenMethod, disassembly, source, storedSourceEndPosition, storedSourceStartPosition, world
 
Constructor Summary
Command()
           
 
Method Summary
 void init(Workspace workspace)
           
abstract  void perform(Context context)
           
 
Methods inherited from class org.nlogo.nvm.Instruction
argEvalAgent, argEvalAgentSet, argEvalAgentSet, argEvalBoolean, argEvalBooleanValue, argEvalDouble, argEvalDoubleValue, argEvalIntValue, argEvalLink, argEvalList, argEvalPatch, argEvalString, argEvalTurtle, copyFieldsFrom, displayName, dump, dump, extractErrorInstruction, getPositionAndLength, getSourceEndPosition, getSourceSnippet, getSourceStartPosition, getSyntax, isValidLong, newValidDouble, setSourceSnippet, throwAgentClassException, token, token, tokenLimitingType, tokenLimitingType, toString, validDouble, validLong
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

next

public int next

offset

public int offset
Constructor Detail

Command

public Command()
Method Detail

perform

public abstract void perform(Context context)
                      throws LogoException
Throws:
LogoException

init

public void init(Workspace workspace)
Overrides:
init in class Instruction