org.moe.runtime

MoePackage

class MoePackage extends MoeObject

A Package!

Linear Supertypes
MoeObject, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MoePackage
  2. MoeObject
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MoePackage(name: String, env: MoeEnvironment)

    name

    The name of the package

    env

    The package's environment

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addClass(klass: MoeClass): Unit

    adds class to this package

    adds class to this package

    klass

    The class

  7. def addSubPackage(pkg: MoePackage): Unit

    add SubPackage to this package

    add SubPackage to this package

    pkg

    The SubPackage to add

  8. def addSubroutine(sub: MoeSubroutine): Unit

    adds subroutine to this package

    adds subroutine to this package

    sub

    The subroutine

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def callMethod(method: MoeMethod, args: List[MoeObject]): MoeObject

    Invoke the named method with the supplied arguments.

    Invoke the named method with the supplied arguments.

    args

    The list of arguments to provide to the method

    Definition Classes
    MoeObject
  11. def callMethod(method: MoeMethod): MoeObject

    Invoke the named method.

    Invoke the named method.

    Definition Classes
    MoeObject
  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. def getAssociatedClass: Option[MoeClass]

    Returns the class associted with this object, if there is one.

    Returns the class associted with this object, if there is one.

    Definition Classes
    MoeObject
  17. def getClass(name: String): Option[MoeClass]

    returns the class with the specified name

    returns the class with the specified name

    name

    The name of the class to return

  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def getEnv: MoeEnvironment

    returns the local package environment

  20. def getID: Int

    Returns the ID of this class.

    Returns the ID of this class.

    Definition Classes
    MoeObject
  21. def getName: String

    returns the name of this package

  22. def getParent: Option[MoePackage]

    returns the parent of this package

  23. def getSubPackage(name: String): Option[MoePackage]

    returns the SubPackaged with the specified name

    returns the SubPackaged with the specified name

    name

    the name of the SubPackage to return

  24. def getSubroutine(name: String): Option[MoeSubroutine]

    returns the subroutine with the specified name

    returns the subroutine with the specified name

    name

    The name of the subroutine to return

  25. def hasAssociatedClass: Boolean

    Returns true if a class is associated with this object.

    Returns true if a class is associated with this object.

    Definition Classes
    MoeObject
  26. def hasClass(name: String): Boolean

    checks if a class with the specified name is in package

    checks if a class with the specified name is in package

    name

    The name of the class to check for

  27. def hasSubPackage(name: String): Boolean

    checks if a SubPackage wit the specified name is in this package

    checks if a SubPackage wit the specified name is in this package

    name

    The name of the SubPackage to check for

  28. def hasSubroutine(name: String): Boolean

    checks if a subroutine with the specified name is in package

    checks if a subroutine with the specified name is in package

    name

    The name of the subroutine to check for

  29. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  30. def isFalse: Boolean

    Returns false.

    Returns false.

    Definition Classes
    MoeObject
  31. def isInstanceOf(klass: MoeClass): Boolean

    Definition Classes
    MoeObject
  32. def isInstanceOf(klassname: String): Boolean

    Ask if this object is-a instance of a class

    Ask if this object is-a instance of a class

    Definition Classes
    MoeObject
  33. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  34. def isRoot: Boolean

    returns true if this package has a parent

  35. def isTrue: Boolean

    Returns true.

    Returns true.

    Definition Classes
    MoeObject
  36. def isUndef: Boolean

    Returns false

    Returns false

    Definition Classes
    MoeObject
  37. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  38. final def notify(): Unit

    Definition Classes
    AnyRef
  39. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  40. def setAssociatedClass(c: Option[MoeClass]): Unit

    Set the class that is associated with this object.

    Set the class that is associated with this object.

    c

    The class to associate with this object.

    Definition Classes
    MoeObject
  41. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  42. def toString(): String

    Returns a string representation of this object.

    Returns a string representation of this object.

    Definition Classes
    MoeObject → AnyRef → Any
  43. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  44. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  45. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from MoeObject

Inherited from AnyRef

Inherited from Any

Ungrouped