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§
- Builtin
Metadata - Metadata for a builtin function, generated by proc-macro at compile time.
- Builtin
Param - Parameter metadata for builtin functions
- Property
Metadata - Property metadata for Shape types
- Type
Metadata - 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.