Packages

case class Entity(loc: Location, id: AST.Identifier, options: Seq[EntityOption] = Seq.empty[EntityOption], states: Seq[State] = Seq.empty[State], types: Seq[Type] = Seq.empty[Type], handlers: Seq[Handler] = Seq.empty[Handler], functions: Seq[Function] = Seq.empty[Function], invariants: Seq[Invariant] = Seq.empty[Invariant], includes: Seq[Include] = Seq.empty[Include], authors: Seq[AuthorInfo] = Seq.empty[AuthorInfo], brief: Option[AST.LiteralString] = Option.empty[LiteralString], description: Option[AST.Description] = None) extends ContextDefinition with TypeContainer with WithTypes with WithOptions[EntityOption] with WithIncludes with WithAuthors with Product with Serializable

Definition of an Entity

loc

The location in the input

id

The name of the entity

options

The options for the entity

states

The state values of the entity

types

Type definitions useful internally to the entity definition

handlers

A set of event handlers

functions

Utility functions defined for the entity

invariants

Invariant properties of the entity

brief

A brief description (one sentence) for use in documentation

description

Optional description of the entity

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Entity
  2. Serializable
  3. Product
  4. Equals
  5. WithAuthors
  6. WithIncludes
  7. WithOptions
  8. WithTypes
  9. TypeContainer
  10. ContextDefinition
  11. Definition
  12. Container
  13. BrieflyDescribedValue
  14. DescribedValue
  15. RiddlValue
  16. RiddlNode
  17. AnyRef
  18. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Entity(loc: Location, id: AST.Identifier, options: Seq[EntityOption] = Seq.empty[EntityOption], states: Seq[State] = Seq.empty[State], types: Seq[Type] = Seq.empty[Type], handlers: Seq[Handler] = Seq.empty[Handler], functions: Seq[Function] = Seq.empty[Function], invariants: Seq[Invariant] = Seq.empty[Invariant], includes: Seq[Include] = Seq.empty[Include], authors: Seq[AuthorInfo] = Seq.empty[AuthorInfo], brief: Option[AST.LiteralString] = Option.empty[LiteralString], description: Option[AST.Description] = None)

    loc

    The location in the input

    id

    The name of the entity

    options

    The options for the entity

    states

    The state values of the entity

    types

    Type definitions useful internally to the entity definition

    handlers

    A set of event handlers

    functions

    Utility functions defined for the entity

    invariants

    Invariant properties of the entity

    brief

    A brief description (one sentence) for use in documentation

    description

    Optional description of the entity

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. val authors: Seq[AuthorInfo]
    Definition Classes
    EntityWithAuthors
  6. val brief: Option[AST.LiteralString]
    Definition Classes
    EntityBrieflyDescribedValue
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. def collectMessages: Seq[Type]
    Definition Classes
    TypeContainer
  9. def containedDefinitions: Seq[AST.Definition]
    Definition Classes
    WithIncludes
  10. lazy val contents: Seq[AST.EntityDefinition]
    Definition Classes
    EntityContainer
  11. val description: Option[AST.Description]
    Definition Classes
    EntityDescribedValue
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def format: String

    Format the node to a string

    Format the node to a string

    Definition Classes
    WithOptionsRiddlNode
  14. val functions: Seq[Function]
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  16. def getOptionValue[OPT <: EntityOption](implicit arg0: ClassTag[OPT]): Option[Seq[AST.LiteralString]]
    Definition Classes
    WithOptions
  17. val handlers: Seq[Handler]
  18. def hasAuthors: Boolean
    Definition Classes
    WithAuthorsDefinition
  19. def hasOption[OPT <: EntityOption](implicit arg0: ClassTag[OPT]): Boolean
    Definition Classes
    WithOptions
  20. def hasOptions: Boolean
    Definition Classes
    WithOptionsDefinition
  21. def hasTypes: Boolean
    Definition Classes
    WithTypesDefinition
  22. val id: AST.Identifier
    Definition Classes
    EntityDefinition
  23. def identify: String
    Definition Classes
    Definition
  24. def identifyWithLoc: String
    Definition Classes
    Definition
  25. val includes: Seq[Include]
    Definition Classes
    EntityWithIncludes
  26. val invariants: Seq[Invariant]
  27. def isContainer: Boolean

    Determine if this node is a container or not

    Determine if this node is a container or not

    Definition Classes
    ContainerRiddlNode
  28. def isEmpty: Boolean

    determine if this node is empty or not.

    determine if this node is empty or not. Non-containers are always empty

    Definition Classes
    EntityWithOptionsContainerRiddlNode
  29. def isImplicit: Boolean
    Definition Classes
    Definition
  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. def isRootContainer: Boolean
    Definition Classes
    Container
  32. final val kind: String
    Definition Classes
    EntityDefinition
  33. def kindId: String
    Definition Classes
    Definition
  34. val loc: Location

    The location in the parse at which this RiddlValue occurs

    The location in the parse at which this RiddlValue occurs

    Definition Classes
    EntityRiddlValue
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. final def nonEmpty: Boolean
    Definition Classes
    RiddlNode
    Annotations
    @deprecatedOverriding()
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  39. val options: Seq[EntityOption]
    Definition Classes
    EntityWithOptions
  40. def productElementNames: Iterator[String]
    Definition Classes
    Product
  41. val states: Seq[State]
  42. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  43. val types: Seq[Type]
    Definition Classes
    EntityWithTypesTypeContainer
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from WithAuthors

Inherited from WithIncludes

Inherited from WithTypes

Inherited from TypeContainer

Inherited from AST.ContextDefinition

Inherited from AST.Definition

Inherited from AST.DescribedValue

Inherited from AST.RiddlValue

Inherited from AST.RiddlNode

Inherited from AnyRef

Inherited from Any

Ungrouped