DoxigAlpha

Namespace

Represents a global scope that has any number of declarations in it. Each declaration has this as the parent scope.

Fields of this type

Fields

#
base:Scope
= Scope{ .tag = base_tag }
parent:*Scope
Parents can be: `LocalVal`, `LocalPtr`, `GenZir`, `Defer`, `Namespace`.
decls:std.AutoHashMapUnmanaged(Zir.NullTerminatedString, Ast.Node.Index)
Maps string table index to the source location of declaration,
node:Ast.Node.Index
inst:Zir.Inst.Index
maybe_generic:bool
declaring_gz:?*GenZir
The astgen scope containing this namespace.
captures:std.AutoArrayHashMapUnmanaged(Zir.Inst.Capture, Zir.NullTerminatedString)
Set of captures used by this namespace.