case class MapTransformer(subst: HashMap[Scalan.Sym, Scalan.Sym]) extends Scalan.Transformer with Product with Serializable
Concrete and default implementation of Transformer using underlying HashMap.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MapTransformer
- Serializable
- Serializable
- Product
- Equals
- Transformer
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new MapTransformer(substPairs: (Scalan.Sym, Scalan.Sym)*)
- new MapTransformer(subst: HashMap[Scalan.Sym, Scalan.Sym])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+[A](key: Scalan.Sym, value: Scalan.Sym): Scalan.Transformer
- Definition Classes
- MapTransformer → Transformer
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply[A](x: Scalan.Ref[A]): Scalan.Ref[A]
Apply transformation.
Apply transformation.
- Definition Classes
- MapTransformer → Transformer
-
final
def
apply(xs: Seq[Any])(implicit o: Overloaded1): Seq[Any]
Apply this transformer to the nodes present in the sequence, and leave non-Ref items unchanged.
Apply this transformer to the nodes present in the sequence, and leave non-Ref items unchanged.
- Definition Classes
- Transformer
-
final
def
apply[A](xs: Seq[Scalan.Ref[A]]): Seq[Scalan.Ref[A]]
Transform a sequence of nodes into new sequence of nodes.
Transform a sequence of nodes into new sequence of nodes.
- Definition Classes
- Transformer
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
domain: Seq[Scalan.Ref[_]]
Set of nodes where this transformer is defined.
Set of nodes where this transformer is defined.
- Definition Classes
- MapTransformer → Transformer
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
isDefinedAt(x: Scalan.Ref[_]): Boolean
Whether this transformer is defined for the given node.
Whether this transformer is defined for the given node.
- Definition Classes
- MapTransformer → Transformer
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
merge(other: Scalan.Transformer): Scalan.Transformer
- Definition Classes
- MapTransformer → Transformer
-
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
- MapTransformer → 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
- @throws( ... ) @native()