Documentation
¶
Overview ¶
Package identity defines canonical semantic declaration identities shared by resolution, checking, typed IR, and backend analysis.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Declaration ¶
Declaration identifies one semantic declaration independently from the spelling used at a source reference and from any backend-generated name. Module is the canonical compiler module path. Name is qualified with :: for declarations nested in source modules.
func (Declaration) Empty ¶
func (d Declaration) Empty() bool
func (Declaration) Key ¶
func (d Declaration) Key() string
func (Declaration) LeafName ¶
func (d Declaration) LeafName() string
type Dispatch ¶
type Dispatch struct {
Owner Declaration
Name string
Class bool
}
Dispatch identifies a source member independently from target-language mangling. Class distinguishes class and instance namespaces.
Click to show internal directories.
Click to hide internal directories.