Statements

org.nlogo.compile.api.Statements
class Statements(var stmts: Seq[Statement], var sourceLocation: SourceLocation) extends AstNode

represents a chunk of zero or more NetLogo statements. Note that this is not necessarily a "block" of statements, as block means something specific (enclosed in [], in particular). This class is used to represent other groups of statements as well, for instance procedure bodies.

Attributes

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

Members list

Value members

Constructors

def this(stmts: Seq[Statement], sourceLocation: SourceLocation)

Attributes

Source
AstNode.scala

Concrete methods

Attributes

Source
AstNode.scala

a List of the actual Statement objects.

a List of the actual Statement objects.

Attributes

Source
AstNode.scala
def copy(stmts: Seq[Statement], sourceLocation: SourceLocation): Statements

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

Attributes

Source
AstNode.scala