Versions in this module Expand all Collapse all v0 v0.3.0 Oct 14, 2026 Changes in this version + const Budget + const ListingLimit + const SourceLimit + func GoFormatterWrites(identity string, args []string) bool + func ReadSource(input Interpreter) (source, script, reason string) + type BindingState struct + Aliases map[string]string + Paths map[string][]string + Segments map[string][]string + type Bindings struct + func NewBindings(input SourceInput) *Bindings + func (b *Bindings) Analyze(node *sitter.Node) SourceResult + func (b *Bindings) Literal(node *sitter.Node) (string, bool) + func (b *Bindings) Paths(node *sitter.Node) []string + func (b *Bindings) Segments(node *sitter.Node) []string + func (b *Bindings) State() *BindingState + func (b *Bindings) Text(node *sitter.Node) string + type ChangeResolution struct + InvalidArguments bool + Paths []string + type ChangeResolver func(arguments []string, directory string, deadline time.Time) ChangeResolution + type Class int + const Declared + const Neutral + const Opaque + const Scoped + func (c Class) String() string + type Entry struct + Backup string + Copies bool + Dest string + DestDir bool + Kind Kind + NoDereference bool + NoTarget bool + Operands []Operand + Origin string + Recursive bool + Sources bool + Through bool + type Input struct + AuthoredOnly bool + Changes ChangeResolver + Command string + Deadline time.Time + Directory string + Shell string + type Interpreter struct + Arguments []string + Directory string + Identity string + Stdin string + type Kind string + const File + const Into + const Tree + type Operand struct + AbsoluteInput bool + Glob bool + Path string + type Program struct + Direct bool + Label string + VCS bool + type Result struct + Class Class + Labels []string + Programs []Program + Reason string + Scope []Entry + func Classify(input Input) Result + func StatementIntent(statement *syntax.Stmt) Result + type SourceInput struct + Deadline time.Time + Directory string + IntentOnly bool + Python bool + Script string + Source []byte + TemporaryEnv map[string]string + type SourceResult struct + Scope []Entry + Unresolved bool + Writes bool