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)
| 109 | // |
| 110 | // The `vars` value may either be an Activation or any valid input to the NewActivation call. |
| 111 | func PartialVars(vars any, |
| 112 | unknowns ...*AttributePatternType) (PartialActivation, error) { |
| 113 | return interpreter.NewPartialActivation(vars, unknowns...) |
| 114 | } |
| 115 | |
| 116 | // AttributePattern returns an AttributePattern that matches a top-level variable. The pattern is |
| 117 | // mutable, and its methods support the specification of one or more qualifier patterns. |