MCPcopy Create free account
hub / github.com/nsf/gocode / methodList

Method methodList

package_bin.go:487–495  ·  view source on GitHub ↗
(parent string)

Source from the content-addressed store, hash-verified

485}
486
487func (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
497func (p *gc_bin_parser) method(parent string) *ast.Field {
498 p.pos()

Callers 1

typMethod · 0.95

Calls 2

intMethod · 0.95
methodMethod · 0.95

Tested by

no test coverage detected