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
Known subtypes
class _repeat
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
Known subtypes

Attributes

Source
CustomGenerated.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
DefaultCompilerServices.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
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
Known subtypes
class Generator
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
class Reporter
class _reference
trait DeadReporter
class _applyresult
class _block
class _bothends
class _dateandtime
class _dump
class _dump1
class _extracthsb
class _filter
class _hsb
class _hsbold
class _ifelsevalue
class _insertitem
class _isagent
class _isagentset
class _isboolean
class _islink
class _islinkset
class _islist
class _isnumber
class _ispatch
class _ispatchset
class _isstring
class _isturtle
class _isturtleset
class _linklength
class _map
class _maxpxcor
class _maxpycor
class _minpxcor
class _minpycor
class _myinlinks
class _mylinks
class _myoutlinks
class _nanotime
class _netlogoweb
class _newseed
class _nolinks
class _nopatches
class _noturtles
class _nvalues
class _patchsize
class _processors
class _randompxcor
class _randompycor
class _randomstate
class _randomxcor
class _randomycor
class _range
class _reduce
class _runresult
class _self
class _shapes
class _sortby
class _sorton
class _stacktrace
class _symbol
class _timer
class _uptonof
class _worldheight
class _worldwidth
class _fileatend
class _fileexists
class _fileread
class _mousedown
class _mouseinside
class _mousexcor
class _mouseycor
class _userfile
class _userinput
class _usernewfile
class _useroneof
class _useryesorno
class PlotReporter
class _autoplot
class _autoplotx
class _autoploty
class _plotname
class _plotxmax
class _plotxmin
class _plotymax
class _plotymin
class _breedat
class _distancexyz
class _dz
class _linkpitch
class _maxpzcor
class _minpzcor
class _neighbors6
class _oheading
class _opitch
class _oroll
class _oxcor
class _oycor
class _ozcor
class _patch
class _patchat
class _randompzcor
class _randomzcor
class _turtlesat
class _worlddepth
class _anybreedon
class _breed
class _breedat
class _breedhere
class _breedon
class _const
class _constsymbol
class _inlinkfrom
class _letvariable
class _link
class _linkbreed
class _links
class _linkwith
class _nobody
class _outlinkto
class _patch
class _patchat
class _patchcol
class _patcheast
class _patches
class _patchne
class _patchnorth
class _patchnw
class _patchrow
class _patchse
class _patchsouth
class _patchsw
class _patchwest
class _randomconst
class _sentence
class _turtles
class _whoarenot
trait HubNetPrim
class _hubnetreset
class _hubnetsend
trait Helpers
class PlotCommand
class _autoplotoff
class _autoploton
class _autoplotxon
class _autoplotyon
class _clearplot
class _exportplot
class _exportplots
class _histogram
class _plot
class _plotpendown
class _plotpenhide
class _plotpenshow
class _plotpenup
class _plotxy
class _setupplots
class _updateplots
Show all

Attributes

Source
JobManagerInterface.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class JobManager

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
Known subtypes
class Lab
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
Known subtypes
class Compiler
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
Known subtypes
class _diffuse
class _diffuse4
class _downhill
class _downhill4
class _uphill
class _uphill4
Show all

Attributes

Source
Referencer.scala
Supertypes
class Reporter
class Instruction
trait TokenHolder
class InstructionJ
class Object
trait Matchable
class Any
Show all
Known subtypes
class _reference
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 _reference
trait DeadReporter
class _applyresult
class _block
class _bothends
class _dateandtime
class _dump
class _dump1
class _extracthsb
class _filter
class _hsb
class _hsbold
class _ifelsevalue
class _insertitem
class _isagent
class _isagentset
class _isboolean
class _islink
class _islinkset
class _islist
class _isnumber
class _ispatch
class _ispatchset
class _isstring
class _isturtle
class _isturtleset
class _linklength
class _map
class _maxpxcor
class _maxpycor
class _minpxcor
class _minpycor
class _myinlinks
class _mylinks
class _myoutlinks
class _nanotime
class _netlogoweb
class _newseed
class _nolinks
class _nopatches
class _noturtles
class _nvalues
class _patchsize
class _processors
class _randompxcor
class _randompycor
class _randomstate
class _randomxcor
class _randomycor
class _range
class _reduce
class _runresult
class _self
class _shapes
class _sortby
class _sorton
class _stacktrace
class _symbol
class _timer
class _uptonof
class _worldheight
class _worldwidth
class _fileatend
class _fileexists
class _fileread
class _mousedown
class _mouseinside
class _mousexcor
class _mouseycor
class _userfile
class _userinput
class _usernewfile
class _useroneof
class _useryesorno
class PlotReporter
class _autoplot
class _autoplotx
class _autoploty
class _plotname
class _plotxmax
class _plotxmin
class _plotymax
class _plotymin
class _breedat
class _distancexyz
class _dz
class _linkpitch
class _maxpzcor
class _minpzcor
class _neighbors6
class _oheading
class _opitch
class _oroll
class _oxcor
class _oycor
class _ozcor
class _patch
class _patchat
class _randompzcor
class _randomzcor
class _turtlesat
class _worlddepth
class _anybreedon
class _breed
class _breedat
class _breedhere
class _breedon
class _const
class _constsymbol
class _inlinkfrom
class _letvariable
class _link
class _linkbreed
class _links
class _linkwith
class _nobody
class _outlinkto
class _patch
class _patchat
class _patchcol
class _patcheast
class _patches
class _patchne
class _patchnorth
class _patchnw
class _patchrow
class _patchse
class _patchsouth
class _patchsw
class _patchwest
class _randomconst
class _sentence
class _turtles
class _whoarenot
Show all
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
Known subtypes

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
Known subtypes
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