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

Struct gc_parser

package_text.go:48–55  ·  view source on GitHub ↗

------------------------------------------------------------------------- gc_parser The following part of the code may contain portions of the code from the Go standard library, which tells me to retain their copyright notice: Copyright (c) 2009 The Go Authors. All rights reserved. Redistribution

Source from the content-addressed store, hash-verified

46//-------------------------------------------------------------------------
47
48type gc_parser struct {
49 scanner scanner.Scanner
50 tok rune
51 lit string
52 path_to_name map[string]string
53 beautify bool
54 pfc *package_file_cache
55}
56
57func (p *gc_parser) init(data []byte, pfc *package_file_cache) {
58 p.scanner.Init(bytes.NewReader(data))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected