Files
infocom-systems-design/node_modules/langium/lib/utils/grammar-loader.d.ts
2025-10-03 22:27:28 +03:00

12 lines
697 B
TypeScript

/******************************************************************************
* Copyright 2023 TypeFox GmbH
* This program and the accompanying materials are made available under the
* terms of the MIT License, which is available in the project root.
******************************************************************************/
import * as ast from '../languages/generated/ast.js';
/**
* Load a Langium grammar for your language from a JSON string. This is used by several services,
* most notably the parser builder which interprets the grammar to create a parser.
*/
export declare function loadGrammarFromJson(json: string): ast.Grammar;
//# sourceMappingURL=grammar-loader.d.ts.map