2008-07-15 16:37:14 -06:00
|
|
|
// 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.
|
|
|
|
|
|
|
|
package Package
|
|
|
|
|
|
|
|
import Globals "globals"
|
|
|
|
|
|
|
|
export Package
|
|
|
|
type Package struct {
|
|
|
|
ref int;
|
2008-07-16 18:00:48 -06:00
|
|
|
file_name string;
|
2008-07-15 16:37:14 -06:00
|
|
|
ident string;
|
|
|
|
key string;
|
|
|
|
scope *Globals.Scope;
|
2008-07-16 18:00:48 -06:00
|
|
|
pno int;
|
2008-07-15 16:37:14 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export NewPackage;
|
|
|
|
func NewPackage() *Package {
|
|
|
|
pkg := new(Package);
|
|
|
|
return pkg;
|
|
|
|
}
|