analyzer

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Analyzer

type Analyzer struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, workspaceRoot string) (*Analyzer, error)

func (*Analyzer) Close

func (a *Analyzer) Close()

func (*Analyzer) FindSimilarChunks added in v0.3.0

func (a *Analyzer) FindSimilarChunks(ctx context.Context, chunkID string) ([]string, error)

func (*Analyzer) GetChunkCode added in v0.3.0

func (a *Analyzer) GetChunkCode(ctx context.Context, ids []string) string

func (*Analyzer) GetIndexStatus added in v0.2.0

func (a *Analyzer) GetIndexStatus() (int, time.Time)

func (*Analyzer) IndexWorkspace added in v0.2.0

func (a *Analyzer) IndexWorkspace(ctx context.Context)

func (*Analyzer) SemanticSearch

func (a *Analyzer) SemanticSearch(ctx context.Context, query string, fileTypes []string) ([]string, error)

type Language

type Language string
const (
	Go          Language = "go"
	JavaScript  Language = "javascript"
	Markdown    Language = "markdown"
	Python      Language = "python"
	TypeScript  Language = "typescript"
	UnknownLang Language = "unknown"
)

type ParserFactory

type ParserFactory func(workspaceRoot string) (*parser.Parser, error)

Jump to

Keyboard shortcuts

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