org.nlogo.command
Class Reporter

java.lang.Object
  extended by org.nlogo.command.Instruction
      extended by org.nlogo.command.Reporter
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
DoubleReporter, GeneratedReporter

public abstract class Reporter
extends Instruction


Field Summary
 
Fields inherited from class org.nlogo.command.Instruction
agentBits, args, blockAgentClassString, chosenEvalMethod, chosenEvalMethodMatchCost, disassembly, userSource, world
 
Constructor Summary
Reporter(String agentClassString)
           
Reporter(String agentClassString, String blockAgentClassString)
           
 
Method Summary
 boolean isPureConstant()
           
abstract  Object report(Context context)
           
 
Methods inherited from class org.nlogo.command.Instruction
addProcedureToInliningRecords, agentClassCanPerform, agentClassString, agentClassString, argEvalAgent, argEvalAgentSet, argEvalAgentSet, argEvalBoolean, argEvalBooleanValue, argEvalDouble, argEvalDoubleValue, argEvalIntValue, argEvalLink, argEvalList, argEvalLong, argEvalLongValue, argEvalPatch, argEvalString, argEvalTurtle, assemble, checkAgentClass, checkAgentSetClass, clone, copyFieldsFrom, displayName, dump, dump, getInlinedDepth, getInliningRecords, getPositionAndLength, getSourceEndPosition, getSourceSnippet, getSourceStartPosition, getSyntax, init, newValidDouble, newValidDouble, optimize0, optimize1, optimize2, setSourceSnippet, throwAgentClassException, token, token, tokenLimitingType, tokenLimitingType, toString, validDouble, wasInlined, workspace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Reporter

public Reporter(String agentClassString)

Reporter

public Reporter(String agentClassString,
                String blockAgentClassString)
Method Detail

isPureConstant

public boolean isPureConstant()

report

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