Documentation
¶
Overview ¶
Package analysis is mainly copied from https://github.com/tilt-dev/starlark-lsp/blob/main/pkg/cli/start.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Analyzer ¶
type Analyzer struct {
*starlark_analyzer.Analyzer
}
func NewAnalyzer ¶
func NewAnalyzer(ctx context.Context, opts ...starlark_analyzer.AnalyzerOption) (*Analyzer, error)
type AnalyzerOption ¶
type AnalyzerOption = starlark_analyzer.AnalyzerOption
func WithBuiltins ¶
func WithBuiltins(f fs.FS) AnalyzerOption
Reference of starlark-lsp/pkg/analysis/builtins
func WithStarlarkBuiltins ¶
func WithStarlarkBuiltins() AnalyzerOption
type BuiltinAnalyzerOptionProvider ¶
type BuiltinAnalyzerOptionProvider = func() starlark_analyzer.AnalyzerOption
Click to show internal directories.
Click to hide internal directories.