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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
args: Seq[Expression]
- Definition Classes
- ReporterApp → Application
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
changeLocation(newLocation: SourceLocation): ReporterApp
- Definition Classes
- ReporterApp → Expression
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
- def copy(reporter: Reporter = reporter, args: Seq[Expression] = args, location: SourceLocation = sourceLocation): ReporterApp
-
def
end: Int
- Definition Classes
- SourceLocatable
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
filename: String
- Definition Classes
- SourceLocatable
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
instruction: Reporter
the args for this application.
the args for this application.
- Definition Classes
- ReporterApp → Application
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- ReporterApp → AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def withArguments(args: Seq[Expression]): ReporterApp