| // Copyright 2009 The Go Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style |
| // license that can be found in the LICENSE file. |
| type Compilation struct { |
| imports *Globals.List; // a list of *Globals.Package |
| func (C *Compilation) Lookup(pkg_name string) *Package.Package { |
| func (C *Compilation) Insert(pkg *Package.Package) { |
| func (C *Compilation) InsertImport(pkg *Package.Package) *Package.Package { |
| func (C *Compilation) Import(pkg_name string) (pno int) { |
| func (C *Compilation) Export() { |