AstNode

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

An interface representing a node in the NetLogo abstract syntax tree (AKA parse tree, in NetLogo's case).

Each AstNode, even if synthesized, should correspond to some particular source fragment, as indicated by the position and length. It's the compiler's job to make sure these values are always reasonable.

Attributes

Source
AstNode.scala
Graph
Supertypes
trait AstNode
class Object
trait Matchable
class Any
Known subtypes
trait Application
class ReporterApp
class Statement
trait Expression
class CodeBlock
class CommandBlock
class Statements
Show all

Members list

Value members

Abstract methods

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:
SourceLocatable
Source
SourceLocation.scala