trait DefRewriting extends AnyRef
- Alphabetic
- By Inheritance
- DefRewriting
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
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
propagateBinOp[T, R](op: Scalan.BinOp[T, R], x: Scalan.Ref[T], y: Scalan.Ref[T]): Scalan.Ref[R]
Perform constant propagation if enabled and both arguments are Const.
Perform constant propagation if enabled and both arguments are Const.
- returns
null if propagation is not done
-
def
propagateUnOp[T, R](op: Scalan.UnOp[T, R], x: Scalan.Ref[T]): Scalan.Ref[R]
Perform constant propagation if enabled and argument is Const.
Perform constant propagation if enabled and argument is Const.
- returns
null if propagation is not done
-
final
def
rewriteBinOp[A, R](op: Scalan.BinOp[A, R], x: Scalan.Ref[A], y: Scalan.Ref[A]): Scalan.Ref[_]
Rewrites application of given binary operation to the given arguments.
Rewrites application of given binary operation to the given arguments.
- returns
null if no rewriting is defined.
-
def
rewriteDef[T](d: Scalan.Def[T]): Scalan.Ref[_]
Rewrites given node to another equivalent node and returns its reference.
Rewrites given node to another equivalent node and returns its reference.
- d
node to be matched against rewrite patterns
- returns
reference of new node if RW pattern is found and applied null if no rewriting is defined.
-
final
def
rewriteUnOp[A, R](op: Scalan.UnOp[A, R], x: Scalan.Ref[A]): Scalan.Ref[_]
Rewrites application of given unary operation to the given argument.
Rewrites application of given unary operation to the given argument.
- returns
null if no rewriting is defined.
-
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
- @throws( ... ) @native()