Documentation
¶
Index ¶
- type BuildInType
- type File
- func (self *File) AddLinkedPackage(pkg *Package)
- func (self *File) AppendGlobal(pub bool, g Global) Global
- func (self *File) Equal(dst *File) bool
- func (self *File) GetExternPackage(name string) (*Package, bool)
- func (self *File) GetIdent(name string, allowLinkedPkgs ...bool) (any, bool)
- func (self *File) GetLinkedPackages() []*Package
- func (self *File) Hash() uint64
- func (self *File) Package() *Package
- func (self *File) Path() stlos.FilePath
- func (self *File) SetExternPackage(name string, pkg *Package)
- func (self *File) SetIdent(name string, ident any) bool
- func (self *File) String() string
- type GenericRestraint
- type Global
- type Local
- type Package
- func (self *Package) AddFile(file *File)
- func (self *Package) Equal(dst *Package) bool
- func (self *Package) GetDependencyPackages() []*Package
- func (self *Package) GetIdent(name string, _ ...bool) (any, bool)
- func (self *Package) Globals() linkedlist.LinkedList[Global]
- func (self *Package) Hash() uint64
- func (self *Package) IsBuildIn() bool
- func (self *Package) IsIn(dst *Package) bool
- func (self *Package) Package() *Package
- func (self *Package) Path() stlos.FilePath
- func (self *Package) SetIdent(name string, ident any) bool
- func (self *Package) String() string
- type Type
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
func (*File) AddLinkedPackage ¶
func (*File) GetLinkedPackages ¶
func (*File) SetExternPackage ¶
type GenericRestraint ¶
GenericRestraint 泛型约束
type Package ¶
type Package struct {
// contains filtered or unexported fields
}
func NewPackage ¶
func (*Package) GetDependencyPackages ¶
func (*Package) Globals ¶
func (self *Package) Globals() linkedlist.LinkedList[Global]
Source Files
¶
Click to show internal directories.
Click to hide internal directories.