(parent string)
| 485 | } |
| 486 | |
| 487 | func (p *gc_bin_parser) methodList(parent string) (methods []*ast.Field) { |
| 488 | if n := p.int(); n > 0 { |
| 489 | methods = make([]*ast.Field, n) |
| 490 | for i := range methods { |
| 491 | methods[i] = p.method(parent) |
| 492 | } |
| 493 | } |
| 494 | return |
| 495 | } |
| 496 | |
| 497 | func (p *gc_bin_parser) method(parent string) *ast.Field { |
| 498 | p.pos() |