org.nlogo.nvm
Class Reporter

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

public abstract class Reporter
extends Instruction


Field Summary
 
Fields inherited from class org.nlogo.nvm.Instruction
agentBits, agentClassString, args, chosenMethod, disassembly, source, storedSourceEndPosition, storedSourceStartPosition, world
 
Constructor Summary
Reporter()
           
 
Method Summary
 void checkAgentClass(Agent agent, Context context)
           
 void checkAgentSetClass(AgentSet agents, Context context)
           
abstract  Object report(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, init, 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
 

Constructor Detail

Reporter

public Reporter()
Method Detail

report

public abstract Object report(Context context)
                       throws LogoException
Throws:
LogoException

checkAgentClass

public final void checkAgentClass(Agent agent,
                                  Context context)
                           throws LogoException
Throws:
LogoException

checkAgentSetClass

public final void checkAgentSetClass(AgentSet agents,
                                     Context context)
                              throws LogoException
Throws:
LogoException