Lines Matching defs:fileParser
130 type fileParser struct { struct
131 fileSet *token.FileSet
132 imports map[string]importedPackage // package name => imported package
133 importedInterfaces map[string]map[string]*ast.InterfaceType // package (or "") => name => interface
135 auxFiles []*ast.File
136 auxInterfaces map[string]map[string]*ast.InterfaceType // package (or "") => name => interface
138 srcDir string
141 func (p *fileParser) errorf(pos token.Pos, format string, args ...interface{}) error {
148 func (p *fileParser) parseAuxFiles(auxFiles string) error {
170 func (p *fileParser) addAuxInterfacesFromFile(pkg string, file *ast.File) {
181 func (p *fileParser) parseFile(importPath string, file *ast.File) (*model.Package, error) {
218 func (p *fileParser) parsePackage(path string) (*fileParser, error) {
250 …(p *fileParser) parseInterface(name, pkg string, it *ast.InterfaceType) (*model.Interface, error) {
343 …) (inParam []*model.Parameter, variadic *model.Parameter, outParam []*model.Parameter, err error) {
370 func (p *fileParser) parseFieldList(pkg string, fields []*ast.Field) ([]*model.Parameter, error) {
404 func (p *fileParser) parseType(pkg string, typ ast.Expr) (model.Type, error) {