Skip to content

Commit

Permalink
Add missing generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
Lotes committed Jul 10, 2023
1 parent a9b166c commit b71d423
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/langium/src/grammar/generated/ast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit b71d423

Please sign in to comment.