UnaryOp

org.scalajs.ir.Trees.UnaryOp
See theUnaryOp companion class
object UnaryOp

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
UnaryOp.type

Members list

Type members

Types

type Code = Int

Codes are raw Ints to be able to write switch matches on them.

Codes are raw Ints to be able to write switch matches on them.

Attributes

Value members

Concrete methods

def resultTypeOf(op: Code): Type

Concrete fields

final val Boolean_!: 1
final val ByteToInt: 3
final val CharToInt: 2
final val DoubleToFloat: 13
final val DoubleToInt: 12
final val DoubleToLong: 15
final val FloatToDouble: 7
final val IntToByte: 9
final val IntToChar: 8
final val IntToDouble: 6
final val IntToLong: 5
final val IntToShort: 10
final val LongToDouble: 14
final val LongToFloat: 16
final val LongToInt: 11
final val ShortToInt: 4
final val String_length: 17