Skip to main content

Module builtin_metadata

Module builtin_metadata 

Source
Expand description

Builtin function metadata for LSP introspection

This module defines the metadata structures used by the #[shape_builtin] proc-macro and #[derive(ShapeType)] to generate compile-time metadata.

Structs§

BuiltinMetadata
Metadata for a builtin function, generated by proc-macro at compile time.
BuiltinParam
Parameter metadata for builtin functions
PropertyMetadata
Property metadata for Shape types
TypeMetadata
Metadata for a Shape type (struct), generated by derive macro at compile time.

Statics§

TYPE_METADATA_ROW
Static type metadata for Row Row is a generic container with dynamic fields discovered at runtime. Domain-specific fields (e.g., OHLCV for finance) are defined in stdlib types.

Functions§

builtin_functions_from_macros
Convert all collected builtin metadata to FunctionInfo for LSP
collect_builtin_metadata
Collect all builtin metadata for LSP introspection.
collect_core_type_metadata
Collect core type metadata from derive macro generated constants.
collect_domain_type_metadata
Collect domain-specific type metadata (finance/trading types).
collect_type_metadata
Collect all type metadata from derive macro generated constants.
is_comptime_builtin_function
Returns true if the function is a comptime-only builtin.