abstract class BinOp[A, R] extends AnyRef
Base class for descriptors of binary operations.
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- BinOp
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new BinOp(opName: String)(implicit eResult: Scalan.Elem[R])
Abstract Value Members
-
abstract
def
applySeq(x: A, y: A): R
Called as part of graph interpretation to execute the given binary operation.
Called as part of graph interpretation to execute the given binary operation.
- x
operation argument
- y
operation argument
- returns
result of applying this operation to (x, y)
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
-
def
apply(lhs: Scalan.Ref[A], rhs: Scalan.Ref[A]): Scalan.Ref[R]
Builds a new graph node by applying this operation to the given arguments.
-
def
applyLazy(lhs: Scalan.Ref[A], rhs: Scalan.Ref[Scalan.Thunk[A]]): Scalan.Ref[R]
Builds a new graph node by applying this operation to the given arguments.
Builds a new graph node by applying this operation to the given arguments. This is a short-cuting (aka lazy) version of the operation, where the lazyness is represented by Thunk.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- implicit val eResult: Scalan.Elem[R]
-
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()
- val opName: String
-
def
shouldPropagate(lhs: A, rhs: A): Boolean
Whether the constants should be propagated through this operations by rewriting.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- BinOp → 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()