DoxigAlpha

AstGen

Fields of this type

Fields

#
tree:*const Ast
nodes_need_rl:*const AstRlAnnotate.RlNeededSet
The set of nodes which, given the choice, must expose a result pointer to
instructions:std.MultiArrayList(Zir.Inst)
= .{}
extra:ArrayListUnmanaged(u32)
= .empty
string_bytes:ArrayListUnmanaged(u8)
= .empty
source_offset:u32
Tracks the current byte offset within the source file.
source_line:u32
Tracks the corresponding line of `source_offset`.
source_column:u32
Tracks the corresponding column of `source_offset`.
arena:Allocator
Used for temporary allocations; freed after AstGen is complete.
string_table:std.HashMapUnmanaged(u32, void, StringIndexContext, std.hash_map.default_max_load_percentage)
= .empty
compile_errors:ArrayListUnmanaged(Zir.Inst.CompileErrors.Item)
= .empty
fn_block:?*GenZir
The topmost block of the current function.
fn_var_args:bool
= false
within_fn:bool
Whether we are somewhere within a function.
fn_ret_ty:Zir.Inst.Ref
The return type of the current function.
imports:std.AutoArrayHashMapUnmanaged(Zir.NullTerminatedString, Ast.TokenIndex)
Maps string table indexes to the first `@import` ZIR instruction
scratch:std.ArrayListUnmanaged(u32)
Used for temporary storage when building payloads.
ref_table:std.AutoHashMapUnmanaged(Zir.Inst.Index, Zir.Inst.Index)
Whenever a `ref` instruction is needed, it is created and saved in this
src_hasher:std.zig.SrcHasher
Any information which should trigger invalidation of incremental compilation

Functions in this namespace

Functions

#