Package

org.nlogo

nvm

Permalink

package nvm

Visibility
  1. Public
  2. All

Type Members

  1. final class Activation extends api.Activation

    Permalink
  2. class Argument extends api.Argument

    Permalink
  3. class ArgumentTypeException extends EngineException

    Permalink
  4. trait AssemblerAssistant extends AnyRef

    Permalink
  5. abstract class Command extends Instruction

    Permalink
  6. case class CommandTask(procedure: Procedure, formals: Array[Let], lets: List[LetBinding], locals: Array[AnyRef]) extends Task with api.CommandTask with Product with Serializable

    Permalink
  7. trait CompilerInterface extends AnyRef

    Permalink
  8. case class CompilerResults(procedures: Seq[Procedure], program: Program) extends Product with Serializable

    Permalink
  9. class ConcurrentJob extends Job

    Permalink
  10. final class Context extends AnyRef

    Permalink
  11. trait CustomAssembled extends AnyRef

    Permalink
  12. trait CustomGenerated extends AnyRef

    Permalink
  13. class DefaultCompilerServices extends CompilerServices

    Permalink
  14. class EngineException extends LogoException

    Permalink
  15. class ExclusiveJob extends Job

    Permalink
  16. class ExtensionContext extends api.Context

    Permalink
  17. trait ExtensionManager extends api.ExtensionManager

    Permalink
  18. trait FileManager extends AnyRef

    Permalink
  19. trait GeneratorInterface extends AnyRef

    Permalink
  20. class HaltException extends LogoException

    Permalink
  21. class ImportHandler extends LiteralImportHandler

    Permalink
  22. abstract class Instruction extends TokenHolder

    Permalink
  23. abstract class Job extends AnyRef

    Permalink
  24. trait JobManagerInterface extends AnyRef

    Permalink
  25. trait JobManagerOwner extends AnyRef

    Permalink
  26. trait LabInterface extends AnyRef

    Permalink
  27. case class LetBinding(let: Let, value: AnyRef) extends Product with Serializable

    Permalink
  28. case class MutableDouble(value: Double) extends Product with Serializable

    Permalink
  29. case class MutableInteger(value: Int) extends Product with Serializable

    Permalink
  30. case class MutableLong(value: Long) extends Product with Serializable

    Permalink
  31. class Procedure extends FrontEndProcedure

    Permalink
  32. trait Pure extends AnyRef

    Permalink

    Reporters should implement the Constant interface (which extends Pure) if they are truly constant, i.e., _constdouble, _conststring.

    Reporters should implement the Constant interface (which extends Pure) if they are truly constant, i.e., _constdouble, _conststring.

    They should implement the Pure interface if they are constant-preserving (i.e. the result is constant when all of their args are constant.)

    The main point here is that this distinction allows us to compute some values at compile-time, rather than run-time.

    Specifically, PureConstantOptimizer looks for reporters that are entirely pure. A reporter is "entirely pure" if it implements Pure, and all of it's children are "entirely pure". Entirely pure reporters get evaluated at compile time, and replaced with the appropriate constant reporter.

    "Pure" reporters *must* not depend on "context", "workspace", "world", etc.

  33. abstract class Reporter extends Instruction

    Permalink
  34. case class ReporterTask(body: Reporter, formals: Array[Let], lets: List[LetBinding], locals: Array[AnyRef]) extends Task with api.ReporterTask with Product with Serializable

    Permalink
  35. sealed trait Task extends AnyRef

    Permalink
  36. abstract class Tracer extends AnyRef

    Permalink
  37. trait Workspace extends api.Workspace with ImporterUser with JobManagerOwner with CompilerServices with RandomServices

    Permalink

Value Members

  1. object LabInterface

    Permalink
  2. object NonLocalExit extends RuntimeException

    Permalink
  3. object StackTraceBuilder

    Permalink

    A stack trace is displayed to the user when an error occurs in running code.

    A stack trace is displayed to the user when an error occurs in running code. Example:

    division by zero error while observer running / called by plot 'plot 1' setup code called by RESET-TICKS called by procedure SETUP called by Command Center

    Entries in stack traces can come from different places.

    In the example, - "/" is the individual primitive in which the error occurred - "plot 'plot 1' setup code" is an anonymous procedure in a plot - "RESET-TICKS" is not a procedure, but a command that can trigger the execution of procedures (see also tick, setup-plots, update-plots) - "SETUP" is an ordinary procedure - "Command Center" is the display name of the dummy top level procedure wrapped around the user's code.

Ungrouped