• Creates a new symbol information literal.

    Parameters

    • name: string

      The name of the symbol.

    • detail: undefined | string

      The detail of the symbol.

    • kind: SymbolKind

      The kind of the symbol.

    • range: Range

      The range of the symbol.

    • selectionRange: Range

      The selectionRange of the symbol.

    • Optionalchildren: DocumentSymbol[]

      Children of the symbol.

    Returns DocumentSymbol