From 99c1d9af689e5325f3cf535c4007b3aeb8325229 Mon Sep 17 00:00:00 2001 From: Minteck Date: Tue, 10 Jan 2023 14:54:04 +0100 Subject: Update - This is an automated commit --- .../graphql/language/tokenKind.js.flow | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 school/node_modules/graphql/language/tokenKind.js.flow (limited to 'school/node_modules/graphql/language/tokenKind.js.flow') diff --git a/school/node_modules/graphql/language/tokenKind.js.flow b/school/node_modules/graphql/language/tokenKind.js.flow new file mode 100644 index 0000000..70b3cfb --- /dev/null +++ b/school/node_modules/graphql/language/tokenKind.js.flow @@ -0,0 +1,34 @@ +// @flow strict +/** + * An exported enum describing the different kinds of tokens that the + * lexer emits. + */ +export const TokenKind = Object.freeze({ + SOF: '', + 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. + */ +export type TokenKindEnum = $Values; -- cgit