Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Import ¶
type Import struct {
Path string
Kind ImportKind
}
Import is a raw import path with its kind.
type ImportKind ¶
type ImportKind int
ImportKind classifies an import statement.
const ( ImportDefault ImportKind = iota ImportTypeOnly )
type Symbol ¶
type Symbol struct {
Name string
Kind SymbolKind
Parent string
}
Symbol is an exported identifier with its kind. Parent carries the enclosing scope when available: the receiver type name for Go methods, empty for free functions and for languages whose queries do not yet capture parent scope.
type SymbolKind ¶
type SymbolKind int
SymbolKind classifies a symbol extracted from source code.
const ( SymbolUnknown SymbolKind = iota SymbolFunction SymbolType SymbolConstant SymbolVariable SymbolInterface )
Click to show internal directories.
Click to hide internal directories.