PartialVars returns a PartialActivation which contains variables and a set of AttributePattern values that indicate variables or parts of variables whose value are not yet known. This method relies on manually configured sets of missing attribute patterns. For a method which infers the missing vari
(vars any, unknowns ...*AttributePatternType)
| 112 | // |
| 113 | // The `vars` value may either be an Activation or any valid input to the NewActivation call. |
| 114 | func PartialVars(vars any, |
| 115 | unknowns ...*AttributePatternType) (PartialActivation, error) { |
| 116 | return interpreter.NewPartialActivation(vars, unknowns...) |
| 117 | } |
| 118 | |
| 119 | // FunctionActivation extends the Activation interface with implementations for the functions |
| 120 | // declared with a late binding. |