Versions in this module Expand all Collapse all v0 v0.1.1 Oct 18, 2026 v0.1.0 Oct 18, 2026 Changes in this version + const CSharpPartialQual + var ErrClosed = errors.New("parse: closed") + var ErrCorruptFacts = errors.New("parse: corrupt facts encoding") + func AppendFacts(dst []byte, f *model.Facts) []byte + func CSharpIsPartialSig(sig string) bool + func DecodeFacts(data []byte) (f *model.Facts, err error) + func DumpFacts(f *model.Facts) string + func EncodeFacts(f *model.Facts) []byte + func ForExt(ext string) (model.LanguageSpec, bool) + func ForPath(p string) (model.LanguageSpec, bool) + func IsTestPath(p string) bool + func JavaExternalName(name string) bool + func JavaPackageOf(src []byte) string + func Langs() []model.Lang + func Lookup(l model.Lang) (model.LanguageSpec, bool) + func PHPNamespaceModule(ns string) string + func PHPSplitFQN(fqn string) (qualifier, name string) + func PythonBuiltin(name string) bool + func Register(spec model.LanguageSpec) + type Engine struct + func NewEngine() *Engine + func (e *Engine) Close() + func (e *Engine) Parse(ctx context.Context, spec model.LanguageSpec, src []byte) (Result, error) + func (e *Engine) ParseLang(ctx context.Context, l model.Lang, src []byte) (Result, error) + type Job struct + Spec model.LanguageSpec + Src []byte + Tag any + type Output struct + Err error + Result Result + Tag any + type PHPNameScope struct + Namespace string + func (s *PHPNameScope) AddUse(kind, fqn, alias string) + func (s *PHPNameScope) Class(name string) (string, bool) + func (s *PHPNameScope) Function(name string) (string, bool) + type Pool struct + func NewPool(n int) *Pool + func (p *Pool) Close() + func (p *Pool) Parse(ctx context.Context, spec model.LanguageSpec, src []byte) (Result, error) + func (p *Pool) Run(ctx context.Context, jobs <-chan Job, out chan<- Output) error + func (p *Pool) Size() int + type Result struct + Facts *model.Facts + SyntaxErrors bool + type TestPathMatcher interface + IsTestPath func(path string) bool