@agentix-e/spel-ts - v2.0.2
    Preparing search index...

    Enumeration TokenKind

    TokenKind — simplified enum paralleling Spring TokenKind

    Each token type has one value in this enum. Note: some semantics (e.g. isKeyword) are determined in the Token class directly.

    Every member carries an explicit ordinal. The enum is published, and TypeScript compiles a numeric enum into a runtime object with a reverse map, so the ordinals are part of the shipped ABI: a consumer that stores one, or reads TokenKind[14], observes them. A member declared without a value takes "one more than the previous member", which silently renumbers every member after it — adding DIV among the operators did exactly that, moving MOD from 14 to 15 and EOF from 53 to 54 between the published 1.2.2 and the 2.0.0 candidate. The values are therefore written out, and tests/unit/token-kind-stability.test.ts pins the whole table so that a future insertion cannot renumber the enum again.

    Index
    AMP_AT: 46
    AND: 25
    ASSIGN: 28
    AT: 45
    BETWEEN: 30
    COLON: 39
    COMMA: 38
    DEC: 18
    DIV: 14
    DOT: 40
    DOTDOT: 53
    ELVIS: 43
    EOF: 54
    EQ: 19
    GE: 24
    GT: 23
    HASH: 44
    IDENTIFIER: 8
    INC: 17
    INSTANCEOF: 31
    LBRACE: 36
    LBRACKET: 34
    LE: 22
    LITERAL_BOOLEAN: 6
    LITERAL_DOUBLE: 3
    LITERAL_FLOAT: 2
    LITERAL_HEX: 4
    LITERAL_INT: 0
    LITERAL_LONG: 1
    LITERAL_NULL: 7
    LITERAL_STRING: 5
    LPAREN: 32
    LT: 21
    MATCHES: 29
    MINUS: 10
    MOD: 15
    NE: 20
    NEW: 52
    NOT: 27
    OR: 26
    PERCENT: 13
    PLUS: 9
    POWER: 16
    PROJECTION: 47
    QMARK: 42
    RBRACE: 37
    RBRACKET: 35
    RPAREN: 33
    SAFE_NAV: 41
    SELECT_FIRST: 49
    SELECT_LAST: 50
    SELECTION: 48
    SLASH: 12
    STAR: 11
    TYPE_START: 51