Fantom

 

const final enum

compiler::ShortcutOp

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

@Serializable { simple=true collection=false }

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

Slots

cmpSource

const static ShortcutOp cmp

decrementSource

const static ShortcutOp decrement

degreeSource

const Int degree

divSource

const static ShortcutOp div

eqSource

const static ShortcutOp eq

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

const static ShortcutOp get

incrementSource

const static ShortcutOp increment

methodNameSource

const Str methodName

minusSource

const static ShortcutOp minus

modSource

const static ShortcutOp mod

multSource

const static ShortcutOp mult

negateSource

const static ShortcutOp negate

plusSource

const static ShortcutOp plus

setSource

const static ShortcutOp set

sliceSource

const static ShortcutOp slice

valsSource

const static ShortcutOp[] vals := ...

List of ShortcutOp values indexed by ordinal