analysis

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

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)

func (Analyzer) SemanticToken

func (a Analyzer) SemanticToken(ctx context.Context, doc document.Document) []uint32

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

Jump to

Keyboard shortcuts

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