summaryrefslogtreecommitdiff
path: root/school/node_modules/graphql/language/tokenKind.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'school/node_modules/graphql/language/tokenKind.d.ts')
-rw-r--r--school/node_modules/graphql/language/tokenKind.d.ts33
1 files changed, 33 insertions, 0 deletions
diff --git a/school/node_modules/graphql/language/tokenKind.d.ts b/school/node_modules/graphql/language/tokenKind.d.ts
new file mode 100644
index 0000000..fa27e23
--- /dev/null
+++ b/school/node_modules/graphql/language/tokenKind.d.ts
@@ -0,0 +1,33 @@
+/**
+ * An exported enum describing the different kinds of tokens that the
+ * lexer emits.
+ */
+export const TokenKind: {
+ 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.
+ */
+export type TokenKindEnum = typeof TokenKind[keyof typeof TokenKind];