12 lines
697 B
TypeScript
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
|