trait Init[Scope] extends AnyRef
- Alphabetic
- By Inheritance
- Init
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- final class Compiled [T] extends AnyRef
- type CompiledMap = Map[ScopedKey[_], Compiled[_]]
- final class Flattened extends AnyRef
- sealed trait Initialize [T] extends AnyRef
- sealed trait Keyed [S, T] extends Initialize[T]
- trait KeyedInitialize [T] extends Keyed[T, T]
- type MapConstant = ~>[ScopedKey, Option]
- type MapScoped = ~>[ScopedKey, ScopedKey]
- final class RuntimeUndefined extends RuntimeException
- type ScopeLocal = (ScopedKey[_]) ⇒ Seq[Setting[_]]
- sealed case class ScopedKey [T](scope: Scope, key: AttributeKey[T]) extends KeyedInitialize[T] with Product with Serializable
- type ScopedMap = IMap[ScopedKey, SettingSeq]
- sealed class Setting [T] extends SettingsDefinition
- final class SettingList extends SettingsDefinition
- type SettingSeq[T] = Seq[Setting[T]]
- sealed trait SettingsDefinition extends AnyRef
- final class Undefined extends AnyRef
- final class Uninitialized extends Exception
- type ValidateRef = ~>[ScopedKey, ValidatedRef]
- type ValidatedInit[T] = Either[Seq[Undefined], Initialize[T]]
- type ValidatedRef[T] = Either[Undefined, ScopedKey[T]]
Abstract Value Members
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def Undefined(defining: Setting[_], referencedKey: ScopedKey[_]): Undefined
- def Uninitialized(validKeys: Seq[ScopedKey[_]], delegates: (Scope) ⇒ Seq[Scope], keys: Seq[Undefined], runtime: Boolean)(implicit display: Show[ScopedKey[_]]): Uninitialized
- def add[T](m: ScopedMap, s: Setting[T]): ScopedMap
- def addLocal(init: Seq[Setting[_]])(implicit scopeLocal: ScopeLocal): Seq[Setting[_]]
- def app[K[L[x]], T](inputs: K[Initialize])(f: (K[Types.Id]) ⇒ T)(implicit alist: AList[K]): Initialize[T]
- def append[T](ss: Seq[Setting[T]], s: Setting[T]): Seq[Setting[T]]
- def asFunction[T](s: Settings[Scope]): (ScopedKey[T]) ⇒ T
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asTransform(s: Settings[Scope]): ~>[ScopedKey, Types.Id]
- def bind[S, T](in: Initialize[S])(f: (S) ⇒ Initialize[T]): Initialize[T]
-
lazy val
capturedTransformations: Initialize[~>[Initialize, Initialize]]
The result of this initialization is the composition of applied transformations.
The result of this initialization is the composition of applied transformations. This can be useful when dealing with dynamic Initialize values.
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def compile(sMap: ScopedMap): CompiledMap
- def compiled(init: Seq[Setting[_]], actual: Boolean = true)(implicit delegates: (Scope) ⇒ Seq[Scope], scopeLocal: ScopeLocal, display: Show[ScopedKey[_]]): CompiledMap
- def definedAtString(settings: Seq[Setting[_]]): String
- def delegate(sMap: ScopedMap)(implicit delegates: (Scope) ⇒ Seq[Scope], display: Show[ScopedKey[_]]): ScopedMap
-
final
def
derive[T](s: Setting[T], allowDynamic: Boolean = false, filter: (Scope) ⇒ Boolean = const(true), trigger: (AttributeKey[_]) ⇒ Boolean = const(true), default: Boolean = false): Setting[T]
Constructs a derived setting that will be automatically defined in every scope where one of its dependencies is explicitly defined and the where the scope matches
filter.Constructs a derived setting that will be automatically defined in every scope where one of its dependencies is explicitly defined and the where the scope matches
filter. A setting initialized with dynamic dependencies is only allowed ifallowDynamicis true. Only the static dependencies are tracked, however. Dependencies on previous values do not introduce a derived setting either. - def deriveAllowed[T](s: Setting[T], allowDynamic: Boolean): Option[String]
- def empty(implicit delegates: (Scope) ⇒ Seq[Scope]): Settings[Scope]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def flattenLocals(compiled: CompiledMap): Map[ScopedKey[_], Flattened]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- def getValue[T](s: Settings[Scope], k: ScopedKey[T]): T
- def grouped(init: Seq[Setting[_]]): ScopedMap
- def guessIntendedScope(validKeys: Seq[ScopedKey[_]], delegates: (Scope) ⇒ Seq[Scope], key: ScopedKey[_]): Option[ScopedKey[_]]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def make(init: Seq[Setting[_]])(implicit delegates: (Scope) ⇒ Seq[Scope], scopeLocal: ScopeLocal, display: Show[ScopedKey[_]]): Settings[Scope]
- def map[S, T](in: Initialize[S])(f: (S) ⇒ T): Initialize[T]
- def mapScope(f: (Scope) ⇒ Scope): MapScoped
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- def optional[T, U](i: Initialize[T])(f: (Option[T]) ⇒ U): Initialize[U]
- def pure[T](value: () ⇒ T): Initialize[T]
- def refinedDistance(delegates: (Scope) ⇒ Seq[Scope], a: ScopedKey[_], b: ScopedKey[_]): Option[Int]
- def setting[T](key: ScopedKey[T], init: Initialize[T], pos: SourcePosition = NoPosition): Setting[T]
- def showUndefined(u: Undefined, validKeys: Seq[ScopedKey[_]], delegates: (Scope) ⇒ Seq[Scope])(implicit display: Show[ScopedKey[_]]): String
- def sort(cMap: CompiledMap): Seq[Compiled[_]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def uniform[S, T](inputs: Seq[Initialize[S]])(f: (Seq[S]) ⇒ T): Initialize[T]
- def update[T](key: ScopedKey[T])(f: (T) ⇒ T): Setting[T]
- def value[T](value: ⇒ T): Initialize[T]
- def valueStrict[T](value: T): Initialize[T]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- object DefaultSetting
- object Initialize
- object SettingsDefinition