SyntaxJ

org.nlogo.core.SyntaxJ
object SyntaxJ

Legacy convenience methods for constructing Syntax objects, for use by extensions written in Java.

Attributes

Source
SyntaxJ.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
SyntaxJ.type

Members list

Value members

Concrete methods

Returns a Syntax object for commands with no arguments.

Returns a Syntax object for commands with no arguments.

Attributes

Source
SyntaxJ.scala
def commandSyntax(right: Array[Int]): Syntax

Returns a Syntax for commands with one or more right arguments.

Returns a Syntax for commands with one or more right arguments.

Value parameters

right

an array of Type flags that are to be to the right of the Primitive

Attributes

Source
SyntaxJ.scala
def commandSyntax(right: Array[Int], dfault: Int): Syntax

Returns a Syntax for commands with a variable number of arguments.

Returns a Syntax for commands with a variable number of arguments.

Value parameters

dfault

the default number of arguments if no parenthesis are used.

right

an array of Type flags that are to be to the right of the primitive

Attributes

Source
SyntaxJ.scala
def commandSyntax(right: Array[Int], agentClassString: String): Syntax

Attributes

Source
SyntaxJ.scala
def commandSyntax(agentClassString: String): Syntax

Attributes

Source
SyntaxJ.scala
def reporterSyntax(ret: Int, agentClassString: String): Syntax

Attributes

Source
SyntaxJ.scala
def reporterSyntax(left: Int, right: Array[Int], ret: Int, precedence: Int, isRightAssociative: Boolean): Syntax

Attributes

Source
SyntaxJ.scala
def reporterSyntax(right: Array[Int], ret: Int, agentClassString: String, blockAgentClassString: String): Syntax

Attributes

Source
SyntaxJ.scala
def reporterSyntax(right: Array[Int], ret: Int, agentClassString: String): Syntax

Attributes

Source
SyntaxJ.scala
def reporterSyntax(right: Array[Int], ret: Int, dfault: Int, minimum: Int): Syntax

Attributes

Source
SyntaxJ.scala
def reporterSyntax(left: Int, right: Array[Int], ret: Int, precedence: Int, isRightAssociative: Boolean, agentClassString: String, blockAgentClassString: String): Syntax

Attributes

Source
SyntaxJ.scala

Returns a Syntax for reporters with no arguments

Returns a Syntax for reporters with no arguments

Value parameters

ret

the return type

Attributes

Source
SyntaxJ.scala
def reporterSyntax(left: Int, right: Array[Int], ret: Int, precedence: Int): Syntax

Returns a Syntax for reporters with infix arguments.

Returns a Syntax for reporters with infix arguments.

Value parameters

ret

the return type

Attributes

Source
SyntaxJ.scala
def reporterSyntax(right: Array[Int], ret: Int): Syntax

Returns a Syntax for reporters with one or more right arguments

Returns a Syntax for reporters with one or more right arguments

Value parameters

ret

the return type

right

an array of Type flags that are to the be right of the Primitive

Attributes

Source
SyntaxJ.scala
def reporterSyntax(right: Array[Int], ret: Int, dfault: Int): Syntax

Returns a Syntax for reporters with a variable number of arguments.

Returns a Syntax for reporters with a variable number of arguments.

Value parameters

dfault

the default number of arguments if no parenthesis are used.

ret

the return type

right

an array of Type flags that are to the be right of the primitive

Attributes

Source
SyntaxJ.scala