mirror of
https://github.com/golang/go
synced 2024-11-23 00:10:07 -07:00
a6f87794ff
- first cut at semantic checks (disabled) SVN=127348
24 lines
405 B
Go
24 lines
405 B
Go
// 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;
|
|
ident string;
|
|
path string;
|
|
key string;
|
|
scope *Globals.Scope;
|
|
}
|
|
|
|
|
|
export NewPackage;
|
|
func NewPackage() *Package {
|
|
pkg := new(Package);
|
|
return pkg;
|
|
}
|