Sha256: d79115ae9681aa6d68e39bdc761e49c38d18d5b9464c721398a971c2ea782591
Contents?: true
Size: 1.1 KB
Versions: 26
Compression:
Stored size: 1.1 KB
Contents
'use strict'; Object.defineProperty(exports, '__esModule', { value: true, }); exports.TokenKind = void 0; /** * An exported enum describing the different kinds of tokens that the * lexer emits. */ var TokenKind; exports.TokenKind = TokenKind; (function (TokenKind) { TokenKind['SOF'] = '<SOF>'; TokenKind['EOF'] = '<EOF>'; TokenKind['BANG'] = '!'; TokenKind['DOLLAR'] = '$'; TokenKind['AMP'] = '&'; TokenKind['PAREN_L'] = '('; TokenKind['PAREN_R'] = ')'; TokenKind['SPREAD'] = '...'; TokenKind['COLON'] = ':'; TokenKind['EQUALS'] = '='; TokenKind['AT'] = '@'; TokenKind['BRACKET_L'] = '['; TokenKind['BRACKET_R'] = ']'; TokenKind['BRACE_L'] = '{'; TokenKind['PIPE'] = '|'; TokenKind['BRACE_R'] = '}'; TokenKind['NAME'] = 'Name'; TokenKind['INT'] = 'Int'; TokenKind['FLOAT'] = 'Float'; TokenKind['STRING'] = 'String'; TokenKind['BLOCK_STRING'] = 'BlockString'; TokenKind['COMMENT'] = 'Comment'; })(TokenKind || (exports.TokenKind = TokenKind = {})); /** * The enum type representing the token kinds values. * * @deprecated Please use `TokenKind`. Will be remove in v17. */
Version data entries
26 entries across 26 versions & 1 rubygems