Skip to content

DocumentSymbol

原文链接

https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.DocumentSymbol.html

ts
interface DocumentSymbol {
    children?: DocumentSymbol[];
    containerName?: string;
    detail: string;
    kind: SymbolKind;
    name: string;
    range: IRange;
    selectionRange: IRange;
    tags: readonly Deprecated[];
}

children

containerName

  • 类型:string

detail

  • 类型:string

kind

name

  • 类型:string

range

selectionRange

tags