object Syntax extends Serializable
- Source
- Syntax.scala
- Alphabetic
- By Inheritance
- Syntax
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
AgentType: Int
Type constant for set of agents.
Type constant for set of agents.
AgentType = TurtleType | PatchType | LinkType
. -
val
AgentsetType: Int
Type constant for set of agents.
Type constant for set of agents.
AgentsetType = TurtlesetType | PatchsetType | LinksetType
. -
val
BooleanBlockType: Int
Type constant for boolean reporter blocks *
-
val
BooleanType: Int
Type constant for boolean.
Type constant for boolean. *
- val BracketedType: Int
-
val
CodeBlockType: Int
for CodeBlocks, a list of tokens
-
val
CommandBlockType: Int
Type constant for command blocks *
- val CommandPrecedence: Int
-
val
CommandType: Int
Type constant for anonymous commands / "command lambdas".
Type constant for anonymous commands / "command lambdas". *
-
val
LinkType: Int
Type constant for links.
Type constant for links. *
-
val
LinksetType: Int
Type constant for agentset of links.
Type constant for agentset of links. *
-
val
ListType: Int
Type constant for list.
Type constant for list. *
-
val
NobodyType: Int
Type constant for nobody.
Type constant for nobody. *
- val NormalPrecedence: Int
-
val
NumberBlockType: Int
Type constant for number reporter blocks *
-
val
NumberType: Int
Type constant for number (integer or floating point).
-
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
-
val
OtherBlockType: Int
Type constant for non-boolean, non-number reporter blocks *
-
val
PatchType: Int
Type constant for patches.
Type constant for patches. *
-
val
PatchsetType: Int
Type constant for agentset of patches.
Type constant for agentset of patches. *
-
val
ReadableType: Int
Type constant for readables.
Type constant for readables.
ReadableType = NumberType | BooleanType | StringType | ListType | NobodyType
- val ReferenceType: Int
-
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 -
val
ReporterBlockType: Int
Type constant for reporter blocks
ReporterBlockType = BooleanBlockType | NumberBlockType | OtherBlockType
-
val
ReporterType: Int
Type constant for anonymous reporters / "reporter lambdas".
Type constant for anonymous reporters / "reporter lambdas". *
-
val
StringType: Int
Type constant for string.
Type constant for string. *
-
val
SymbolType: Int
for Symbols, a single token
-
val
TurtleType: Int
Type constant for turtles.
Type constant for turtles. *
-
val
TurtlesetType: Int
Type constant for agentset of turtles.
Type constant for agentset of turtles. *
-
val
VoidType: Int
Unsupported. Do not use.
-
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 -
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
- 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
- def compatible(mask: Int, value: Int): Boolean
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def getAgentSetMask(kind: AgentKind): Int
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isVariadic(args: Seq[Int]): Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- 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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )