Skip to content

rune-langium / core/src / addLegacyAnnotations

Function: addLegacyAnnotations() ​

ts
function addLegacyAnnotations(document, factory): LangiumDocument;

Defined in: packages/core/src/stdlib/legacy-annotations.ts:23

Add missing legacy declarations to the runtime annotation document before linking.

Parameters ​

ParameterType
documentLangiumDocument
factoryLangiumDocumentFactory

Returns ​

LangiumDocument

Core packages released under MIT. Studio app released under FSL-1.1-ALv2.