TokenKind: {
    AMP: "&";
    AT: "@";
    BANG: "!";
    BLOCK_STRING: "BlockString";
    BRACE_L: "{";
    BRACE_R: "}";
    BRACKET_L: "[";
    BRACKET_R: "]";
    COLON: ":";
    COMMENT: "Comment";
    DOLLAR: "$";
    EOF: "<EOF>";
    EQUALS: "=";
    FLOAT: "Float";
    INT: "Int";
    NAME: "Name";
    PAREN_L: "(";
    PAREN_R: ")";
    PIPE: "|";
    SOF: "<SOF>";
    SPREAD: "...";
    STRING: "String";
}

An exported enum describing the different kinds of tokens that the lexer emits.

Type declaration

  • AMP: "&"
  • AT: "@"
  • BANG: "!"
  • BLOCK_STRING: "BlockString"
  • BRACE_L: "{"
  • BRACE_R: "}"
  • BRACKET_L: "["
  • BRACKET_R: "]"
  • COLON: ":"
  • COMMENT: "Comment"
  • DOLLAR: "$"
  • EOF: "<EOF>"
  • EQUALS: "="
  • FLOAT: "Float"
  • INT: "Int"
  • NAME: "Name"
  • PAREN_L: "("
  • PAREN_R: ")"
  • PIPE: "|"
  • SOF: "<SOF>"
  • SPREAD: "..."
  • STRING: "String"