Re-exports§
pub use value::Value;pub use value_and_type::IntoValue;pub use value_and_type::IntoValueAndType;pub use value_and_type::ValueAndType;
Modules§
Macros§
Structs§
- Ambiguous
Type Error - Compiler
Output - Component
Dependency - Single Wasm component: identity plus resolved export surface as a function dictionary.
- Component
Dependency Key - Custom
Error - Custom
Instance Spec - Default
Worker Name Generator - Dynamic
Parsed Function Name - Environment
Key - Evaluated
FnArgs - Evaluated
FqFn - Evaluated
Worker Name - Fully
Qualified Function Name - Fully
Qualified Interface Name - Fully
Qualified Resource Constructor - Fully
Qualified Resource Method - Function
- Function
Dictionary - Function
Type - Global
Variable Type Spec - Id
- Inferred
Expr - Inferred
Type - Instruction
Id - Interface
Name - Interpreter
- Interpreter
Env - Interpreter
Stack - Invalid
Worker Name - List
Aggregation Identifier - List
Comprehension Identifier - Match
Arm - Match
Identifier - Number
- Package
Name - Parsed
Function Name - Path
- Range
Type - Resource
Method Dictionary - RibByte
Code - RibCompiler
- RibCompiler
Config - Compiler configuration options for Rib.
- RibEval
Config - RibEvaluator
- RibInput
- RibInput
Type Info - RibOutput
Type Info - SemVer
- Type
Mismatch Error - UnResolved
Types Error - Unification
Error - Worker
Function Type - Worker
Functions InRib
Enums§
- Actual
Type - ArmPattern
- Call
Type - Cast
From - Coerced
Numeric Value - Dynamic
Parsed Function Reference - Expected
Type - Expr
- Function
Call Error - Function
Details - Function
Name - Function
Reference Type - Inferred
Number - Instance
Creation Type - Instance
Identifier - Instance
Type - Instance
Variable - Invalid
Item - Invalid
Pattern Match Error - Invariant
Violation - Literal
Value - Parsed
Function Reference - Parsed
Function Site - Path
Elem - Path
Type - Range
- RibByte
Code Generation Error - RibCompilation
Error - RibEvaluation
Error - RibIR
- RibResult
- RibRuntime
Error - Type
Hint - Type
Internal - Type
Name - Type
Parameter - Type
Unification Error - Variable
Id - WitType
With Unit
Traits§
Functions§
- arithmetic_
error - bind_
global_ variable_ types_ lowered - bind_
instance_ types - Propagates instance types from
letrhs to bound identifiers. Use from the samelower/rebuild_exprboundary ascrate::Expr::infer_types. - bind_
type_ annotations - For every node that has a
type_annotation, derives anInferredTypefrom that annotation and writes it intoTypeTable. ForLetnodes the type annotation applies to the rhs child, not theLetnode itself (mirrors the existing behaviour exactly). - bind_
variables_ of_ let_ assignment - Arena version: assigns local
VariableIds toLetnodes and propagates them to matchingIdentifieruse-sites. - bind_
variables_ of_ list_ comprehension - bind_
variables_ of_ list_ reduce - bind_
variables_ of_ pattern_ match - cast_
error - cast_
error_ custom - collect_
children_ mut - empty_
stack - ensure_
stateful_ instance - exhausted_
iterator - field_
not_ found - from_
string - function_
invoke_ fail - identify_
instance_ creation - index_
out_ of_ bound - infer_
all_ identifiers - infer_
enums - Enum constructor rewriting and type merge on lowered IR. Use from
crate::expr_arena::lower/crate::expr_arena::rebuild_exprboundaries (e.g.Expr::infer_types); do not lower/rebuild per pass. - infer_
function_ call_ types - Arena-based function-call argument typing (used from
crate::expr_arenainference). - infer_
function_ invokes - Converts
SelectFieldon anInstancetype into a resolvedCall, andInvokeMethodLazyon anInstancetype into a resolvedCall. - infer_
global_ inputs - infer_
variants_ lowered - infinite_
computation - input_
not_ found - instruction_
jump_ error - insufficient_
stack_ items - interpret
- interpret_
pure - invalid_
comparison - invalid_
type_ with_ stack_ value - no_
result - parse_
value_ and_ type - print_
value_ and_ type - pull_
types_ up - Post-order traversal: for each node, read the types of its children from
TypeTableto compute/update the node’s own type. - push_
types_ down - Pre-order traversal: for each parent node, read its type from
TypeTableand push derived types down into child nodes. - reset_
type_ info - run_
initial_ binding_ and_ instance_ phases - set_
origin - For every node, tags its
InferredTypewithTypeOrigin::OriginatedAtusing the node’s source span. This mirrorsExpr::set_origin. - sync_
embedded_ worker_ exprs_ from_ calls - Copies the worker-name expression from the arena-backed
CallTypeNodeintoInstanceType::worker_namefor everyCallwhose type isTypeInternal::Instance. - throw_
error - to_
string - to_
string_ arm_ pattern - try_
visit_ post_ order_ rev_ mut - type_
inference_ fix_ point - type_
mismatch_ with_ type_ hint - type_
mismatch_ with_ value - unify_
types - Same semantics as
unify_types, but updates aTypeTablein place. On failure, rebuilds fromrootfor error context (cold path). - visit_
post_ order - visit_
post_ order_ mut - visit_
post_ order_ rev_ mut - visit_
pre_ order_ mut