Class

ast.dsl

PackageDeclaration

Related Doc: package dsl

Permalink

case class PackageDeclaration(ident: PackageIdent, declarations: List[ProgramDeclaration], visibility: VisibilityStatus = PublicStatus) extends ProgramDeclaration with NamespaceField[PackageNamespace] with Product with Serializable

Declares a package.

Linear Supertypes
Serializable, Serializable, Product, Equals, NamespaceField[PackageNamespace], ProgramDeclaration, ParentField[PackageDeclaration], Declaration, ASTNode, SourceMapped, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PackageDeclaration
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. NamespaceField
  7. ProgramDeclaration
  8. ParentField
  9. Declaration
  10. ASTNode
  11. SourceMapped
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PackageDeclaration(ident: PackageIdent, declarations: List[ProgramDeclaration], visibility: VisibilityStatus = PublicStatus)

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def absolutePath: List[DSLSymbol]

    Permalink

    Returns the absolute path of the package from the root package as a list of symbols, empty if the package is the root package.

  5. def absolutePathInv: List[DSLSymbol]

    Permalink

    Returns the inverse absolute path of the package from itself to the root package as a list of symbols, empty if the package is the root package.

  6. def addAltLoc(loc: InFile): Unit

    Permalink
    Definition Classes
    SourceMapped
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val declarations: List[ProgramDeclaration]

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. val ident: PackageIdent

    Permalink
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def location: SourceLocation

    Permalink

    Gets the location.

    Gets the location.

    Definition Classes
    SourceMapped
  16. def location_(loc: SourceLocation): Unit

    Permalink

    Sets the location.

    Sets the location.

    Definition Classes
    SourceMapped
  17. def namespace: PackageNamespace

    Permalink
    Definition Classes
    NamespaceField
  18. def namespaceOpt: Option[PackageNamespace]

    Permalink
    Definition Classes
    NamespaceField
  19. def namespace_(n: PackageNamespace): Unit

    Permalink
    Definition Classes
    NamespaceField
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def otherOpLocation: List[InFile]

    Permalink
    Definition Classes
    SourceMapped
  24. def parent: PackageDeclaration

    Permalink
    Definition Classes
    ParentField
  25. def parentOpt: Option[PackageDeclaration]

    Permalink
    Definition Classes
    ParentField
  26. def parent_(p: PackageDeclaration): Unit

    Permalink
    Definition Classes
    ParentField
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

    Permalink
    Definition Classes
    PackageDeclaration → AnyRef → Any
  29. val visibility: VisibilityStatus

    Permalink
  30. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ProgramDeclaration

Inherited from Declaration

Inherited from ASTNode

Inherited from SourceMapped

Inherited from AnyRef

Inherited from Any

Ungrouped