ReporterApp

org.nlogo.core.ReporterApp
See theReporterApp companion object
class ReporterApp(var reporter: Reporter, val args: Seq[Expression], val sourceLocation: SourceLocation) extends Application, Expression

represents a reporter application. This is the typical kind of NetLogo expression, things like "round 5" and "3 + 4". However, this class also represents things like constants, which are converted into no-arg reporter applications as they're parsed.

Attributes

Companion
object
Source
AstNode.scala
Graph
Supertypes
trait Expression
trait Application
trait AstNode
class Object
trait Matchable
class Any
Show all

Members list

Value members

Constructors

def this(reporter: Reporter, location: SourceLocation)

Attributes

Source
AstNode.scala

Concrete methods

Attributes

Source
AstNode.scala
def copy(reporter: Reporter, args: Seq[Expression], location: SourceLocation): ReporterApp

Attributes

Source
AstNode.scala

the args for this application.

the args for this application.

Attributes

Source
AstNode.scala
def reportedType(): Int

returns the type of this expression. Generally synthesized from types of subexpressions.

returns the type of this expression. Generally synthesized from types of subexpressions.

Attributes

Source
AstNode.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
AstNode.scala

Attributes

Source
AstNode.scala

Inherited methods

def end: Int

Attributes

Inherited from:
SourceLocatable
Source
SourceLocation.scala

Attributes

Inherited from:
SourceLocatable
Source
SourceLocation.scala
def start: Int

Attributes

Inherited from:
SourceLocatable
Source
SourceLocation.scala

Concrete fields

Attributes

Source
AstNode.scala

Attributes

Source
AstNode.scala