Expression

org.nlogo.compile.api.Expression
trait Expression extends AstNode

represents a NetLogo expression. An expression is either a block or a reporter application (variable references and constants (including lists), are turned into reporter applications).

Attributes

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

Members list

Value members

Abstract methods

def reportedType(): Int

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

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

Inherited and Abstract methods

Attributes

Inherited from:
AstNode
Source
AstNode.scala

Attributes

Inherited from:
SourceLocatable
Source
SourceLocation.scala