object scalaPrimitives extends ScalaPrimitives
Ordering
- Alphabetic
- By Inheritance
Inherited
- scalaPrimitives
- ScalaPrimitives
- AnyRef
- Any
- Hide All
- Show All
Visibility
- 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
val
ADD: Int(10)
- Definition Classes
- ScalaPrimitives
-
final
val
AND: Int(22)
- Definition Classes
- ScalaPrimitives
-
final
val
APPLY: Int(71)
- Definition Classes
- ScalaPrimitives
-
final
val
AS: Int(81)
- Definition Classes
- ScalaPrimitives
-
final
val
ASR: Int(32)
- Definition Classes
- ScalaPrimitives
-
final
val
B2B: Int(200)
- Definition Classes
- ScalaPrimitives
-
final
val
B2C: Int(202)
- Definition Classes
- ScalaPrimitives
-
final
val
B2D: Int(206)
- Definition Classes
- ScalaPrimitives
-
final
val
B2F: Int(205)
- Definition Classes
- ScalaPrimitives
-
final
val
B2I: Int(203)
- Definition Classes
- ScalaPrimitives
-
final
val
B2L: Int(204)
- Definition Classes
- ScalaPrimitives
-
final
val
B2S: Int(201)
- Definition Classes
- ScalaPrimitives
-
final
val
BARRAY_GET: Int(141)
- Definition Classes
- ScalaPrimitives
-
final
val
BARRAY_LENGTH: Int(132)
- Definition Classes
- ScalaPrimitives
-
final
val
BARRAY_SET: Int(151)
- Definition Classes
- ScalaPrimitives
-
final
val
BOX: Int(110)
- Definition Classes
- ScalaPrimitives
-
final
val
C2B: Int(220)
- Definition Classes
- ScalaPrimitives
-
final
val
C2C: Int(222)
- Definition Classes
- ScalaPrimitives
-
final
val
C2D: Int(226)
- Definition Classes
- ScalaPrimitives
-
final
val
C2F: Int(225)
- Definition Classes
- ScalaPrimitives
-
final
val
C2I: Int(223)
- Definition Classes
- ScalaPrimitives
-
final
val
C2L: Int(224)
- Definition Classes
- ScalaPrimitives
-
final
val
C2S: Int(221)
- Definition Classes
- ScalaPrimitives
-
final
val
CARRAY_GET: Int(143)
- Definition Classes
- ScalaPrimitives
-
final
val
CARRAY_LENGTH: Int(134)
- Definition Classes
- ScalaPrimitives
-
final
val
CARRAY_SET: Int(153)
- Definition Classes
- ScalaPrimitives
-
final
val
COERCE: Int(101)
- Definition Classes
- ScalaPrimitives
-
final
val
CONCAT: Int(100)
- Definition Classes
- ScalaPrimitives
-
final
val
D2B: Int(260)
- Definition Classes
- ScalaPrimitives
-
final
val
D2C: Int(262)
- Definition Classes
- ScalaPrimitives
-
final
val
D2D: Int(266)
- Definition Classes
- ScalaPrimitives
-
final
val
D2F: Int(265)
- Definition Classes
- ScalaPrimitives
-
final
val
D2I: Int(263)
- Definition Classes
- ScalaPrimitives
-
final
val
D2L: Int(264)
- Definition Classes
- ScalaPrimitives
-
final
val
D2S: Int(261)
- Definition Classes
- ScalaPrimitives
-
final
val
DARRAY_GET: Int(147)
- Definition Classes
- ScalaPrimitives
-
final
val
DARRAY_LENGTH: Int(138)
- Definition Classes
- ScalaPrimitives
-
final
val
DARRAY_SET: Int(157)
- Definition Classes
- ScalaPrimitives
-
final
val
DIV: Int(13)
- Definition Classes
- ScalaPrimitives
-
final
val
EQ: Int(42)
- Definition Classes
- ScalaPrimitives
-
final
val
F2B: Int(250)
- Definition Classes
- ScalaPrimitives
-
final
val
F2C: Int(252)
- Definition Classes
- ScalaPrimitives
-
final
val
F2D: Int(256)
- Definition Classes
- ScalaPrimitives
-
final
val
F2F: Int(255)
- Definition Classes
- ScalaPrimitives
-
final
val
F2I: Int(253)
- Definition Classes
- ScalaPrimitives
-
final
val
F2L: Int(254)
- Definition Classes
- ScalaPrimitives
-
final
val
F2S: Int(251)
- Definition Classes
- ScalaPrimitives
-
final
val
FARRAY_GET: Int(146)
- Definition Classes
- ScalaPrimitives
-
final
val
FARRAY_LENGTH: Int(137)
- Definition Classes
- ScalaPrimitives
-
final
val
FARRAY_SET: Int(156)
- Definition Classes
- ScalaPrimitives
-
final
val
GE: Int(47)
- Definition Classes
- ScalaPrimitives
-
final
val
GT: Int(46)
- Definition Classes
- ScalaPrimitives
-
final
val
HASH: Int(87)
- Definition Classes
- ScalaPrimitives
-
final
val
I2B: Int(230)
- Definition Classes
- ScalaPrimitives
-
final
val
I2C: Int(232)
- Definition Classes
- ScalaPrimitives
-
final
val
I2D: Int(236)
- Definition Classes
- ScalaPrimitives
-
final
val
I2F: Int(235)
- Definition Classes
- ScalaPrimitives
-
final
val
I2I: Int(233)
- Definition Classes
- ScalaPrimitives
-
final
val
I2L: Int(234)
- Definition Classes
- ScalaPrimitives
-
final
val
I2S: Int(231)
- Definition Classes
- ScalaPrimitives
-
final
val
IARRAY_GET: Int(144)
- Definition Classes
- ScalaPrimitives
-
final
val
IARRAY_LENGTH: Int(135)
- Definition Classes
- ScalaPrimitives
-
final
val
IARRAY_SET: Int(154)
- Definition Classes
- ScalaPrimitives
-
final
val
ID: Int(40)
- Definition Classes
- ScalaPrimitives
-
final
val
IS: Int(80)
- Definition Classes
- ScalaPrimitives
-
final
val
L2B: Int(240)
- Definition Classes
- ScalaPrimitives
-
final
val
L2C: Int(242)
- Definition Classes
- ScalaPrimitives
-
final
val
L2D: Int(246)
- Definition Classes
- ScalaPrimitives
-
final
val
L2F: Int(245)
- Definition Classes
- ScalaPrimitives
-
final
val
L2I: Int(243)
- Definition Classes
- ScalaPrimitives
-
final
val
L2L: Int(244)
- Definition Classes
- ScalaPrimitives
-
final
val
L2S: Int(241)
- Definition Classes
- ScalaPrimitives
-
final
val
LARRAY_GET: Int(145)
- Definition Classes
- ScalaPrimitives
-
final
val
LARRAY_LENGTH: Int(136)
- Definition Classes
- ScalaPrimitives
-
final
val
LARRAY_SET: Int(155)
- Definition Classes
- ScalaPrimitives
-
final
val
LE: Int(45)
- Definition Classes
- ScalaPrimitives
-
final
val
LENGTH: Int(70)
- Definition Classes
- ScalaPrimitives
-
final
val
LSL: Int(30)
- Definition Classes
- ScalaPrimitives
-
final
val
LSR: Int(31)
- Definition Classes
- ScalaPrimitives
-
final
val
LT: Int(44)
- Definition Classes
- ScalaPrimitives
-
final
val
MOD: Int(14)
- Definition Classes
- ScalaPrimitives
-
final
val
MUL: Int(12)
- Definition Classes
- ScalaPrimitives
-
final
val
NE: Int(43)
- Definition Classes
- ScalaPrimitives
-
final
val
NEG: Int(2)
- Definition Classes
- ScalaPrimitives
-
final
val
NEW_BARRAY: Int(113)
- Definition Classes
- ScalaPrimitives
-
final
val
NEW_CARRAY: Int(115)
- Definition Classes
- ScalaPrimitives
-
final
val
NEW_DARRAY: Int(119)
- Definition Classes
- ScalaPrimitives
-
final
val
NEW_FARRAY: Int(118)
- Definition Classes
- ScalaPrimitives
-
final
val
NEW_IARRAY: Int(116)
- Definition Classes
- ScalaPrimitives
-
final
val
NEW_LARRAY: Int(117)
- Definition Classes
- ScalaPrimitives
-
final
val
NEW_OARRAY: Int(120)
- Definition Classes
- ScalaPrimitives
-
final
val
NEW_SARRAY: Int(114)
- Definition Classes
- ScalaPrimitives
-
final
val
NEW_ZARRAY: Int(112)
- Definition Classes
- ScalaPrimitives
-
final
val
NI: Int(41)
- Definition Classes
- ScalaPrimitives
-
final
val
NOT: Int(3)
- Definition Classes
- ScalaPrimitives
-
final
val
OARRAY_GET: Int(148)
- Definition Classes
- ScalaPrimitives
-
final
val
OARRAY_LENGTH: Int(139)
- Definition Classes
- ScalaPrimitives
-
final
val
OARRAY_SET: Int(158)
- Definition Classes
- ScalaPrimitives
-
final
val
OR: Int(20)
- Definition Classes
- ScalaPrimitives
-
final
val
POS: Int(1)
- Definition Classes
- ScalaPrimitives
-
final
val
S2B: Int(210)
- Definition Classes
- ScalaPrimitives
-
final
val
S2C: Int(212)
- Definition Classes
- ScalaPrimitives
-
final
val
S2D: Int(216)
- Definition Classes
- ScalaPrimitives
-
final
val
S2F: Int(215)
- Definition Classes
- ScalaPrimitives
-
final
val
S2I: Int(213)
- Definition Classes
- ScalaPrimitives
-
final
val
S2L: Int(214)
- Definition Classes
- ScalaPrimitives
-
final
val
S2S: Int(211)
- Definition Classes
- ScalaPrimitives
-
final
val
SARRAY_GET: Int(142)
- Definition Classes
- ScalaPrimitives
-
final
val
SARRAY_LENGTH: Int(133)
- Definition Classes
- ScalaPrimitives
-
final
val
SARRAY_SET: Int(152)
- Definition Classes
- ScalaPrimitives
-
final
val
SUB: Int(11)
- Definition Classes
- ScalaPrimitives
-
final
val
SYNCHRONIZED: Int(90)
- Definition Classes
- ScalaPrimitives
-
final
val
UNBOX: Int(111)
- Definition Classes
- ScalaPrimitives
-
final
val
UPDATE: Int(72)
- Definition Classes
- ScalaPrimitives
-
final
val
XOR: Int(21)
- Definition Classes
- ScalaPrimitives
-
final
val
ZAND: Int(61)
- Definition Classes
- ScalaPrimitives
-
final
val
ZARRAY_GET: Int(140)
- Definition Classes
- ScalaPrimitives
-
final
val
ZARRAY_LENGTH: Int(131)
- Definition Classes
- ScalaPrimitives
-
final
val
ZARRAY_SET: Int(150)
- Definition Classes
- ScalaPrimitives
-
final
val
ZNOT: Int(50)
- Definition Classes
- ScalaPrimitives
-
final
val
ZOR: Int(60)
- Definition Classes
- ScalaPrimitives
-
def
addPrimitive(s: Global.Symbol, code: Int): Unit
Add a primitive operation to the map
Add a primitive operation to the map
- Definition Classes
- ScalaPrimitives
-
def
addPrimitives(cls: Global.Symbol, method: Global.Name, code: Int): Unit
- Definition Classes
- ScalaPrimitives
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @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
-
def
getPrimitive(fun: Global.Symbol, tpe: Global.Type): Int
Return the primitive code of the given operation.
Return the primitive code of the given operation. If the operation is an array get/set, we inspect the type of the receiver to demux the operation.
- fun
The method symbol
- tpe
The type of the receiver object. It is used only for array operations
- Definition Classes
- ScalaPrimitives
-
def
getPrimitive(sym: Global.Symbol): Int
Return the code for the given symbol.
Return the code for the given symbol.
- Definition Classes
- ScalaPrimitives
-
val
global: Global.this.type
- Definition Classes
- scalaPrimitives → ScalaPrimitives
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
init(): Unit
Initialize the primitive map
Initialize the primitive map
- Definition Classes
- ScalaPrimitives
-
def
isArithmeticOp(code: Int): Boolean
- Definition Classes
- ScalaPrimitives
-
def
isArrayGet(code: Int): Boolean
- Definition Classes
- ScalaPrimitives
-
def
isArrayLength(code: Int): Boolean
- Definition Classes
- ScalaPrimitives
-
def
isArrayNew(code: Int): Boolean
- Definition Classes
- ScalaPrimitives
-
def
isArrayOp(code: Int): Boolean
Check whether the given operation code is an array operation.
Check whether the given operation code is an array operation.
- Definition Classes
- ScalaPrimitives
-
def
isArraySet(code: Int): Boolean
- Definition Classes
- ScalaPrimitives
-
def
isBitwiseOp(code: Int): Boolean
- Definition Classes
- ScalaPrimitives
-
def
isCoercion(code: Int): Boolean
- Definition Classes
- ScalaPrimitives
-
def
isComparisonOp(code: Int): Boolean
Check whether the given code is a comparison operator
Check whether the given code is a comparison operator
- Definition Classes
- ScalaPrimitives
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isLogicalOp(code: Int): Boolean
- Definition Classes
- ScalaPrimitives
-
def
isPrimitive(sym: Global.Symbol): Boolean
- Definition Classes
- ScalaPrimitives
-
def
isReferenceEqualityOp(code: Int): Boolean
- Definition Classes
- ScalaPrimitives
-
def
isShiftOp(code: Int): Boolean
- Definition Classes
- ScalaPrimitives
-
def
isUniversalEqualityOp(code: Int): Boolean
- Definition Classes
- ScalaPrimitives
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
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( ... )
The Scala compiler API.
The following resources are useful for Scala plugin/compiler development: