Files
to_docx/client/node_modules/langium/lib/utils/grammar-loader.d.ts
T
Chen Xiao 0b64e2de94 First commit.
Signed-off-by: Chen Xiao <abigwc@gmail.com>
2026-05-08 14:43:16 +08: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