Packages

  • package root
    Definition Classes
    root
  • package com
    Definition Classes
    root
  • package github
    Definition Classes
    com
  • package pshirshov
    Definition Classes
    github
  • package izumi
    Definition Classes
    pshirshov
  • package distage
    Definition Classes
    izumi
  • package model
    Definition Classes
    distage
  • package definition
    Definition Classes
    model
  • object TypeLevelDSL

    Sketch of a DSL that exposes rich type information that can then be picked up and used by a macro to do planning & checks at compile time.

    Sketch of a DSL that exposes rich type information that can then be picked up and used by a macro to do planning & checks at compile time. Note that the DSL is, by necessity, immutable, which is a mismatch with standard ModuleDef.

    A macro analysing syntax trees may instead be employed, to not burden the user with a different version of the syntax. Esp. that ModuleDef syntax is quite simple (but macro will lose user extensions)

    Definition Classes
    definition
  • Binding
  • Bindings
  • DIKey
  • ImplDef

final class Bindings[BS <: HList] extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Bindings
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Bindings(dummy: Boolean = true)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def bind[T](instance: T with Singleton)(implicit arg0: reflection.universe.RuntimeDIUniverse.Tag[T]): Bindings[::[SingletonBinding[TypeKey[T], InstanceImpl[T, instance]], BS]]
  6. def bind[T, I <: T](implicit arg0: reflection.universe.RuntimeDIUniverse.Tag[T], arg1: reflection.universe.RuntimeDIUniverse.Tag[I]): Bindings[::[SingletonBinding[TypeKey[T], TypeImpl[I]], BS]]
  7. def bind[T](implicit arg0: reflection.universe.RuntimeDIUniverse.Tag[T]): Bindings[::[SingletonBinding[TypeKey[T], TypeImpl[T]], BS]]
  8. def element[T](instance: T with Singleton)(implicit arg0: reflection.universe.RuntimeDIUniverse.Tag[T]): Bindings[::[SetBinding[TypeKey[Set[T]], InstanceImpl[T, instance]], BS]]
  9. def element[T, I <: T](implicit arg0: reflection.universe.RuntimeDIUniverse.Tag[T], arg1: reflection.universe.RuntimeDIUniverse.Tag[I]): Bindings[::[SetBinding[TypeKey[Set[T]], TypeImpl[T]], BS]]
  10. def elementProvider[T](function: ProviderMagnet[T] with Singleton)(implicit arg0: reflection.universe.RuntimeDIUniverse.Tag[T]): Bindings[::[SetBinding[TypeKey[Set[T]], ProviderImpl[T, function]], BS]]
  11. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def namedBind[T](name: String with Singleton)(implicit arg0: reflection.universe.RuntimeDIUniverse.Tag[T]): Bindings[::[SingletonBinding[IdKey[T, name], TypeImpl[T]], BS]]
  14. def provider[T](function: ProviderMagnet[T] with Singleton)(implicit arg0: reflection.universe.RuntimeDIUniverse.Tag[T]): Bindings[::[SingletonBinding[TypeKey[T], ProviderImpl[T, function]], BS]]
  15. def set[T](implicit arg0: reflection.universe.RuntimeDIUniverse.Tag[T]): Bindings[::[EmptySetBinding[TypeKey[Set[T]]], BS]]
  16. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped