Packages

abstract class Ref extends YNode

A Yaml Node Reference, methods are redirected to the target node

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

Instance Constructors

  1. new Ref(location: SourceLocation, cs: Parts)

Abstract Value Members

  1. abstract def tag: YTag
    Definition Classes
    YNode
  2. abstract def value: YValue
    Definition Classes
    YNode

Concrete 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(location: SourceLocation = Unknown): 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. val anchor: Option[YAnchor]
    Definition Classes
    RefYNode
  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 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
  13. def asScalar: Option[YScalar]

    Returns true if the Node value is an YScalar

    Returns true if the Node value is an YScalar

    Definition Classes
    YNode
  14. val children: IndexedSeq[YPart]
    Definition Classes
    YPart
  15. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(obj: Any): Boolean
    Definition Classes
    YNode → AnyRef → Any
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  19. def hashCode(): Int
    Definition Classes
    YNode → AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def isNull: Boolean

    Returns true if the node is consider a null one

    Returns true if the node is consider a null one

    Definition Classes
    YNodeYNodeLike
  22. val location: SourceLocation
    Definition Classes
    YPart → ASTElement
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  26. def obj: YObj

    Returns the Node as an YObj

    Returns the Node as an YObj

    Definition Classes
    YNodeYNodeLike
  27. def range: PositionRange
    Definition Classes
    YPart
  28. def sourceName: String
    Definition Classes
    YPart
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def tagType: YType
    Definition Classes
    YNodeYNodeLike
  31. def thisNode: YNode
    Attributes
    protected[model]
    Definition Classes
    YNodeYNodeLike
  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 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
    YNodeLike
  34. def toString(): String
    Definition Classes
    YNode → AnyRef → Any
  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()
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

Inherited from YNode

Inherited from YNodeLike

Inherited from YValueLike

Inherited from YPart

Inherited from ASTElement

Inherited from AnyRef

Inherited from Any

Ungrouped