Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | 13x 13x | /**
* The RDF document language ids Mentor supports as first-class authoring/formatting
* targets. Single source of truth for everything that needs to enumerate or constrain
* to these languages (settings webview, formatter, etc.).
*/
export const RDF_LANGUAGE_IDS = ['turtle', 'sparql', 'trig', 'n3', 'ntriples', 'nquads'] as const;
/**
* Union of {@link RDF_LANGUAGE_IDS}.
*/
export type LanguageId = typeof RDF_LANGUAGE_IDS[number];
/**
* The language IDs whose documents may contain triplate templates — every RDF
* language Mentor supports except RDF/XML, which is exactly {@link RDF_LANGUAGE_IDS}.
*
* Single source of truth for registering triplate features (hover, code lens,
* diagnostics) and for gating template detection.
*/
export const TRIPLATE_LANGUAGE_IDS = new Set<string>(RDF_LANGUAGE_IDS);
|