Versions in this module Expand all Collapse all v1 v1.8.2 Oct 15, 2025 Changes in this version + type Locator struct + func NewLocator(fset *token.FileSet) *Locator + func (l *Locator) Fset(loc string, fset *token.FileSet) (*token.FileSet, bool) + func (l *Locator) ID(p token.Pos) string + func (l *Locator) Loc(p token.Pos) string + func (l *Locator) Locator(loc string) (gopium.Locator, bool) + func (l *Locator) Root() *token.FileSet + type MavenGoTypes struct + func NewMavenGoTypes(compiler, arch string, caches ...int64) (MavenGoTypes, error) + func (m MavenGoTypes) Align(t types.Type) int64 + func (m MavenGoTypes) Name(t types.Type) string + func (m MavenGoTypes) Ptr(t types.Type) int64 + func (m MavenGoTypes) Size(t types.Type) int64 + func (m MavenGoTypes) SysAlign() int64 + func (m MavenGoTypes) SysCache(level uint) int64 + func (m MavenGoTypes) SysWord() int64 + type ParserXToolPackagesAst struct + BuildEnv []string + BuildFlags []string + ModeAst parser.Mode + ModeTypes packages.LoadMode + Path string + Pattern string + Root string + func (p *ParserXToolPackagesAst) ParseAst(ctx context.Context, src ...byte) (*ast.Package, gopium.Locator, error) + func (p *ParserXToolPackagesAst) ParseTypes(ctx context.Context, _ ...byte) (*types.Package, gopium.Locator, error)