Statement

org.nlogo.core.Statement
See theStatement companion object
class Statement(var command: Command, val args: Seq[Expression], val sourceLocation: SourceLocation) extends Application

represents a NetLogo statement. Statements only have one form: command application.

Attributes

Companion
object
Source
AstNode.scala
Graph
Supertypes
trait Application
trait AstNode
class Object
trait Matchable
class Any
Show all

Members list

Value members

Constructors

def this(command: Command, sourceLocation: SourceLocation)

Attributes

Source
AstNode.scala

Concrete methods

Attributes

Source
AstNode.scala
def copy(command: Command, args: Seq[Expression], location: SourceLocation): Statement

Attributes

Source
AstNode.scala

Attributes

Source
AstNode.scala
override def toString: String

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

Attributes

Source
AstNode.scala

Inherited methods

def end: Int

Attributes

Inherited from:
SourceLocatable
Source
SourceLocation.scala

Attributes

Inherited from:
SourceLocatable
Source
SourceLocation.scala
def start: Int

Attributes

Inherited from:
SourceLocatable
Source
SourceLocation.scala

Concrete fields

Attributes

Source
AstNode.scala

Attributes

Source
AstNode.scala