Lines Matching refs:structs
90 if prev := comp.structs[name]; prev != nil {
102 comp.structs[name] = n
300 s := comp.structs[t.Ident]
374 func (comp *compiler) collectUsed(all bool) (structs, flags, strflags map[string]bool) {
375 structs = make(map[string]bool)
385 comp.collectUsedType(structs, flags, strflags, arg.Type, true)
388 comp.collectUsedType(structs, flags, strflags, n.Ret, true)
395 func (comp *compiler) collectUsedType(structs, flags, strflags map[string]bool, t *ast.Type, isArg … argument
399 for r != nil && !structs[r.Name.Name] {
400 structs[r.Name.Name] = true
406 if structs[t.Ident] {
409 structs[t.Ident] = true
410 s := comp.structs[t.Ident]
412 comp.collectUsedType(structs, flags, strflags, fld.Type, false)
429 comp.collectUsedType(structs, flags, strflags, arg, desc.Args[i].IsArg)
436 structs, flags, strflags := comp.collectUsed(true)
437 _, _, _ = structs, flags, strflags
450 if !structs[name] {
454 for name, n := range comp.structs {
455 if !structs[name] {
518 s := comp.structs[t.Ident]
611 comp.checkStructRecursion(checked, comp.structs[t.Ident], path)
821 if comp.structs[fullTypeName] == nil {
829 comp.structs[fullTypeName] = inst