Versions in this module Expand all Collapse all v0 v0.1.0 May 3, 2024 Changes in this version + type ConstDecl struct + type Decl interface + type File struct + Decls []Decl + func ParseFile(name string, src []byte) (*File, error) + func (f *File) ImportDecls() []*ImportDecl + func (f *File) ImportSpecs() []ImportSpec + func (f *File) Offset(p token.Pos) int + func (f *File) Pos(offset int) token.Pos + func (f *File) Position(p token.Pos) token.Position + func (f *File) Slice(start, end token.Pos) []byte + type FuncDecl struct + func (f *FuncDecl) BodyEnd() token.Pos + type ImportDecl struct + Doc *ast.CommentGroup + End token.Pos + Pos token.Pos + Specs []ImportSpec + type ImportSpec struct + func (i *ImportSpec) Path() string + type TypeDecl struct + type VarDecl struct