Module value

Source
Expand description

Representing Value

Enums§

ConstValue
Represents a constant value that abstracts various literal types and expressions. This type encapsulates null, boolean, integer, string, floating-point, and expression values, each with respective formatting behavior for debugging and display purposes.
Type
Represents a comprehensive set of distinct type variants including basic and list-based types.
Value
A collection of constant values representing various primitive and collection types.

Functions§

consts_to_value
Converts a vector of constant values into a value variant by deducing the target type from the first element.