Config

confuse.model.Config
See theConfig companion object
case class Config(fields: LinkedHashMap[String, Value]) extends Value

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Value
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def mergeFrom(other: Config): Unit

Merge the fields from the given object into this one.

Merge the fields from the given object into this one.

Note that only objects are merged. Any other values will overwrite existing ones.

Attributes

def set(path: String, value: String, origin: Origin)(using here: SourcePos): Unit
def setValue(path: List[String], value: Value): Unit
def setValue(path: String, value: Value): Unit

Inherited methods

def dump(path: Path): String

Attributes

Inherited from:
Value
def dumpInto(path: Path, out: PrintStream): Unit

Attributes

Inherited from:
Value
def flatten(path: Path): LinkedHashMap[String, Terminal]

Attributes

Inherited from:
Value
def flattenInto(path: Path, buffer: LinkedHashMap[String, Terminal]): Unit

Attributes

Inherited from:
Value
def parse[A]()(using p: Parser[A]): Result[A]

Attributes

Inherited from:
Value
def parseOrExit[A](exit: () => Nothing, stderr: PrintStream)(using p: Parser[A]): A

Attributes

Inherited from:
Value
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Inherited fields

var origins: List[Origin]

All origins that were used to get this value.

All origins that were used to get this value.

Attributes

Inherited from:
Value