Versions in this module Expand all Collapse all v1 v1.5.0 Jun 28, 2021 Changes in this version + type AddrLocationSpec struct + AddrExpr string + func (loc *AddrLocationSpec) Find(t *proc.Target, _ []string, scope *proc.EvalScope, locStr string, ...) ([]api.Location, error) + type AmbiguousLocationError struct + CandidatesLocation []api.Location + CandidatesString []string + Location string + func (ale AmbiguousLocationError) Error() string + type FuncLocationSpec struct + AbsolutePackage bool + BaseName string + PackageName string + PackageOrReceiverName string + ReceiverName string + func (spec *FuncLocationSpec) Match(sym proc.Function, packageMap map[string][]string) bool + type LineLocationSpec struct + Line int + func (loc *LineLocationSpec) Find(t *proc.Target, _ []string, scope *proc.EvalScope, _ string, ...) ([]api.Location, error) + type LocationSpec interface + Find func(t *proc.Target, processArgs []string, scope *proc.EvalScope, locStr string, ...) ([]api.Location, error) + func Parse(locStr string) (LocationSpec, error) + type NormalLocationSpec struct + Base string + FuncBase *FuncLocationSpec + LineOffset int + func (loc *NormalLocationSpec) FileMatch(path string) bool + func (loc *NormalLocationSpec) Find(t *proc.Target, processArgs []string, scope *proc.EvalScope, locStr string, ...) ([]api.Location, error) + type OffsetLocationSpec struct + Offset int + func (loc *OffsetLocationSpec) Find(t *proc.Target, _ []string, scope *proc.EvalScope, _ string, ...) ([]api.Location, error) + type RegexLocationSpec struct + FuncRegex string + func (loc *RegexLocationSpec) Find(t *proc.Target, _ []string, scope *proc.EvalScope, locStr string, ...) ([]api.Location, error)