Skip to main content

Module program

Module program 

Source

Structs§

Definition
EmitInput
EqualityIndex
File
FileImport
Interface
InterfaceInstance
InterfaceRequirement
Method
MutationInfo
Package
TestFunction
TestIndex
UnusedInfo

Enums§

AliasKind
BindingMutation
CallKind
What a call expression resolved to during type checking.
ChannelOperation
DefinitionBody
DotAccessKind
What a dot access resolved to during type checking.
DotAccessResolution
NativeTypeKind
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.
ReceiverCoercion
TypeAttribute
UninferredExports
ValueKind
Visibility

Functions§

channel_operation
go_import_default_name
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
methods_for_type
Resolve the complete method set for a type, including inherited and alias methods.
resolved_definition
unaliased_binding_name

Type Aliases§

Attributes
Methods
PackageId