trait Init[ScopeType] extends AnyRef
- Alphabetic
- By Inheritance
- Init
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final class Compiled[T] extends AnyRef
- type CompiledMap = Map[ScopedKey[_], Compiled[_]]
- final class Flattened extends AnyRef
- sealed trait Initialize[T] extends AnyRef
Abstractly defines a value of type
T.Abstractly defines a value of type
T.Specifically it defines a node in a task graph, where the
dependenciesrepresents dependent nodes, andevaluaterepresents the calculation based on the existing body of knowledge.- T
the type of the value this defines.
- sealed trait Keyed[S, T] extends Initialize[T]
An
Initialize[T]associated with aScopedKey[S].An
Initialize[T]associated with aScopedKey[S].- S
the type of the associated
ScopedKey- T
the type of the value this
Initializedefines.
- trait KeyedInitialize[T] extends Keyed[T, T]
A
Keyedwhere the type of the value and the associatedScopedKeyare the same.A
Keyedwhere the type of the value and the associatedScopedKeyare the same.- T
the type of both the value this
Initializedefines and the type of the associatedScopedKey.
- type MapConstant = ~>[ScopedKey, Option]
- type MapScoped = ~>[ScopedKey, ScopedKey]
- final class RuntimeUndefined extends RuntimeException
- type ScopeLocal = (ScopedKey[_]) => Seq[Setting[_]]
- sealed case class ScopedKey[T](scope: ScopeType, 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: (ScopeType) => Seq[ScopeType], 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[ScopeType]): (ScopedKey[T]) => T
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asTransform(s: Settings[ScopeType]): ~>[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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def compile(sMap: ScopedMap): CompiledMap
- def compiled(init: Seq[Setting[_]], actual: Boolean = true)(implicit delegates: (ScopeType) => Seq[ScopeType], scopeLocal: ScopeLocal, display: Show[ScopedKey[_]]): CompiledMap
- def definedAtString(settings: Seq[Setting[_]]): String
- def delegate(sMap: ScopedMap)(implicit delegates: (ScopeType) => Seq[ScopeType], display: Show[ScopedKey[_]]): ScopedMap
- final def derive[T](s: Setting[T], allowDynamic: Boolean = false, filter: (ScopeType) => 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: (ScopeType) => Seq[ScopeType]): Settings[ScopeType]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def flattenLocals(compiled: CompiledMap): Map[ScopedKey[_], Flattened]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getValue[T](s: Settings[ScopeType], k: ScopedKey[T]): T
- def grouped(init: Seq[Setting[_]]): ScopedMap
- def guessIntendedScope(validKeys: Seq[ScopedKey[_]], delegates: (ScopeType) => Seq[ScopeType], key: ScopedKey[_]): Option[ScopedKey[_]]
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def makeWithCompiledMap(init: Seq[Setting[_]])(implicit delegates: (ScopeType) => Seq[ScopeType], scopeLocal: ScopeLocal, display: Show[ScopedKey[_]]): (CompiledMap, Settings[ScopeType])
- def map[S, T](in: Initialize[S])(f: (S) => T): Initialize[T]
- def mapScope(f: (ScopeType) => ScopeType): MapScoped
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def optional[T, U](i: Initialize[T])(f: (Option[T]) => U): Initialize[U]
- def pure[T](value: () => T): Initialize[T]
- def refinedDistance(delegates: (ScopeType) => Seq[ScopeType], 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: (ScopeType) => Seq[ScopeType])(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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- object DefaultSetting
- object Initialize
- object SettingsDefinition