NetLogo 6.2.2 - org.nlogo.core.Syntax
Keywords: NetLogo 6.2.2 org.nlogo.core.Syntax

NetLogo6.2.2 < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package org
  Definition Classes
    root
-  package nlogo
  Definition Classes
    org
-  package core
  Definition Classes
    nlogo
-  package model
  Definition Classes
    core
- AgentKind
- AgentKindJ
- AgentVariableSet
- AgentVariables
- AllShapesReplaced
- Application
- AstFolder
- AstNode
- AstTransformer
- AstVisitor
- BoxedValue
- Breed
- BreedIdentifierHandler
- Button
- Chooseable
- ChooseableBoolean
- ChooseableDouble
- ChooseableList
- ChooseableString
- Chooser
- ClosedLambdaVariable
- ClosedLet
- ClosedVariable
- Color
- ColorConstants
- Command
- CommandBlock
- CompilationEnvironment
- CompilationOperand
- CompilerException
- CompilerUtilitiesInterface
- ConstraintSpecification
- DeclaresConstraint
- DeclaresGlobal
- DeclaresGlobalCommand
- DefaultTokenMapper
- Dialect
- Direction
- DummyCompilationEnvironment
- DummyExtensionManager
- DummyLibraryManager
- Dump
- ErrorSource
- Expression
- ExtensionManager
- ExtensionObject
- Fail
- Femto
- File
- FileMode
- FileModeJ
- FrontEndInterface
- FrontEndProcedure
- Horizontal
- I18N
- I18NJava
- InputBox
- Instantiator
- Instruction
- Keywords
- Let
- LibraryInfo
- LibraryManager
- LibraryStatus
- LiteralImportHandler
- LiteralParser
- LogoList
- LowPriorityDialect
- Model
- ModelInfo
- Monitor
- NamedWidget
- NetLogoCore
- Nobody
- NumberParser
- NumericInput
- OptionalSection
- Output
- Pen
- Plot
- PlotPenInterface
- PlotPenState
- Primitive
- PrimitiveCommand
- PrimitiveReporter
- ProcedureDefinition
- ProcedureSyntax
- Program
- Pure
- Reference
- Referenceable
- Reporter
- ReporterApp
- ReporterBlock
- Resource
- Shape
- ShapeAdded
- ShapeEvent
- ShapeList
- ShapeListTracker
- ShapeParser
- ShapeRemoved
- ShapesAdded
- Slider
- SourceLocatable
- SourceLocation
- SourceRelocatable
- SourceRewriter
- SourceWrapping
- Statement
- Statements
- StringEscaper
- StringInput
- StructureDeclarations
- StructureResults
- Switch
- Syntax
- SyntaxJ
- TextBox
- Token
- TokenColorizer
- TokenHolder
- TokenMapper
- TokenMapperInterface
- TokenType
- TokenTypeJ
- TokenizerInterface
- TypeNames
- UpdateMode
- UpdateModeJ
- VersionUtils
- Vertical
- View
- Widget
- WorldDimensions

o

org.nlogo.core

# Syntax 

###
Companion class Syntax

#### object Syntax extends Serializable

Source
  Syntax.scala

Linear Supertypes
Serializable, Serializable, AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. Syntax
2. Serializable
3. Serializable
4. AnyRef
5. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##(): Int
   Definition Classes
     AnyRef → Any
3.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
4.  val AgentType: Int

   Type constant for set of agents.

   Type constant for set of agents. `AgentType = TurtleType | PatchType | LinkType`.

5.  val AgentsetType: Int

   Type constant for set of agents.

   Type constant for set of agents. `AgentsetType = TurtlesetType | PatchsetType | LinksetType`.

6.  val BooleanBlockType: Int

   Type constant for boolean reporter blocks *

7.  val BooleanType: Int

   Type constant for boolean.

   Type constant for boolean. *

8.  val BracketedType: Int
9.  val CodeBlockType: Int

   for CodeBlocks, a list of tokens

10.  val CommandBlockType: Int

    Type constant for command blocks *

11.  val CommandPrecedence: Int
12.  val CommandType: Int

    Type constant for anonymous commands / "command lambdas".

    Type constant for anonymous commands / "command lambdas". *

13.  val LinkType: Int

    Type constant for links.

    Type constant for links. *

14.  val LinksetType: Int

    Type constant for agentset of links.

    Type constant for agentset of links. *

15.  val ListType: Int

    Type constant for list.

    Type constant for list. *

16.  val NobodyType: Int

    Type constant for nobody.

    Type constant for nobody. *

17.  val NormalPrecedence: Int
18.  val NumberBlockType: Int

    Type constant for number reporter blocks *

19.  val NumberType: Int

    Type constant for number (integer or floating point).

20.  val OptionalType: Int

    Type constant for optional arguments.

    Type constant for optional arguments. At present, OptionalType is implemented only in combination with CommandBlockType as the last argument - ST 5/25/06

21.  val OtherBlockType: Int

    Type constant for non-boolean, non-number reporter blocks *

22.  val PatchType: Int

    Type constant for patches.

    Type constant for patches. *

23.  val PatchsetType: Int

    Type constant for agentset of patches.

    Type constant for agentset of patches. *

24.  val ReadableType: Int

    Type constant for readables.

    Type constant for readables. `ReadableType = NumberType | BooleanType | StringType | ListType | NobodyType`

25.  val ReferenceType: Int
26.  val RepeatableType: Int

    Type constant to indicate that an input is variadic it should be used with another type desgination, for example: `NumberType | RepeatableType` indicates that this input is a number and is variadic

27.  val ReporterBlockType: Int

    Type constant for reporter blocks `ReporterBlockType = BooleanBlockType | NumberBlockType | OtherBlockType`

28.  val ReporterType: Int

    Type constant for anonymous reporters / "reporter lambdas".

    Type constant for anonymous reporters / "reporter lambdas". *

29.  val StringType: Int

    Type constant for string.

    Type constant for string. *

30.  val SymbolType: Int

    for Symbols, a single token

31.  val TurtleType: Int

    Type constant for turtles.

    Type constant for turtles. *

32.  val TurtlesetType: Int

    Type constant for agentset of turtles.

    Type constant for agentset of turtles. *

33.  val VoidType: Int

    Unsupported. Do not use.

34.  val WildcardType: Int

    Type constant for wildcard (any input) `WildcardType = NumberType | BooleanType | StringType | ListType | AgentType | AgentsetType | NobodyType` this type is also used to identify extension types

35.  final def asInstanceOf[T0]: T0
    Definition Classes
      Any
36.  def clone(): AnyRef
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( ... ) @native()
37.  def commandSyntax(right: List[Int] = List(), defaultOption: Option[Int] = None, minimumOption: Option[Int] = None, agentClassString: String = "OTPL", blockAgentClassString: Option[String] = None, introducesContext: Boolean = false, canBeConcise: Boolean = true): Syntax
38.  def compatible(mask: Int, value: Int): Boolean
39.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
40.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
41.  def finalize(): Unit
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
42.  def getAgentSetMask(kind: AgentKind): Int
43.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
44.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
45.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
46.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
47.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
48.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
49.  def reporterSyntax(precedence: Int = NormalPrecedence, left: Int = Syntax.VoidType, right: List[Int] = List(), ret: Int, defaultOption: Option[Int] = None, minimumOption: Option[Int] = None, isRightAssociative: Boolean = false, agentClassString: String = "OTPL", blockAgentClassString: Option[String] = None): Syntax
50.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
51.  def toString(): String
    Definition Classes
      AnyRef → Any
52.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
53.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
54.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... ) @native()

### Inherited from Serializable

### Inherited from AnyRef

### Inherited from Any

### Ungrouped