Skip to content

GoSymbol

This is the base type for all symbols in Go.

Many subtypes of this symbol exist for specific purposes. However, this symbol may be used in cases where a more specific symbol is not required.

Extends OutputSymbol

constructor(name: string | Namekey, spaces: OutputSpace[] | OutputSpace | undefined, options: GoSymbolOptions)Constructs a new instance of the GoSymbol class
copy() => OutputSymbol
enclosingPackagePackageSymbol | undefined
protected getGoCopyOptions() => GoSymbolOptions
protected initializeGoCopy(copy: GoSymbol) => void