SettingApi

configparse.core.SettingApi
See theSettingApi companion object

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

class Setting[A](val default: Option[() => A], val description: String, val reader: SettingReader[A])

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
trait SettingReader[A] extends Visitor[Option[A]]

Attributes

Graph
Supertypes
trait Visitor[Option[A]]
class Object
trait Matchable
class Any

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
trait SettingRoot[S]

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Types

type FileReader = (Path, MutableCtx, SettingTree) => Unit

Value members

Concrete methods

def read[S](settings: S, sources: Seq[Path], envPrefix: String, env: Map[String, String], check: Boolean, err: PrintStream)(using root: SettingRoot[S]): Boolean
def registerSettingExtension(ext: String, accept: (Path, MutableCtx, SettingTree) => Unit): LinkedHashMap[String, FileReader]

Extension to reader

Extension to reader

Attributes

def setting[A](default: => A)(using reader: SettingReader[A], doc: DocComment): Setting[A]
def settingKeyName(scalaName: String): String

Convert a scala variable name to a setting name.

Convert a scala variable name to a setting name.

Attributes