object Node
- Alphabetic
- By Inheritance
- Node
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
sealed
trait
IContainer[+I <: Id, CI <: Id] extends IValue[I] with (CI) ⇒ INode[CI] with Iterable[ISome[CI]]
A container node (map or sequence) that is both a function from child ids to child nodes and an iterable over its present children.
A container node (map or sequence) that is both a function from child ids to child nodes and an iterable over its present children.
- I
path type of this node
- CI
path type of child nodes
-
trait
IMap[+I <: Id] extends IContainer[I, Key]
A map (object) node whose children are addressed by Id.Key.
-
final
case class
INone[+I <: Id](id: I, parent: Container[_]) extends INode[I] with NodeError with Product with Serializable
A missing key — the node was looked up but did not exist in the parent container.
A missing key — the node was looked up but did not exist in the parent container.
Also a NodeError; decoding fails when this node is encountered.
- id
path at which the key was expected
- parent
the container that was queried
-
final
case class
INull[+I <: Id](id: I, tag: Option[String], location: Location) extends ISome[I] with NodeError with Product with Serializable
An explicit
nullvalue in the source.An explicit
nullvalue in the source.Also a NodeError; decoders that do not explicitly handle null will fail.
- id
path of this node
- tag
optional YAML tag
- location
source location
-
final
case class
IScalar[+I <: Id](id: I, tag: Option[String], value: String, location: Location) extends IValue[I] with Product with Serializable
A leaf node holding a single string value.
A leaf node holding a single string value.
Scalars are always represented as strings; type conversion is the decoder's responsibility.
- id
path of this node
- tag
optional YAML tag
- value
raw string representation
- location
source location
-
trait
ISeq[+I <: Id] extends IContainer[I, Index]
A sequence node whose children are addressed by Id.Index.
-
sealed
trait
ISome[+I <: Id] extends INode[I]
A node that is physically present in the source (has a tag and a location).
-
sealed
trait
IValue[+I <: Id] extends ISome[I]
A present, non-error node — either a scalar or a container.
-
type
Map = IMap[Id]
Type alias for IMap with an unspecified path type.
-
type
None = INone[Id]
Type alias for INone with an unspecified path type.
-
type
Null = INull[Id]
Type alias for INull with an unspecified path type.
-
type
Scalar = IScalar[Id]
Type alias for IScalar with an unspecified path type.
-
type
Seq = ISeq[Id]
Type alias for ISeq with an unspecified path type.
-
type
Some = ISome[Id]
Type alias for ISome with an unspecified path type.
-
type
Value = IValue[Id]
Type alias for IValue with an unspecified path type.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- object None
- object Null
- object Scalar
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated