Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents information about programming constructs like variables, classes, interfaces etc.

层级

  • SymbolInformation

索引

Constructors(1)

Properties(5)

Constructors(1)

constructor

  • Creates a new symbol information object.

    Parameters

    • name: string

      The name of the symbol.

    • kind: SymbolKind

      The kind of the symbol.

    • containerName: string

      The name of the symbol containing the symbol.

    • location: Location

      The location of the symbol.

    Returns SymbolInformation

  • Creates a new symbol information object.

    deprecated

    Please use the constructor taking a Location object.

    Parameters

    • name: string

      The name of the symbol.

    • kind: SymbolKind

      The kind of the symbol.

    • range: Range

      The range of the location of the symbol.

    • Optional uri: Uri

      The resource of the location of symbol, defaults to the current document.

    • Optional containerName: string

      The name of the symbol containing the symbol.

    Returns SymbolInformation

Properties(5)

name

name: string

The name of this symbol.

containerName

containerName: string

The name of the symbol containing this symbol.

kind

The kind of this symbol.

Optional tags

tags: readonly Deprecated[]

Tags for this symbol.

location

location: Location

The location of this symbol.

VS Code 插件开发中文文档 | VS Code 中文文档 | VS Code 官网文档 | VS Code 扩展市场

Generated by TypeDoc | 站长统计