class ReporterBlock extends Expression
represents a block containing exactly one expression. Called a reporter block rather than an expression block for consistency with usual NetLogo jargon. Note that this is an Expression, and as such can be an argument to commands and reporters, etc. However, it is a different expression from the expression it contains... Its "blockness" is significant.
- Source
- AstNode.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ReporterBlock
- Expression
- AstNode
- SourceLocatable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ReporterBlock(app: ReporterApp, 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 app: ReporterApp
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
changeLocation(newLocation: SourceLocation): ReporterBlock
- Definition Classes
- ReporterBlock → Expression
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
- def copy(app: ReporterApp = app, location: SourceLocation = sourceLocation): ReporterBlock
-
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()
-
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
computes the type of this block.
computes the type of this block. Reporter block types are determined in a somewhat complicated way. This is derived from code from the old parser.
- Definition Classes
- ReporterBlock → Expression
-
val
sourceLocation: SourceLocation
- Definition Classes
- ReporterBlock → SourceLocatable
-
def
start: Int
- Definition Classes
- SourceLocatable
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- ReporterBlock → 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( ... )