From b71d423e0c7b045f990c3f223990cf447810b8d5 Mon Sep 17 00:00:00 2001 From: Markus Rudolph Date: Mon, 10 Jul 2023 10:16:32 +0200 Subject: [PATCH] Add missing generated files --- packages/langium/src/grammar/generated/ast.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/langium/src/grammar/generated/ast.ts b/packages/langium/src/grammar/generated/ast.ts index ea673c79b..3a972f2f3 100644 --- a/packages/langium/src/grammar/generated/ast.ts +++ b/packages/langium/src/grammar/generated/ast.ts @@ -7,6 +7,15 @@ import type { AstNode, Reference, ReferenceInfo, TypeMetaData } from '../../syntax-tree'; import { AbstractAstReflection } from '../../syntax-tree'; +export const LangiumGrammarTerminals = { + ID: /\^?[_a-zA-Z][\w_]*/, + STRING: /"(\\.|[^"\\])*"|'(\\.|[^'\\])*'/, + RegexLiteral: /\/(?![*+?])(?:[^\r\n\[/\\]|\\.|\[(?:[^\r\n\]\\]|\\.)*\])+\/[a-z]*/, + WS: /\s+/, + ML_COMMENT: /\/\*[\s\S]*?\*\//, + SL_COMMENT: /\/\/[^\n\r]*/, +}; + export type AbstractRule = ParserRule | TerminalRule; export const AbstractRule = 'AbstractRule';