collect

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

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 CollectOption struct {
	Language           uniast.Language
	LoadExternalSymbol bool
	NeedStdSymbol      bool
	NoNeedComment      bool
	NotNeedTest        bool
	Excludes           []string
	LoadByPackages     bool
}

type Collector

type Collector struct {
	CollectOption
	// contains filtered or unexported fields
}

func NewCollector

func NewCollector(repo string, cli *LSPClient) *Collector

func (*Collector) Collect

func (c *Collector) Collect(ctx context.Context) error

func (*Collector) Export

func (c *Collector) Export(ctx context.Context) (*uniast.Repository, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL