Lines Matching defs:fileParser
100 type fileParser struct { struct
101 fileSet *token.FileSet
102 imports map[string]string // package name => import path
103 importedInterfaces map[string]map[string]*ast.InterfaceType // package (or "") => name => interface
105 auxFiles []*ast.File
106 auxInterfaces map[string]map[string]*ast.InterfaceType // package (or "") => name => interface
108 srcDir string
111 func (p *fileParser) errorf(pos token.Pos, format string, args ...interface{}) error {
118 func (p *fileParser) parseAuxFiles(auxFiles string) error {
140 func (p *fileParser) addAuxInterfacesFromFile(pkg string, file *ast.File) {
151 func (p *fileParser) parseFile(importPath string, file *ast.File) (*model.Package, error) {
185 func (p *fileParser) parsePackage(path string) error {
209 …(p *fileParser) parseInterface(name, pkg string, it *ast.InterfaceType) (*model.Interface, error) {
278 …t.FuncType) (in []*model.Parameter, variadic *model.Parameter, out []*model.Parameter, err error) {
305 func (p *fileParser) parseFieldList(pkg string, fields []*ast.Field) ([]*model.Parameter, error) {
339 func (p *fileParser) parseType(pkg string, typ ast.Expr) (model.Type, error) {