Statement

org.nlogo.compile.api.Statement
class Statement(val coreCommand: Command, var command: Command, _args: Buffer[Expression], val sourceLocation: SourceLocation) extends Application

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

Attributes

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

Members list

Value members

Constructors

def this(coreCommand: Command, command: Command, args: Seq[Expression], sourceLocation: SourceLocation)

Attributes

Source
AstNode.scala

Concrete methods

Attributes

Source
AstNode.scala

Attributes

Source
AstNode.scala

Attributes

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

Attributes

Source
AstNode.scala

Attributes

Source
AstNode.scala

Attributes

Source
AstNode.scala
def removeArgument(index: Int): Unit

Attributes

Source
AstNode.scala
def replaceArg(index: Int, expr: Expression): Unit

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

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

var command: Command

Attributes

Source
AstNode.scala

Attributes

Source
AstNode.scala