Re-exports§
pub use crate::ast::Visibility;
Structs§
- Attributes
- Definition
- Emit
Bindings - Emit
Input - Equality
Index - File
- File
Import - Interface
- Interface
Instance - Interface
Requirement - Method
- Package
- Package
Id - Test
Function - Test
Index - Unused
Info - Name spans of unreachable functions and imports (imports keyed by path span).
Enums§
- Alias
Kind - Binding
Mutation - Call
Kind - What a call expression resolved to during type checking.
- Channel
Operation - Constant
Value - Definition
Body - DotAccess
Resolution - What a dot access resolved to during type checking.
- 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
- 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.
- prelude_
constructor - The prelude enum and member an expression resolves to, as
("prelude.Option", "None"). - resolved_
definition - resolved_
instantiation - type_
has_ any_ method - unaliased_
binding_ name