Origin

laika.config.Origin
See theOrigin companion object
case class Origin(scope: Scope, path: Path, sourcePath: Option[String])

The origin of a configuration value.

Origins can be used to distinguish values from a specific Config instance from those which were inherited from a fallback, which might be relevant in scenarios where relative paths need to be resolved.

Value parameters

path

the virtual path of containing config instance in a document tree (not the key inside the configuration)

scope

the scope of the containing config instance

sourcePath

the path in the file system this configuration originates from, empty if it was constructed in memory

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product