Packages

c

org.nlogo.core

ReporterBlock

class ReporterBlock extends Expression

represents a block containing exactly one expression. Called a reporter block rather than an expression block for consistency with usual NetLogo jargon. Note that this is an Expression, and as such can be an argument to commands and reporters, etc. However, it is a different expression from the expression it contains... Its "blockness" is significant.

Source
AstNode.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReporterBlock
  2. Expression
  3. AstNode
  4. SourceLocatable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ReporterBlock(app: ReporterApp, sourceLocation: SourceLocation)

Value Members

  1. val app: ReporterApp
  2. def changeLocation(newLocation: SourceLocation): ReporterBlock
    Definition Classes
    ReporterBlockExpression
  3. def copy(app: ReporterApp = app, location: SourceLocation = sourceLocation): ReporterBlock
  4. def end: Int
    Definition Classes
    SourceLocatable
  5. def filename: String
    Definition Classes
    SourceLocatable
  6. def reportedType(): Int

    computes the type of this block.

    computes the type of this block. Reporter block types are determined in a somewhat complicated way. This is derived from code from the old parser.

    Definition Classes
    ReporterBlockExpression
  7. val sourceLocation: SourceLocation
    Definition Classes
    ReporterBlockSourceLocatable
  8. def start: Int
    Definition Classes
    SourceLocatable
  9. def toString(): String
    Definition Classes
    ReporterBlock → AnyRef → Any