CommandBlock
org.nlogo.compile.api.CommandBlock
class CommandBlock(val statements: Statements, val sourceLocation: SourceLocation) 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.
Attributes
- Source
- AstNode.scala
- Graph
-
- Supertypes
-
trait Expressiontrait AstNodetrait AstNodetrait SourceLocatableclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Attributes
- Source
- AstNode.scala
Attributes
- Source
- AstNode.scala
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
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
Inherited methods
Attributes
- Inherited from:
- SourceLocatable
- Source
- SourceLocation.scala
Attributes
- Inherited from:
- SourceLocatable
- Source
- SourceLocation.scala
Attributes
- Inherited from:
- SourceLocatable
- Source
- SourceLocation.scala
In this article