class CommandBlock extends Expression
represents a block containing zero or more statements. Called a command block rather than a statement 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.
- Source
- AstNode.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CommandBlock
- Expression
- AstNode
- SourceLocatable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new CommandBlock(statements: Statements, sourceLocation: SourceLocation, synthetic: Boolean = false)
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
changeLocation(newLocation: SourceLocation): CommandBlock
- Definition Classes
- CommandBlock → Expression
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
- def copy(statements: Statements = statements, location: SourceLocation = sourceLocation): CommandBlock
-
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
returns the type of this expression.
returns the type of this expression. Generally synthesized from types of subexpressions.
- Definition Classes
- CommandBlock → Expression
-
val
sourceLocation: SourceLocation
- Definition Classes
- CommandBlock → SourceLocatable
-
def
start: Int
- Definition Classes
- SourceLocatable
- val statements: Statements
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val synthetic: Boolean
-
def
toString(): String
- Definition Classes
- CommandBlock → 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( ... )