Setting

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def isSet: Boolean

Has this actually been set, or are we using a default value?

Has this actually been set, or are we using a default value?

Attributes

def reset(): Setting.this.type
def set(value: A)(using pos: Position): Setting.this.type
def setPath(path: Seq[String]): Setting.this.type
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Any
def value: A

The current value of this setting

The current value of this setting

Attributes

Concrete fields

val default: Option[() => A]
val description: String
val visitor: Visitor[Unit]