Wyvern.IR.Context (wyvern v1.0.4)

Copy Markdown

A Context module is threaded through resolve_names()/to_ir() protocol to hold any state that is modified during the serialisation process.

Summary

Types

t()

@type t() :: %Wyvern.IR.Context{fn_auto_num: integer(), id_map: map()}

Functions

lookup_id(context, id)

map_id_to_name(ctx, label)

map_id_to_name(ctx, id, name)

new()

@spec new() :: t()