Lines Matching defs:fileParser
134 type fileParser struct { struct
135 fileSet *token.FileSet
136 imports map[string]importedPackage // package name => imported package
137 importedInterfaces map[string]map[string]*ast.InterfaceType // package (or "") => name => interface
139 auxFiles []*ast.File
140 auxInterfaces map[string]map[string]*ast.InterfaceType // package (or "") => name => interface
142 srcDir string
145 func (p *fileParser) errorf(pos token.Pos, format string, args ...interface{}) error {
152 func (p *fileParser) parseAuxFiles(auxFiles string) error {
174 func (p *fileParser) addAuxInterfacesFromFile(pkg string, file *ast.File) {
185 func (p *fileParser) parseFile(importPath string, file *ast.File) (*model.Package, error) {
222 func (p *fileParser) parsePackage(path string) (*fileParser, error) {
254 …(p *fileParser) parseInterface(name, pkg string, it *ast.InterfaceType) (*model.Interface, error) {
347 …t.FuncType) (in []*model.Parameter, variadic *model.Parameter, out []*model.Parameter, err error) {
374 func (p *fileParser) parseFieldList(pkg string, fields []*ast.Field) ([]*model.Parameter, error) {
408 func (p *fileParser) parseType(pkg string, typ ast.Expr) (model.Type, error) {