* Evaluate a single prop value with schema awareness. * Delegates to shared evaluatePropCore with inline-specific recursion callbacks.
( value: unknown, context: EvaluationContext, schemaCtx: SchemaContext, reactiveSchema?: unknown, )
| 273 | * Delegates to shared evaluatePropCore with inline-specific recursion callbacks. |
| 274 | */ |
| 275 | function evaluatePropInline( |
| 276 | value: unknown, |
| 277 | context: EvaluationContext, |
| 278 | schemaCtx: SchemaContext, |
| 279 | reactiveSchema?: unknown, |
| 280 | ): unknown { |
| 281 | return evaluatePropCore(value, context, schemaCtx, reactiveSchema, { |
| 282 | recurseElement: (el) => evaluateElementInline(el, context, schemaCtx), |
| 283 | recurse: (v, rs) => evaluatePropInline(v, context, schemaCtx, rs), |
| 284 | }); |
| 285 | } |
| 286 | |
| 287 | /** Convert a resolved runtime value back to a literal AST node for deferred evaluation. */ |
| 288 | function toLiteralAST(value: unknown): ASTNode { |
no test coverage detected