trait Init[ScopeType] extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Init
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class Compiled[T] extends AnyRef
  2. type CompiledMap = Map[ScopedKey[_], Compiled[_]]
  3. final class Flattened extends AnyRef
  4. 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 dependencies represents dependent nodes, and evaluate represents the calculation based on the existing body of knowledge.

    T

    the type of the value this defines.

  5. sealed trait Keyed[S, T] extends Initialize[T]

    An Initialize[T] associated with a ScopedKey[S].

    An Initialize[T] associated with a ScopedKey[S].

    S

    the type of the associated ScopedKey

    T

    the type of the value this Initialize defines.

  6. trait KeyedInitialize[T] extends Keyed[T, T]

    A Keyed where the type of the value and the associated ScopedKey are the same.

    A Keyed where the type of the value and the associated ScopedKey are the same.

    T

    the type of both the value this Initialize defines and the type of the associated ScopedKey.

  7. type MapConstant = ~>[ScopedKey, Option]
  8. type MapScoped = ~>[ScopedKey, ScopedKey]
  9. final class RuntimeUndefined extends RuntimeException
  10. type ScopeLocal = (ScopedKey[_]) ⇒ Seq[Setting[_]]
  11. sealed case class ScopedKey[T](scope: ScopeType, key: AttributeKey[T]) extends KeyedInitialize[T] with Product with Serializable
  12. type ScopedMap = IMap[ScopedKey, SettingSeq]
  13. sealed class Setting[T] extends SettingsDefinition
  14. final class SettingList extends SettingsDefinition
  15. type SettingSeq[T] = Seq[Setting[T]]
  16. sealed trait SettingsDefinition extends AnyRef
  17. final class Undefined extends AnyRef
  18. final class Uninitialized extends Exception
  19. type ValidateRef = ~>[ScopedKey, ValidatedRef]
  20. type ValidatedInit[T] = Either[Seq[Undefined], Initialize[T]]
  21. type ValidatedRef[T] = Either[Undefined, ScopedKey[T]]

Abstract Value Members

  1. abstract def showFullKey: Show[ScopedKey[_]]

    The Show instance used when a detailed String needs to be generated.

    The Show instance used when a detailed String needs to be generated. It is typically used when no context is available.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def Undefined(defining: Setting[_], referencedKey: ScopedKey[_]): Undefined
  5. def Uninitialized(validKeys: Seq[ScopedKey[_]], delegates: (ScopeType) ⇒ Seq[ScopeType], keys: Seq[Undefined], runtime: Boolean)(implicit display: Show[ScopedKey[_]]): Uninitialized
  6. def add[T](m: ScopedMap, s: Setting[T]): ScopedMap
  7. def addLocal(init: Seq[Setting[_]])(implicit scopeLocal: ScopeLocal): Seq[Setting[_]]
  8. def app[K[L[x]], T](inputs: K[Initialize])(f: (K[Types.Id]) ⇒ T)(implicit alist: AList[K]): Initialize[T]
  9. def append[T](ss: Seq[Setting[T]], s: Setting[T]): Seq[Setting[T]]
  10. def asFunction[T](s: Settings[ScopeType]): (ScopedKey[T]) ⇒ T
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def asTransform(s: Settings[ScopeType]): ~>[ScopedKey, Types.Id]
  13. def bind[S, T](in: Initialize[S])(f: (S) ⇒ Initialize[T]): Initialize[T]
  14. 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.

  15. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  16. def compile(sMap: ScopedMap): CompiledMap
  17. def compiled(init: Seq[Setting[_]], actual: Boolean = true)(implicit delegates: (ScopeType) ⇒ Seq[ScopeType], scopeLocal: ScopeLocal, display: Show[ScopedKey[_]]): CompiledMap
  18. def definedAtString(settings: Seq[Setting[_]]): String
  19. def delegate(sMap: ScopedMap)(implicit delegates: (ScopeType) ⇒ Seq[ScopeType], display: Show[ScopedKey[_]]): ScopedMap
  20. 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 if allowDynamic is true. Only the static dependencies are tracked, however. Dependencies on previous values do not introduce a derived setting either.

  21. def deriveAllowed[T](s: Setting[T], allowDynamic: Boolean): Option[String]
  22. def empty(implicit delegates: (ScopeType) ⇒ Seq[ScopeType]): Settings[ScopeType]
  23. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  25. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. def flattenLocals(compiled: CompiledMap): Map[ScopedKey[_], Flattened]
  27. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. def getValue[T](s: Settings[ScopeType], k: ScopedKey[T]): T
  29. def grouped(init: Seq[Setting[_]]): ScopedMap
  30. def guessIntendedScope(validKeys: Seq[ScopedKey[_]], delegates: (ScopeType) ⇒ Seq[ScopeType], key: ScopedKey[_]): Option[ScopedKey[_]]
  31. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  32. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  33. def makeWithCompiledMap(init: Seq[Setting[_]])(implicit delegates: (ScopeType) ⇒ Seq[ScopeType], scopeLocal: ScopeLocal, display: Show[ScopedKey[_]]): (CompiledMap, Settings[ScopeType])
  34. def map[S, T](in: Initialize[S])(f: (S) ⇒ T): Initialize[T]
  35. def mapScope(f: (ScopeType) ⇒ ScopeType): MapScoped
  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. def optional[T, U](i: Initialize[T])(f: (Option[T]) ⇒ U): Initialize[U]
  40. def pure[T](value: () ⇒ T): Initialize[T]
  41. def refinedDistance(delegates: (ScopeType) ⇒ Seq[ScopeType], a: ScopedKey[_], b: ScopedKey[_]): Option[Int]
  42. def setting[T](key: ScopedKey[T], init: Initialize[T], pos: SourcePosition = NoPosition): Setting[T]
  43. def showUndefined(u: Undefined, validKeys: Seq[ScopedKey[_]], delegates: (ScopeType) ⇒ Seq[ScopeType])(implicit display: Show[ScopedKey[_]]): String
  44. def sort(cMap: CompiledMap): Seq[Compiled[_]]
  45. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  46. def toString(): String
    Definition Classes
    AnyRef → Any
  47. def uniform[S, T](inputs: Seq[Initialize[S]])(f: (Seq[S]) ⇒ T): Initialize[T]
  48. def update[T](key: ScopedKey[T])(f: (T) ⇒ T): Setting[T]
  49. def value[T](value: ⇒ T): Initialize[T]
  50. def valueStrict[T](value: T): Initialize[T]
  51. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  54. object DefaultSetting
  55. object Initialize
  56. object SettingsDefinition

Deprecated Value Members

  1. def make(init: Seq[Setting[_]])(implicit delegates: (ScopeType) ⇒ Seq[ScopeType], scopeLocal: ScopeLocal, display: Show[ScopedKey[_]]): Settings[ScopeType]
    Annotations
    @deprecated
    Deprecated

    (Since version 1.4.0) Use makeWithCompiledMap

Inherited from AnyRef

Inherited from Any

Ungrouped