Interface EmbeddedDocument

A DocumentContext that refers to an embedded language section.

interface EmbeddedDocument {
    document: TextDocument;
    embeddedRange: Range;
    languageId: string;
    originalLanguageId: string;
}

Hierarchy (View Summary)

Properties

document: TextDocument

The document that is being processed.

embeddedRange: Range

If set, the context refers to an embedded language section. This is the range of the embedded section in the document.

languageId: string

The language identifier of the document or the embedded language section.

originalLanguageId: string

If set, the context refers to an embedded language section. This is the language identifier of the embedded section. Will only be set if embeddedRange is set.