Versions in this module Expand all Collapse all v0 v0.5.3 May 29, 2026 v0.5.2 May 29, 2026 Changes in this version + type Query struct + Name string + Query string + type QueryBuilder struct + func NewQueryBuilder(options ...QueryOption) *QueryBuilder + func (qb *QueryBuilder) Run(ctx context.Context, options ...RunOption) (QueryResults, error) + func (qb *QueryBuilder) RunWithProcessor(ctx context.Context, processor any, options ...RunOption) (any, error) + func (qb *QueryBuilder) RunWithTemplate(ctx context.Context, templateText string, options ...RunOption) (string, error) + func (qb *QueryBuilder) RunWithTemplateFile(ctx context.Context, templatePath string, options ...RunOption) (string, error) + func (qb *QueryBuilder) ToLispExpression(ctx context.Context, filePath string, includeAnonymous bool) (pm.Expression, error) + type QueryOption func(*QueryBuilder) + func FromYAML(path string) QueryOption + func WithLanguage(language string) QueryOption + func WithQuery(name, query string) QueryOption + func WithQueryFromFile(name, path string) QueryOption + type QueryResults map[string]map[string]*tree_sitter.Result + type RunConfig struct + Directory string + Files []string + Glob string + MaxWorkers int + Recursive bool + type RunOption func(*RunConfig) + func WithDirectory(dir string) RunOption + func WithFiles(files []string) RunOption + func WithGlob(pattern string) RunOption + func WithMaxWorkers(n int) RunOption + func WithRecursive(recursive bool) RunOption + type TemplatedResults struct + Language string + ResultsByFile map[string]map[string]*tree_sitter.Result