Packages

  • package root
    Definition Classes
    root
  • package scalan
    Definition Classes
    root
  • abstract class Base extends AnyRef

    The Base trait houses common AST nodes.

    The Base trait houses common AST nodes. It also manages a list of encountered definitions which allows for common sub-expression elimination (CSE).

    Definition Classes
    scalan
  • object Liftables

    Data type ST is liftable is there is Liftable[ST, T] instance for some type T.

    Data type ST is liftable is there is Liftable[ST, T] instance for some type T. Liftable typeclass allows to define which types can have values embedded as literals into graph IR.

    Definition Classes
    Base
  • BaseLiftable
  • FuncConst
  • FuncLiftable
  • Liftable
  • LiftedConst
  • PairLiftable
c

scalan.Base.Liftables

BaseLiftable

class BaseLiftable[T] extends Liftable[T, T]

Liftable evidence for primitive (base) types (used in BaseElemLiftable).

Linear Supertypes
Liftable[T, T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BaseLiftable
  2. Liftable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BaseLiftable()(implicit eW: Scalan.Elem[T], sourceType: RType[T])

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. implicit val eW: Scalan.Elem[T]

    Type descriptor of the IR type

    Type descriptor of the IR type

    Definition Classes
    BaseLiftableLiftable
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(obj: Any): Boolean
    Definition Classes
    Liftable → AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int

    We assume only single Liftable[ST, T] implementation for every IR type T.

    We assume only single Liftable[ST, T] implementation for every IR type T. And all instances of it are equal.

    Definition Classes
    Liftable → AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def lift(x: T): Scalan.Ref[T]

    Method to embedd source type instance into graph IR.

    Method to embedd source type instance into graph IR.

    Definition Classes
    BaseLiftableLiftable
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. implicit val sourceType: RType[T]

    Type descriptor of the source type

    Type descriptor of the source type

    Definition Classes
    BaseLiftableLiftable
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    Liftable → AnyRef → Any
  20. def unlift(w: Scalan.Ref[T]): T

    Extract lifted value from graph node.

    Extract lifted value from graph node.

    returns

    constValue from LiftedConst if w refers to such a node.

    Definition Classes
    BaseLiftableLiftable
    Exceptions thrown

    StagingException if w is not refering to the appropritate LiftedConst node.

  21. def unliftError(w: Scalan.Ref[T]): Nothing
    Attributes
    protected
    Definition Classes
    Liftable
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Liftable[T, T]

Inherited from AnyRef

Inherited from Any

Ungrouped