enum class compiler::ShortcutOp
sys::Obj sys::Enum compiler::ShortcutOp
@Serializable { simple=true }
ShortcutOp is a sub-id for ExprId.shortcut which identifies the an shortuct operation and it's method call
- add
-
const static ShortcutOp add := ... - cmp
-
const static ShortcutOp cmp := ... - decrement
-
const static ShortcutOp decrement := ... - degree
-
const Int degree - div
-
const static ShortcutOp div := ... - eq
-
const static ShortcutOp eq := ... - formatErr
- fromPrefix
-
static ShortcutOp? fromPrefix(Str prefix) - fromStr
-
static new 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.
- get
-
const static ShortcutOp get := ... - increment
-
const static ShortcutOp increment := ... - isOperator
-
const Bool isOperator - methodName
-
const Str methodName - minus
-
const static ShortcutOp minus := ... - mod
-
const static ShortcutOp mod := ... - mult
-
const static ShortcutOp mult := ... - negate
-
const static ShortcutOp negate := ... - plus
-
const static ShortcutOp plus := ... - set
-
const static ShortcutOp set := ... - symbol
-
const Str symbol - vals
-
const static ShortcutOp[] vals := ...List of ShortcutOp values indexed by ordinal