trait WithOptions[T <: OptionValue] extends Definition

Base trait that can be used in any definition that takes options and ensures the options are defined, can be queried, and formatted.

T

The sealed base trait of the permitted options for this definition

Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WithOptions
  2. Definition
  3. Container
  4. BrieflyDescribedValue
  5. DescribedValue
  6. RiddlValue
  7. RiddlNode
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def brief: Option[LiteralString]
    Definition Classes
    BrieflyDescribedValue
  2. abstract def contents: Seq[Definition]
    Definition Classes
    Container
  3. abstract def description: Option[Description]
    Definition Classes
    DescribedValue
  4. abstract def id: Identifier
    Definition Classes
    Definition
  5. abstract def kind: String
    Definition Classes
    Definition
  6. abstract def loc: Location

    The location in the parse at which this RiddlValue occurs

    The location in the parse at which this RiddlValue occurs

    Definition Classes
    RiddlValue
  7. abstract def options: Seq[T]

Concrete 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(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def format: String

    Format the node to a string

    Format the node to a string

    Definition Classes
    WithOptionsRiddlNode
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. def getOptionValue[OPT <: T](implicit arg0: ClassTag[OPT]): Option[Seq[LiteralString]]
  11. def hasAuthors: Boolean
    Definition Classes
    Definition
  12. def hasOption[OPT <: T](implicit arg0: ClassTag[OPT]): Boolean
  13. def hasOptions: Boolean
    Definition Classes
    WithOptionsDefinition
  14. def hasTypes: Boolean
    Definition Classes
    Definition
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  16. def identify: String
    Definition Classes
    Definition
  17. def identifyWithLoc: String
    Definition Classes
    Definition
  18. def isContainer: Boolean

    Determine if this node is a container or not

    Determine if this node is a container or not

    Definition Classes
    ContainerRiddlNode
  19. 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
    WithOptionsContainerRiddlNode
  20. def isImplicit: Boolean
    Definition Classes
    Definition
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def isRootContainer: Boolean
    Definition Classes
    Container
  23. def kindId: String
    Definition Classes
    Definition
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def nonEmpty: Boolean
    Definition Classes
    RiddlNode
    Annotations
    @deprecatedOverriding()
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  32. 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 Definition

Inherited from Container[Definition]

Inherited from BrieflyDescribedValue

Inherited from DescribedValue

Inherited from RiddlValue

Inherited from RiddlNode

Inherited from AnyRef

Inherited from Any

Ungrouped