Expand description
Compile-time integer constants, optionally with symbolic labels.
A Literal stores a raw u64 value together with an optional
SymbolicRef that gives it meaning beyond its numeric value — for example
the address of a known block or function. When a literal has a symbolic
reference it is displayed as &<name> rather than 0x….
Every literal carries a TypeId that encodes its byte width (and, for
pointer literals, its space provenance). Type is preserved through constant
folding.
Structs§
Enums§
- Symbolic
Ref - An optional symbolic meaning attached to a
Literal.