Re-exports§
pub use crate::ast::Visibility;
Structs§
- Attributes
- Definition
- Emit
Input - Equality
Index - File
- File
Import - Interface
- Interface
Instance - Interface
Requirement - Method
- Mutation
Info - Package
- Package
Id - Test
Function - Test
Index - Unused
Info
Enums§
- Alias
Kind - Binding
Mutation - Call
Kind - What a call expression resolved to during type checking.
- Channel
Operation - Constant
Value - Definition
Body - DotAccess
Kind - What a dot access resolved to during type checking.
- DotAccess
Resolution - Method
Origin - Native
Type Kind - What kind of native built-in type (Slice, Map, Channel, etc.) a call targets.
Defined here so semantics can classify calls without depending on
emit-specific types. The emitter maps this to its internal
NativeGoType. - Receiver
Coercion - Type
Attribute - Uninferred
Exports - Value
Kind
Functions§
- channel_
operation - go_
import_ default_ name - interface_
declares_ any_ method - Whether an interface or any of its parents declares a method.
- interface_
instances - Instantiate an interface and its complete parent hierarchy exactly once. Package-qualified structural identity prevents same-named interfaces from collapsing, while the active path guard terminates malformed cycles.
- interface_
requirements - Flatten an interface and its instantiated parents into declaration-tagged method requirements. Cycles and repeated generic instantiations are handled here so registration, inference, and emission cannot disagree about the inherited signatures.
- is_
internal_ package_ id - is_
test_ file - method_
for_ type - methods_
for_ type - Resolve the complete method set for a type, including inherited and alias methods.
- resolved_
definition - type_
has_ any_ method - unaliased_
binding_ name