c

org.nlogo.nvm

Argument

class Argument extends api.Argument

Passes arguments to extension primitives.

Source
Argument.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Argument
  2. Argument
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Argument(context: Context, arg: Reporter)

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def get: AnyRef

    Returns the argument as an Object without type checking.

    Returns the argument as an Object without type checking.

    Definition Classes
    ArgumentArgument
    Exceptions thrown

    api.LogoException if a LogoException occurred while evaluating this argument

  9. def getAgent: Agent

    Returns the argument as an Agent.

    Returns the argument as an Agent.

    Definition Classes
    ArgumentArgument
    Annotations
    @throws( classOf[ExtensionException] )
    Exceptions thrown

    api.ExtensionException if the argument is not an Agent

    api.LogoException if a LogoException occurred while evaluating this argument

  10. def getAgentSet: AgentSet

    Returns the argument as an org.nlogo.api.AgentSet.

    Returns the argument as an org.nlogo.api.AgentSet.

    Definition Classes
    ArgumentArgument
    Annotations
    @throws( classOf[ExtensionException] )
    Exceptions thrown

    api.ExtensionException if the argument is not an AgentSet

    api.LogoException if a LogoException occurred while evaluating this argument

  11. def getBoolean: Boolean

    Returns the argument as a boxed java.lang.Boolean

    Returns the argument as a boxed java.lang.Boolean

    Definition Classes
    ArgumentArgument
    Annotations
    @throws( classOf[ExtensionException] )
    Exceptions thrown

    api.ExtensionException if the argument is not a Boolean

    api.LogoException if a LogoException occurred while evaluating this argument

  12. def getBooleanValue: Boolean

    Returns the value of the argument as an unboxed boolean.

    Returns the value of the argument as an unboxed boolean.

    Definition Classes
    ArgumentArgument
    Annotations
    @throws( classOf[ExtensionException] )
    Exceptions thrown

    api.ExtensionException if the argument is not a boolean

    api.LogoException if a LogoException occurred while evaluating this argument

  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  14. def getCode: List[Token]

    Returns the argument as a java.utilList[Token].

    Returns the argument as a java.utilList[Token].

    Definition Classes
    ArgumentArgument
    Annotations
    @throws( classOf[ExtensionException] )
    Exceptions thrown

    api.ExtensionException if the argument is not a valid block of tokens

    api.LogoException if a LogoException occurred while evaluating this argument

  15. def getCommand: api.AnonymousCommand

    Returns the argument as a org.nlogo.api.AnonymousCommand.

    Returns the argument as a org.nlogo.api.AnonymousCommand.

    Definition Classes
    ArgumentArgument
    Annotations
    @throws( classOf[ExtensionException] )
    Exceptions thrown

    api.ExtensionException if the argument is not an AnonymousCommand

    api.LogoException if a LogoException occurred while evaluating this argument

  16. def getDouble: Double

    Returns the value of the argument as a boxed java.lang.Double.

    Returns the value of the argument as a boxed java.lang.Double.

    Definition Classes
    ArgumentArgument
    Annotations
    @throws( classOf[ExtensionException] )
    Exceptions thrown

    api.ExtensionException if the argument is not a number.

    api.LogoException if a LogoException occurred while evaluating this argument

  17. def getDoubleValue: Double

    Returns the value of the argument as an unboxed double.

    Returns the value of the argument as an unboxed double.

    Definition Classes
    ArgumentArgument
    Annotations
    @throws( classOf[ExtensionException] )
    Exceptions thrown

    api.ExtensionException if the argument is not a number.

    api.LogoException if a LogoException occurred while evaluating this argument

  18. def getExceptionMessage(wantedType: Int, badValue: AnyRef): String
  19. def getIntValue: Int

    Returns the value of the argument as an unboxed int.

    Returns the value of the argument as an unboxed int. Any fractional part is discarded.

    Definition Classes
    ArgumentArgument
    Annotations
    @throws( classOf[ExtensionException] )
    Exceptions thrown

    api.ExtensionException if the argument is not a number.

    api.LogoException if a LogoException occurred while evaluating this argument

  20. def getLink: Link

    Returns the argument as a org.nlogo.api.Link.

    Returns the argument as a org.nlogo.api.Link.

    Definition Classes
    ArgumentArgument
    Annotations
    @throws( classOf[ExtensionException] )
    Exceptions thrown

    api.ExtensionException if the argument is not a Link

    api.LogoException if a LogoException occurred while evaluating this argument

  21. def getList: LogoList

    Returns the argument as a org.nlogo.core.LogoList

    Returns the argument as a org.nlogo.core.LogoList

    Definition Classes
    ArgumentArgument
    Annotations
    @throws( classOf[ExtensionException] )
    Exceptions thrown

    api.ExtensionException if the argument is not a LogoList

    api.LogoException if a LogoException occurred while evaluating this argument

  22. def getPatch: Patch

    Returns the argument as an org.nlogo.api.Patch

    Returns the argument as an org.nlogo.api.Patch

    Definition Classes
    ArgumentArgument
    Annotations
    @throws( classOf[ExtensionException] )
    Exceptions thrown

    api.ExtensionException if the argument is not a Patch

    api.LogoException if a LogoException occurred while evaluating this argument

  23. def getReference: Reference

    Used by the GIS extension.

    Used by the GIS extension. Other extensions should use getSymbol where possible. The compiler turns the reference into a _const, we just ensure the value is a reference.

    Annotations
    @throws( classOf[ExtensionException] ) @throws( classOf[LogoException] )
  24. def getReporter: api.AnonymousReporter

    Returns the argument as a org.nlogo.api.AnonymousReporter.

    Returns the argument as a org.nlogo.api.AnonymousReporter.

    Definition Classes
    ArgumentArgument
    Annotations
    @throws( classOf[ExtensionException] )
    Exceptions thrown

    api.ExtensionException if the argument is not an AnonymousReporter

    api.LogoException if a LogoException occurred while evaluating this argument

  25. def getString: String

    Returns the argument as a String

    Returns the argument as a String

    Definition Classes
    ArgumentArgument
    Annotations
    @throws( classOf[ExtensionException] )
    Exceptions thrown

    api.ExtensionException if the argument cannot be cast to a String

    api.LogoException if a LogoException occurred while evaluating this argument

  26. def getSymbol: Token

    Returns the argument as a org.nlogo.api.Token.

    Returns the argument as a org.nlogo.api.Token.

    Definition Classes
    ArgumentArgument
    Annotations
    @throws( classOf[ExtensionException] )
    Exceptions thrown

    api.ExtensionException if the argument is not a Token

    api.LogoException if a LogoException occurred while evaluating this argument

  27. def getTurtle: Turtle

    Returns the argument as a org.nlogo.api.Turtle.

    Returns the argument as a org.nlogo.api.Turtle.

    Definition Classes
    ArgumentArgument
    Annotations
    @throws( classOf[ExtensionException] )
    Exceptions thrown

    api.ExtensionException if the argument is not a Turtle

    api.LogoException if a LogoException occurred while evaluating this argument

  28. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  33. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. def unevaluatedArgument: Reporter

    Used by the rnd extension.

    Used by the rnd extension. Other extensions should use getReporter where possible

  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from api.Argument

Inherited from AnyRef

Inherited from Any

Ungrouped