Packages

final class MutRef extends Ref

A Mutable Node reference

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MutRef
  2. Ref
  3. YNode
  4. YPart
  5. YNodeLike
  6. YValueLike
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MutRef(origValue: YValue, origTag: YTag, cs: Parts)

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 alias(): YNode

    Create a reference (alias) to this node

    Create a reference (alias) to this node

    Definition Classes
    YNode
  7. def anchor(name: String): YNode

    Create a new node with an anchor

    Create a new node with an anchor

    Definition Classes
    YNode
  8. def anchor: Option[YAnchor]
    Definition Classes
    YNode
  9. 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
  10. 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
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def asOption[T](implicit fjs: 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
  13. val children: Parts
    Definition Classes
    YNodeYPart
  14. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. val cs: Parts
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(obj: Any): Boolean
    Definition Classes
    YNode → AnyRef → Any
  18. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int
    Definition Classes
    YNode → AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  25. def obj: YObj

    Returns the Node as an YObj

    Returns the Node as an YObj

    Definition Classes
    YNodeYNodeLike
  26. val origTag: YTag
  27. val origValue: YValue
  28. val range: InputRange
    Definition Classes
    YPart
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def tag: YTag
    Definition Classes
    MutRefYNode
  31. def tagType: YType
    Definition Classes
    YNodeYNodeLike
  32. var target: Option[YNode]
  33. def thisNode: YNode
    Attributes
    protected[org.yaml.model]
    Definition Classes
    YNodeYNodeLike
  34. def to[T](validation: (T) ⇒ Option[String])(implicit conversion: 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
  35. def to[T](implicit conversion: 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
    YNodeLike
  36. def toString(): String
    Definition Classes
    YNode → AnyRef → Any
  37. def value: YValue
    Definition Classes
    MutRefYNode
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Ref

Inherited from YNode

Inherited from YPart

Inherited from YNodeLike

Inherited from YValueLike

Inherited from AnyRef

Inherited from Any

Ungrouped