langium-cli
Version:
CLI for Langium - the language engineering tool
15 lines • 922 B
TypeScript
/******************************************************************************
* Copyright 2022 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 { type Grammar } from 'langium';
import type { LangiumLanguageConfig } from '../../package-types.js';
/**
* Generates a Monarch highlighting grammar file's contents, based on the passed Langium grammar
* @param grammar Langium grammar to use in generating this Monarch syntax highlighting file content
* @param config Langium Config to also use during generation
* @returns Generated Monarch syntax highlighting file content
*/
export declare function generateMonarch(grammar: Grammar, config: LangiumLanguageConfig): string;
//# sourceMappingURL=monarch-generator.d.ts.map