trait Metadata extends AnyRef
Ordering
- Alphabetic
- By Inheritance
Inherited
- Metadata
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
case class
MetaKey[A](name: String)(implicit eA: (Metadata.this)#Elem[A]) extends Product with Serializable
Key for metadata of type
A
. - case class MetaNode(meta: Map[(Metadata.this)#MetaKey[_], (Metadata.this)#MetaValue[Any]]) extends Product with Serializable
-
case class
MetaValue[A](value: A, mirrorWithDef: Option[Boolean] = None) extends Product with Serializable
Value for metadata of type
A
.Value for metadata of type
A
.- mirrorWithDef
None - mirror always, Some(true) - mirror during graph mirroring and rewriting of current stage (used for Analyzer markings) Some(false) - don't mirror during stage mirroring
-
implicit
class
MetadataOps[A] extends AnyRef
Sets metadata for the target.
Sets metadata for the target. No-op in sequential context, but the metadata can be accessed, transformed, etc. in staged context.
Returns the target for chaining.
- implicit class MetadataOpsExp extends AnyRef
- implicit class MultipleArgs extends AnyRef
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
- val MultipleArgsKey: (Metadata.this)#MetaKey[Int]
- def allMetadataOf(target: (Metadata.this)#Ref[_]): (Metadata.this)#MetaNode
-
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(arg0: Any): Boolean
- Definition Classes
- 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 getMetadata[A](target: (Metadata.this)#Sym, key: (Metadata.this)#MetaKey[A]): Option[A]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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()
- def removeMetadata[A](target: (Metadata.this)#Sym, key: (Metadata.this)#MetaKey[A]): Unit
-
def
setAllMetadata(target: (Metadata.this)#Ref[_], node: (Metadata.this)#MetaNode): Unit
- Attributes
- protected[scalan]
- def setMetadata[A, B](target: (Metadata.this)#Ref[A], key: (Metadata.this)#MetaKey[B])(value: B, mirrorWithDef: Option[Boolean] = None): (Metadata.this)#Ref[A]
- val symNameKey: (Metadata.this)#MetaKey[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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( ... )
- object MetaNode extends Serializable