Package

org.nlogo

nvm

Permalink

package nvm

Visibility
  1. Public
  2. All

Type Members

  1. abstract class AbstractScalaInstruction extends TokenHolder

    Permalink
  2. final class Activation extends api.Activation

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

    Permalink
  4. sealed trait AnonymousProcedure extends AnyRef

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

    Permalink
  6. class Argument extends api.Argument

    Permalink
  7. class ArgumentTypeException extends EngineException

    Permalink
  8. trait AssemblerAssistant extends AnyRef

    Permalink
  9. abstract class Command extends Instruction

    Permalink
  10. trait CompilerInterface extends AnyRef

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

    Permalink
  12. class ConcurrentJob extends Job

    Permalink
  13. final class Context extends api.Context

    Permalink
  14. trait CustomAssembled extends AnyRef

    Permalink
  15. trait CustomGenerated extends AnyRef

    Permalink
  16. class DefaultCompilerServices extends CompilerServices

    Permalink
  17. class EngineException extends LogoException

    Permalink
  18. class ExclusiveJob extends Job

    Permalink
  19. class ExtensionContext extends api.Context

    Permalink
  20. trait ExtensionManager extends api.ExtensionManager

    Permalink
  21. trait FileManager extends AnyRef

    Permalink
  22. trait GeneratorInterface extends AnyRef

    Permalink
  23. class HaltException extends LogoException

    Permalink
  24. class ImportHandler extends LiteralImportHandler

    Permalink
  25. abstract class Instruction extends AbstractScalaInstruction

    Permalink
  26. abstract class Job extends AnyRef

    Permalink
  27. trait JobManagerInterface extends AnyRef

    Permalink
  28. trait JobManagerOwner extends AnyRef

    Permalink
  29. trait LabInterface extends AnyRef

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

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

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

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

    Permalink
  34. class Procedure extends FrontEndProcedure

    Permalink
  35. 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.

  36. abstract class Reporter extends Instruction

    Permalink
  37. abstract class Thunk[+T] extends AnyRef

    Permalink
  38. abstract class Tracer extends AnyRef

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

    Permalink

Value Members

  1. object AbstractScalaInstruction

    Permalink
  2. object AnonymousProcedure

    Permalink
  3. object LabInterface

    Permalink
  4. object NonLocalExit extends RuntimeException

    Permalink
  5. 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