Interface: ModuleText
Defined in: yang/dist/source/source.d.ts:11
The text of one module or submodule.
Properties
format?
ts
readonly format?: "yang" | "yin";Defined in: yang/dist/source/source.d.ts:17
YANG or YIN (RFC 7950 §13). Absent: YIN if the text starts with <, YANG otherwise.
source?
ts
readonly source?: string;Defined in: yang/dist/source/source.d.ts:15
A name for the text, usually a file path. It appears in diagnostics.
text
ts
readonly text: string | Uint8Array<ArrayBufferLike>;Defined in: yang/dist/source/source.d.ts:13
The module's YANG or YIN source.