type parser …
type fixupRecord …
func (p *parser) init(filename string, src io.Reader, imports map[string]*types.Package) { … }
func (p *parser) initScanner(filename string, src io.Reader) { … }
type importError …
func (e importError) Error() string { … }
func (p *parser) error(err any) { … }
func (p *parser) errorf(format string, args ...any) { … }
func (p *parser) expect(tok rune) string { … }
func (p *parser) expectEOL() { … }
func (p *parser) expectKeyword(keyword string) { … }
func (p *parser) parseString() string { … }
func (p *parser) parseUnquotedString() string { … }
func (p *parser) next() { … }
func (p *parser) parseQualifiedName() (path, name string) { … }
func (p *parser) parseUnquotedQualifiedName() (path, name string) { … }
func (p *parser) parseQualifiedNameStr(unquotedName string) (pkgpath, name string) { … }
func (p *parser) getPkg(pkgpath, name string) *types.Package { … }
func (p *parser) parseExportedName() (pkg *types.Package, name string) { … }
func (p *parser) parseName() string { … }
func deref(typ types.Type) types.Type { … }
func (p *parser) parseField(pkg *types.Package) (field *types.Var, tag string) { … }
func (p *parser) parseParam(pkg *types.Package) (param *types.Var, isVariadic bool) { … }
func (p *parser) parseVar(pkg *types.Package) *types.Var { … }
func (p *parser) parseConversion(pkg *types.Package) (val constant.Value, typ types.Type) { … }
func (p *parser) parseConstValue(pkg *types.Package) (val constant.Value, typ types.Type) { … }
func (p *parser) parseConst(pkg *types.Package) *types.Const { … }
var reserved …
func (p *parser) reserve(n int) { … }
func (p *parser) update(t types.Type, nlist []any) { … }
func (p *parser) parseNamedType(nlist []any) types.Type { … }
func (p *parser) parseInt64() int64 { … }
func (p *parser) parseInt() int { … }
func (p *parser) parseArrayOrSliceType(pkg *types.Package, nlist []any) types.Type { … }
func (p *parser) parseMapType(pkg *types.Package, nlist []any) types.Type { … }
func (p *parser) parseChanType(pkg *types.Package, nlist []any) types.Type { … }
func (p *parser) parseStructType(pkg *types.Package, nlist []any) types.Type { … }
func (p *parser) parseParamList(pkg *types.Package) (*types.Tuple, bool) { … }
func (p *parser) parseResultList(pkg *types.Package) *types.Tuple { … }
func (p *parser) parseFunctionType(pkg *types.Package, nlist []any) *types.Signature { … }
func (p *parser) parseFunc(pkg *types.Package) *types.Func { … }
func (p *parser) parseInterfaceType(pkg *types.Package, nlist []any) types.Type { … }
func (p *parser) parsePointerType(pkg *types.Package, nlist []any) types.Type { … }
func (p *parser) parseTypeSpec(pkg *types.Package, nlist []any) types.Type { … }
const gccgoBuiltinINT8 …
const gccgoBuiltinINT16 …
const gccgoBuiltinINT32 …
const gccgoBuiltinINT64 …
const gccgoBuiltinUINT8 …
const gccgoBuiltinUINT16 …
const gccgoBuiltinUINT32 …
const gccgoBuiltinUINT64 …
const gccgoBuiltinFLOAT32 …
const gccgoBuiltinFLOAT64 …
const gccgoBuiltinINT …
const gccgoBuiltinUINT …
const gccgoBuiltinUINTPTR …
const gccgoBuiltinBOOL …
const gccgoBuiltinSTRING …
const gccgoBuiltinCOMPLEX64 …
const gccgoBuiltinCOMPLEX128 …
const gccgoBuiltinERROR …
const gccgoBuiltinBYTE …
const gccgoBuiltinRUNE …
const gccgoBuiltinANY …
func lookupBuiltinType(typ int) types.Type { … }
func (p *parser) parseType(pkg *types.Package, n ...any) types.Type { … }
func (p *parser) parseTypeAfterAngle(pkg *types.Package, n ...any) (t types.Type, n1 int) { … }
func (p *parser) parseTypeExtended(pkg *types.Package, n ...any) (t types.Type, n1 int) { … }
func (p *parser) skipInlineBody() { … }
func (p *parser) parseTypes(pkg *types.Package) { … }
func (p *parser) parseSavedType(pkg *types.Package, i int, nlist []any) { … }
func (p *parser) parsePackageInit() PackageInit { … }
func (p *parser) maybeCreatePackage() { … }
func (p *parser) parseInitDataDirective() { … }
func (p *parser) parseDirective() { … }
func (p *parser) parsePackage() *types.Package { … }