Documentation
¶
Index ¶
- Variables
- type CollectOption
- type Collector
- func (c *Collector) Collect(ctx context.Context) error
- func (c *Collector) Export(ctx context.Context) (*uniast.Repository, error)
- func (c *Collector) ExportLocalFunction() map[Location]*DocumentSymbol
- func (c *Collector) ScannerByTreeSitter(ctx context.Context) ([]*DocumentSymbol, error)
- func (c *Collector) ScannerFile(ctx context.Context) []*DocumentSymbol
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrStdSymbol = errors.New("std symbol") ErrExternalSymbol = errors.New("external symbol") )
Functions ¶
This section is empty.
Types ¶
type CollectOption ¶
type Collector ¶
type Collector struct { CollectOption // contains filtered or unexported fields }
func NewCollector ¶
func (*Collector) ExportLocalFunction ¶ added in v0.2.0
func (c *Collector) ExportLocalFunction() map[Location]*DocumentSymbol
func (*Collector) ScannerByTreeSitter ¶ added in v0.2.0
func (*Collector) ScannerFile ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.