Fan

 

const final enum

compiler::ShortcutOp

sys::Obj
  sys::Enum
    compiler::ShortcutOp

@simple

ShortcutOp is a sub-id for ExprId.shortcut which identifies the an shortuct operation and it's method call

Slots

andSource

static ShortcutOp and := ShortcutOp.make(7, "and", 2)

cmpSource

static ShortcutOp cmp := ShortcutOp.make(15, "cmp", 2, "compare")

decrementSource

static ShortcutOp decrement := ShortcutOp.make(13, "decrement", 1)

degreeSource

const Int degree

divSource

static ShortcutOp div := ShortcutOp.make(3, "div", 2)

eqSource

static ShortcutOp eq := ShortcutOp.make(14, "eq", 2, "equals")

fromStrSource

static ShortcutOp? fromStr(Str name, Bool checked := true)

Return the ShortcutOp instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.

getSource

static ShortcutOp get := ShortcutOp.make(16, "get", 2)

incrementSource

static ShortcutOp increment := ShortcutOp.make(12, "increment", 1)

inverseSource

static ShortcutOp inverse := ShortcutOp.make(10, "inverse", 1)

lshiftSource

static ShortcutOp lshift := ShortcutOp.make(5, "lshift", 2)

methodNameSource

const Str methodName

minusSource

static ShortcutOp minus := ShortcutOp.make(1, "minus", 2)

modSource

static ShortcutOp mod := ShortcutOp.make(4, "mod", 2)

multSource

static ShortcutOp mult := ShortcutOp.make(2, "mult", 2)

negateSource

static ShortcutOp negate := ShortcutOp.make(11, "negate", 1)

orSource

static ShortcutOp or := ShortcutOp.make(8, "or", 2)

plusSource

static ShortcutOp plus := ShortcutOp.make(0, "plus", 2)

rshiftSource

static ShortcutOp rshift := ShortcutOp.make(6, "rshift", 2)

setSource

static ShortcutOp set := ShortcutOp.make(17, "set", 2)

sliceSource

static ShortcutOp slice := ShortcutOp.make(18, "slice", 2)

valuesSource

static ShortcutOp[] values := ...

List of ShortcutOp values indexed by ordinal

xorSource

static ShortcutOp xor := ShortcutOp.make(9, "xor", 2)