class YDocument extends YPart with YNodeLike

A Yaml Document

Linear Supertypes
YNodeLike, YValueLike, YPart, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. YDocument
  2. YNodeLike
  3. YValueLike
  4. YPart
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new YDocument(location: SourceLocation, children: IndexedSeq[YPart])

Value Members

  1. def !=(b: YValueLike): Boolean
    Definition Classes
    YValueLike
  2. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  3. final def ##(): Int
    Definition Classes
    AnyRef → Any
  4. def ==(b: YValueLike): Boolean
    Definition Classes
    YValueLike
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def as[T](validation: (T) ⇒ Option[String])(implicit conversion: YRead[T], iv: IllegalTypeHandler): T

    Tries to convert the node into a T, throwing an exception if it can't.

    Tries to convert the node into a T, throwing an exception if it can't. An implicit YRead[T] must be defined. An additional validation can be provided

    Definition Classes
    YNodeLike
  7. def as[T](implicit conversion: YRead[T], iv: IllegalTypeHandler): T

    Tries to convert the node into a T, throwing an exception if it can't.

    Tries to convert the node into a T, throwing an exception if it can't. An implicit YRead[T] must be defined.

    Definition Classes
    YNodeLike
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def asOption[T](implicit arg0: YRead[T]): Option[T]

    Tries to convert the node into a T.

    Tries to convert the node into a T. An implicit YRead[T] must be defined. Any error is mapped to None

    Definition Classes
    YNodeLike
  10. val children: IndexedSeq[YPart]
    Definition Classes
    YPart
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(obj: Any): Boolean
    Definition Classes
    YDocument → AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. val headComment: String
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def isNull: Boolean
    Definition Classes
    YNodeLike
  20. val location: SourceLocation
    Definition Classes
    YPart
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. val node: YNode

    The Main Document Node

  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def obj: YObj

    Returns the Node as an YObj

    Returns the Node as an YObj

    Definition Classes
    YDocumentYNodeLike
  26. def range: InputRange
    Definition Classes
    YPart
  27. def sourceName: String
    Definition Classes
    YPart
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. val tagType: YType
    Definition Classes
    YDocumentYNodeLike
  30. def thisNode: YNode
    Attributes
    protected[model]
    Definition Classes
    YDocumentYNodeLike
  31. def to[T](implicit arg0: YRead[T]): Either[YError, T]

    Tries to convert the node and return either the value converted or an YError

    Tries to convert the node and return either the value converted or an YError

    Definition Classes
    YDocumentYNodeLike
  32. def to[T](validation: (T) ⇒ Option[String])(implicit arg0: YRead[T]): Either[YError, T]

    Tries to convert the node, then if successful performs an additional validation that must return Some(errorMessage) or None.

    Tries to convert the node, then if successful performs an additional validation that must return Some(errorMessage) or None. Finally return either the value converted or an YError

    Definition Classes
    YNodeLike
  33. def toString(): String
    Definition Classes
    YDocument → AnyRef → Any
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from YNodeLike

Inherited from YValueLike

Inherited from YPart

Inherited from AnyRef

Inherited from Any

Ungrouped