org.nlogo.nvm

package org.nlogo.nvm

Members list

Type members

Classlikes

case class AnonymousCommand(procedure: LiftedLambda, formals: Array[Let], arguments: LambdaArgs, binding: Binding, locals: Array[AnyRef], source: String) extends AnonymousProcedure, AnonymousCommand

Attributes

Source
AnonymousProcedure.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
sealed trait AnonymousProcedure

Attributes

Companion
object
Source
AnonymousProcedure.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Source
AnonymousProcedure.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
case class AnonymousReporter(body: Reporter, formals: Array[Let], arguments: LambdaArgs, binding: Binding, locals: Array[AnyRef], source: String) extends AnonymousProcedure, AnonymousReporter

Attributes

Source
AnonymousProcedure.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class Argument(context: Context, arg: Reporter) extends Argument

Passes arguments to extension primitives.

Passes arguments to extension primitives.

Attributes

Source
Argument.scala
Supertypes
trait Argument
class Object
trait Matchable
class Any

Attributes

Companion
class
Source
ArgumentTypeException.scala
Supertypes
class Object
trait Matchable
class Any
Self type
class ArgumentTypeException(context: Context, baseInstruction: Instruction, badArgIndex: Int, wantedType: Int, badValue: Object) extends RuntimePrimitiveException

Attributes

Companion
object
Source
ArgumentTypeException.scala
Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Attributes

Source
AssemblerAssistant.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
CompilerInterface.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Binding

Attributes

Companion
class
Source
Binding.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Binding.type
class Binding(var head: ChildBinding, val parent: Binding, var size: Int)

Attributes

Companion
object
Source
Binding.scala
Supertypes
class Object
trait Matchable
class Any
case class CompilerFlags(foldConstants: Boolean, useGenerator: Boolean, useOptimizer: Boolean, optimizations: OptimizationList)

Attributes

Source
CompilerInterface.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Source
CompilerInterface.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class CompilerResults(procedures: Seq[Procedure], program: Program)

Attributes

Source
CompilerResults.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait CompilerScoping extends Scoping

CompilerScoping lets the compiler know that the block at the specified index should have enterScope/exitScope placed around its statements.

CompilerScoping lets the compiler know that the block at the specified index should have enterScope/exitScope placed around its statements.

Attributes

Source
Scoping.scala
Supertypes
trait Scoping
class Object
trait Matchable
class Any
class ConcurrentJob(owner: JobOwner, agentset: AgentSet, topLevelProcedure: Procedure, address: Int, parentContext: Context, workspace: Workspace, random: MersenneTwisterFast) extends Job

Attributes

Source
ConcurrentJob.scala
Supertypes
class Job
class Object
trait Matchable
class Any

Attributes

Source
CustomAssembled.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
CustomGenerated.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
DefaultCompilerServices.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
PrimaryWorkspace.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
Workspace.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Source
EngineException.scala
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class EngineException(_context: Context, message: String, cause: Exception) extends LogoException

Attributes

Companion
object
Source
EngineException.scala
Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
class ExclusiveJob(owner: JobOwner, agentset: AgentSet, topLevelProcedure: Procedure, address: Int, parentContext: Context, workspace: Workspace, random: MersenneTwisterFast) extends Job

Attributes

Source
ExclusiveJob.scala
Supertypes
class Job
class Object
trait Matchable
class Any
case class Experiment(protocol: LabProtocol, tpe: ExperimentType)

Attributes

Source
ExperimentManager.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Source
ExperimentManager.scala
Supertypes
class Object
trait Matchable
class Any
sealed abstract trait ExperimentType

Attributes

Companion
object
Source
ExperimentManager.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Code
object GUI

Attributes

Companion
trait
Source
ExperimentManager.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
class ExtensionContext(val workspace: Workspace, val nvmContext: Context) extends Context

workspace and nvmContext are public vals, even though that violates the org.nlogo.api abstraction, so extensions can go around that if they must. As the extensions API improves, this should become less often necessary.

workspace and nvmContext are public vals, even though that violates the org.nlogo.api abstraction, so extensions can go around that if they must. As the extensions API improves, this should become less often necessary.

Attributes

Source
ExtensionContext.scala
Supertypes
trait Context
class Object
trait Matchable
class Any

Attributes

Source
ExtensionManager.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait FileManager

Attributes

Source
FileManager.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
GeneratorInterface.scala
Supertypes
class Object
trait Matchable
class Any
class HaltException(val haltAll: Boolean) extends LogoException, HaltSignal

Attributes

Source
HaltException.scala
Supertypes
trait HaltSignal
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class ImportHandler(world: World, extensionManager: ExtensionManager) extends LiteralImportHandler

Attributes

Source
ImportHandler.scala
Supertypes
class Object
trait Matchable
class Any
object Instruction

Attributes

Companion
class
Source
Instruction.scala
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class Instruction extends InstructionJ, TokenHolder

Attributes

Companion
object
Source
Instruction.scala
Supertypes
trait TokenHolder
class InstructionJ
class Object
trait Matchable
class Any
Known subtypes

Attributes

Source
JobManagerInterface.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
JobManagerOwner.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Workspace
object LabInterface

Attributes

Companion
trait
Source
LabInterface.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait LabInterface

Attributes

Companion
object
Source
LabInterface.scala
Supertypes
class Object
trait Matchable
class Any
object LambdaArgs

Attributes

Companion
class
Source
LambdaArgs.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
LambdaArgs.type
case class LambdaArgs(argumentNames: Seq[String], argumentSyntax: Seq[Int])

Attributes

Companion
object
Source
LambdaArgs.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Source
LambdaArgsHandler.scala
Supertypes
class Object
trait Matchable
class Any
Self type
case class LetBinding(let: Let, var value: AnyRef)

Attributes

Source
LetBinding.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final class LiftedLambda(name: String, nameToken: Token, argTokens: Seq[Token], val parent: Procedure, val lambdaFormals: Seq[Let], val closedLets: Set[Let], val source: String) extends Procedure

Attributes

Source
LiftedLambda.scala
Supertypes
class Procedure
class Object
trait Matchable
class Any
case class MutableDouble(var value: Double)

Attributes

Source
MutableDouble.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class MutableInteger(var value: Int)

Attributes

Source
MutableInteger.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class MutableLong(var value: Long)

Attributes

Source
MutableLong.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class NetLogoStackOverflow(ctx: Context, baseInstruction: Instruction, overflow: StackOverflowError) extends EngineException

Attributes

Source
EngineException.scala
Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class NonLocalExit extends RuntimeException

Attributes

Source
NonLocalExit.scala
Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
object Optimizations

Attributes

Source
Optimizations.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
CompilerInterface.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
PrimaryWorkspace.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Procedure

Attributes

Companion
class
Source
Procedure.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Procedure.type
class Procedure(val isReporter: Boolean, val name: String, val nameToken: Token, val argTokens: Seq[Token], val procedureDeclaration: Procedure, val baseDisplayName: Option[String]) extends FrontEndProcedure

Attributes

Companion
object
Source
Procedure.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class LiftedLambda
trait Referencer extends Command

Attributes

Source
Referencer.scala
Supertypes
class Command
class Instruction
trait TokenHolder
class InstructionJ
class Object
trait Matchable
class Any
Show all

Attributes

Source
Referencer.scala
Supertypes
class Reporter
class Instruction
trait TokenHolder
class InstructionJ
class Object
trait Matchable
class Any
Show all
abstract class Reporter extends Instruction

Attributes

Source
Reporter.scala
Supertypes
class Instruction
trait TokenHolder
class InstructionJ
class Object
trait Matchable
class Any
Show all
Known subtypes
class RuntimePrimitiveException(ctx: Context, val baseInstruction: Instruction, val message: String) extends EngineException, StackTraceBuilt

Attributes

Source
EngineException.scala
Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Scoping

Scoping lets the compiler know that this primitive introduces scope so that it can choose how to handle let-variables introduced in it.

Scoping lets the compiler know that this primitive introduces scope so that it can choose how to handle let-variables introduced in it.

Attributes

Source
Scoping.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait SelfScoping extends Scoping

SelfScoping indicates the primitive introduces scope as part of its operation.

SelfScoping indicates the primitive introduces scope as part of its operation.

Attributes

Source
Scoping.scala
Supertypes
trait Scoping
class Object
trait Matchable
class Any

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

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.

Attributes

Source
StackTraceBuilder.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
EngineException.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type
abstract class Thunk[+T]

Attributes

Source
Thunk.scala
Supertypes
class Object
trait Matchable
class Any
abstract class Tracer

Attributes

Source
Tracer.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
Workspace.scala
Supertypes
trait Workspace
trait Controllable
trait ViewSettings
trait ImporterUser
trait WorldResizer
class Object
trait Matchable
class Any
Show all
class WrappedExtensionException(ctx: Context, val baseInstruction: Instruction, val message: String, extensionException: ExtensionException) extends EngineException, StackTraceBuilt

Attributes

Source
EngineException.scala
Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class WrappedLogoException(logoException: LogoException, ctx: Context, val baseInstruction: Instruction, val message: String) extends EngineException, StackTraceBuilt

Attributes

Source
EngineException.scala
Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all