Id

h8io.cfg.Id
See theId companion trait
object Id

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Id.type

Members list

Type members

Classlikes

sealed trait Branch extends Id

A non-root path segment that has a parent.

A non-root path segment that has a parent.

Attributes

Supertypes
trait Id
class Object
trait Matchable
class Any
Known subtypes
class Index
class Key
final case class Index(index: Int, parent: Id) extends Branch

A positional element inside a sequence node.

A positional element inside a sequence node.

Value parameters

index

zero-based position

parent

the parent path

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Branch
trait Id
class Object
trait Matchable
class Any
Show all
final case class Key(key: String, parent: Id) extends Branch

A named field inside a map node.

A named field inside a map node.

Keys that contain characters outside [A-Za-z_][A-Za-z0-9_-]* are quoted and escaped in path so the output is always unambiguous.

Value parameters

key

the field name

parent

the parent path

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Branch
trait Id
class Object
trait Matchable
class Any
Show all
case object Root extends Root

Attributes

Companion
trait
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Root
trait Id
class Object
trait Matchable
class Any
Show all
Self type
Root.type
sealed trait Root extends Id

The root of the config tree. Its path is the empty string.

The root of the config tree. Its path is the empty string.

Attributes

Companion
object
Supertypes
trait Id
class Object
trait Matchable
class Any
Known subtypes
object Root

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror