mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
41 lines
695 B
JavaScript
41 lines
695 B
JavaScript
|
"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 = Object.freeze({
|
||
|
SOF: '<SOF>',
|
||
|
EOF: '<EOF>',
|
||
|
BANG: '!',
|
||
|
DOLLAR: '$',
|
||
|
AMP: '&',
|
||
|
PAREN_L: '(',
|
||
|
PAREN_R: ')',
|
||
|
SPREAD: '...',
|
||
|
COLON: ':',
|
||
|
EQUALS: '=',
|
||
|
AT: '@',
|
||
|
BRACKET_L: '[',
|
||
|
BRACKET_R: ']',
|
||
|
BRACE_L: '{',
|
||
|
PIPE: '|',
|
||
|
BRACE_R: '}',
|
||
|
NAME: 'Name',
|
||
|
INT: 'Int',
|
||
|
FLOAT: 'Float',
|
||
|
STRING: 'String',
|
||
|
BLOCK_STRING: 'BlockString',
|
||
|
COMMENT: 'Comment'
|
||
|
});
|
||
|
/**
|
||
|
* The enum type representing the token kinds values.
|
||
|
*/
|
||
|
|
||
|
exports.TokenKind = TokenKind;
|