abstract class Liftable[ST, T] extends AnyRef
Describes lifting data values of type ST (Source Type) to IR nodes of the correspoding staged type T. In general T is different type obtained by virtualization procedure from ST. However ST can be the same as T as is the case for Byte, Int, String etc.
- Annotations
- @implicitNotFound( ... )
- Alphabetic
- By Inheritance
- Liftable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Liftable()
Abstract Value Members
-
abstract
def
eW: Scalan.Elem[T]
Type descriptor of the IR type
-
abstract
def
lift(x: ST): Scalan.Ref[T]
Method to embedd source type instance into graph IR.
-
abstract
def
sourceType: RType[ST]
Type descriptor of the source type
-
abstract
def
unlift(w: Scalan.Ref[T]): ST
Extract lifted value from graph node.
Extract lifted value from graph node.
- returns
constValue from LiftedConst if
w
refers to such a node.
- Exceptions thrown
StagingException
ifw
is not refering to the appropritate LiftedConst node.
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(obj: Any): Boolean
- Definition Classes
- Liftable → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Liftable → AnyRef → Any
-
def
unliftError(w: Scalan.Ref[T]): Nothing
- Attributes
- protected
-
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
- @native() @throws( ... )