trait Reporter extends PrimitiveReporter
Interface for NetLogo reporters. Reporters are primitives that return a value. All new reporters must implement this interface.
- Source
- Reporter.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Reporter
- PrimitiveReporter
- Primitive
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
getSyntax: Syntax
- Definition Classes
- Primitive
-
abstract
def
report(args: Array[Argument], context: Context): AnyRef
Executes this
Reporter
.Executes this
Reporter
. Called by NetLogo when thisReporter
is called in a running NetLogo model.- args
The
Argument
s that were included with the command in the NetLogo code. (May be aReporter
or a constant.)- context
The current
Context
allows access to NetLogo internal methods.- returns
the object to be reported
- Annotations
- @throws( classOf[ExtensionException] )
- Exceptions thrown