trait
VirtualAnyRef extends VirtualAny
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
macro
def
infix_!=(x1: Any, x2: Any): Any
-
macro
def
infix_##(x: Any): Any
-
macro
def
infix_==(x1: Any, x2: Any): Any
-
macro
def
infix_asInstanceOf[T](x: Any): Any
-
macro
def
infix_clone(x: AnyRef): AnyRef
-
macro
def
infix_eq(x1: AnyRef, x2: AnyRef): Boolean
-
macro
def
infix_equals(x1: Any, x2: Any): Any
-
macro
def
infix_finalize(x: AnyRef): Unit
-
macro
def
infix_getClass(x: Any): Any
-
macro
def
infix_hashCode(x: Any): Any
-
macro
def
infix_isInstanceOf[T](x: Any): Any
-
macro
def
infix_ne(x1: AnyRef, x2: AnyRef): Boolean
-
macro
def
infix_notify(x: AnyRef): Unit
-
macro
def
infix_notifyAll(x: AnyRef): Unit
-
macro
def
infix_synchronized[T](x: AnyRef, body: T): T
-
macro
def
infix_toString(x: Any): Any
-
macro
def
infix_wait(x: AnyRef, timeout: Long, nanos: Int): Unit
-
macro
def
infix_wait(x: AnyRef, timeout: Long): Unit
-
macro
def
infix_wait(x: AnyRef): Unit
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
Member method-based virtualization of the
AnyRef
API.This trait provides implementations of the infix methods corresponding to the
AnyRef
API that delegate to virtualized method calls on the first argument of the infix method.Example: When faced with an expression of the form
x.eq(y)
, thech.epfl.yinyang.transformers.LanguageVirtualization
transformation (or the@virtualized
macro annotation) will generate a method call:infix_eq(x, y)
. This method call will be bound to an implementation based on normal rules of scoping. If it binds to the one in this trait, the corresponding macro will rewrite it tox.eq(y)
.