class ReporterApp extends Application with 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.
- Source
- AstNode.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ReporterApp
- Expression
- Application
- AstNode
- SourceLocatable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ReporterApp(reporter: Reporter, location: SourceLocation)
- new ReporterApp(reporter: Reporter, args: Seq[Expression], sourceLocation: SourceLocation)
Value Members
-
val
args: Seq[Expression]
- Definition Classes
- ReporterApp → Application
-
def
changeLocation(newLocation: SourceLocation): ReporterApp
- Definition Classes
- ReporterApp → Expression
- def copy(reporter: Reporter = reporter, args: Seq[Expression] = args, location: SourceLocation = sourceLocation): ReporterApp
-
def
end: Int
- Definition Classes
- SourceLocatable
-
def
filename: String
- Definition Classes
- SourceLocatable
-
def
instruction: Reporter
the args for this application.
the args for this application.
- Definition Classes
- ReporterApp → Application
-
def
reportedType(): Int
returns the type of this expression.
returns the type of this expression. Generally synthesized from types of subexpressions.
- Definition Classes
- ReporterApp → Expression
- var reporter: Reporter
-
val
sourceLocation: SourceLocation
- Definition Classes
- ReporterApp → SourceLocatable
-
def
start: Int
- Definition Classes
- SourceLocatable
-
def
toString(): String
- Definition Classes
- ReporterApp → AnyRef → Any
- def withArguments(args: Seq[Expression]): ReporterApp