NewActivation returns an activation based on a map-based binding where the map keys are expected to be qualified names used with ResolveName calls. The input `bindings` may either be of type `Activation` or `map[string]any`. Lazy bindings may be supplied within the map-based input in either of the
(bindings any)
| 73 | // Values which are not represented as ref.Val types on input may be adapted to a ref.Val using |
| 74 | // the types.Adapter configured in the environment. |
| 75 | func NewActivation(bindings any) (Activation, error) { |
| 76 | return interpreter.NewActivation(bindings) |
| 77 | } |
| 78 | |
| 79 | // PartialActivation extends the Activation interface with a set of unknown AttributePatterns. |
| 80 | type PartialActivation = interpreter.PartialActivation |