macOSLinuxWindowswasm
#import "Codex";
USAGE_MODE says what an importer does with the module: record a build (.WRITE, the
default) or read a recorded one back (.READ), or both. Every declaration is available in
every mode.
Procedures#
Codex inspection#
(ident: *Code_Ident) -> bool
Codex lifetime#
(help: *Codex_Help)
Codex wire values#
put2 overloads
(builder: *String_Builder, x: $T)
get2 overloads
(s: *string, x: *$T)
(input: *string, $count_type: Type, error: *bool, $allocate := true, $zero_terminated := false) -> string
Codex wire reader#
(name: string) -> bool
Codex plugin#
() -> *Metaprogram_Plugin
(p: *Metaprogram_Plugin, message: *Message)
(p: *Metaprogram_Plugin)
(p: *Metaprogram_Plugin)
(p: *Metaprogram_Plugin)
Codex metrics#
Types#
Metricsstruct
:: struct
:: enum
Canonical public records; declaration order follows their dependency graph.
Module_Recordstruct
:: struct
File_Recordstruct
:: struct
Procedure_Recordstruct
:: struct
Header_Recordstruct
:: struct
Codex_Helpstruct
:: struct
Constants#
:: Math_Module
:: "Codex: -export_file <path> (default exported.codex)\n"