Describe operator types.
You can find more information in comments below.
enum OPERATOR_TYPE
{
otNone,
// Single char operators
otNewLine,
otSpace,
otExclamation, // ! - 33 (logical not)
otDoubleQuotation, // " - 34
otHash, // # - 35
otSection, // $ - 36
otPercent, // % - 37
otAmpersand, // & - 38
otQuotation, // ' - 39
otParenthesesOpen, // ( - 40
otParenthesesClose, // ) - 41
otAsterisk, // * - 42
otPlus, // + - 43
otComma, // , - 44
otMinus, // - - 45
otPeriod, // . - 46
otSlash, // / - 47
otColon, // : - 58
otSemicolon, // ; - 59
otLess, // < - 60
otEqual, // = - 61
otGreater, // > - 62
otQuestion, // ? - 63
otAt, // @ - 64
otSquareBracketOpen, // [ - 91
otBackslash, // \ - 92
otSquareBracketClose, // ] - 93
otCaret, // ^ - 94 (xor)
otGrave, // ` - 96
otCurlyBracketOpen, // { - 123
otPipe, // | - 124
otCurlyBracketClose, // } - 125
otTilde, // ~ - 126 (bitwise not)
// Multiple char operators
otExclamationEqual, // !=
otExclamation2Equal, // !==
ot2Section, // $$
ot2Percent, // %%
otPercentEqual, // %=
ot2Ampersand, // &&
otAmpersandEqual, // &=
otParenthesesAsterisk, // (*
otParenthesesAsteriskSection, // (*$
otSectionAsteriskParentheses, // $*)
otParenthesesPeriod, // (.
otAsteriskEqual, // *=
otAsteriskSlash, // */
otAsteriskParentheses, // *)
ot2Plus, // ++
otPlusEqual, // +=
otPlusMinus, // +-
ot2Minus, // --
otMinusEqual, // -=
otMinusGreater, // ->
otMinusGreaterAsterisk, // ->*
ot2Period, // ..
ot3Period, // ...
otPeriodParentheses, // .)
otPeriodAsterisk, // .*
otPeriodEqual, // .=
ot2Slash, // //
otSlashAsterisk, // /*
otSlashEqual, // /=
otSlashGreater, // />
ot2Colon, // ::
otColonEqual, // :=
otLessEqual, // <=
otLess2Equal, // <==
otLessGreater, // <>
otLessEqualGreater, // <=>
ot2Less, // <<
otLessSlash, // </
ot3Less, // <<<
ot2LessEqual, // <<=
ot2Equal, // ==
ot3Equal, // ===
otEqualGreater, // =>
ot2Greater, // >>
ot3Greater, // >>>
ot2GreaterEqual, // >>=
otGreaterEqual, // >=
otGreater2Equal, // >==
ot2At, // @@
ot2Caret, // ^^
otCaretEqual, // ^=
otCaretPeriod, // ^.
otCurlyBracketSection, // {$
otSectionCurlyBracket, // $}
ot2Pipe, // ||
otPipeEqual, // |=
ot2Tilde, // ~~
otTildeEqual, // ~=
ot2Question, // ??
// Symbolic operators
otSymNot, // not
otSymAnd, // and
otSymOr, // or
otSymXor, // xor
otSymShr, // shr
otSymShl, // shl
otSymDiv, // div
otSymMod, // mod
otSymAs, // as
otSymIn, // in
otSymIs, // is
// Custom
otXmlStart, // <?xml
otXmlEnd, // ?>
otCData, // <![CDATA[ ]]>
otDoctype, // <!DOCTYPE >
otHtmlComment, // <!-- -->
otBase, // allow to use own identifers: newId = otBase+N
};
Namespace: | nitisa::scripting |
Include: | Nitisa/Modules/Scripting/Enums.h |