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
| Parameter | Type |
|---|---|
document | LangiumDocument |
factory | LangiumDocumentFactory |
Returns
LangiumDocument