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)
| 92 | // |
| 93 | // The `vars` value may either be an Activation or any valid input to the NewActivation call. |
| 94 | func PartialVars(vars any, |
| 95 | unknowns ...*AttributePatternType) (PartialActivation, error) { |
| 96 | return interpreter.NewPartialActivation(vars, unknowns...) |
| 97 | } |
| 98 | |
| 99 | // AttributePattern returns an AttributePattern that matches a top-level variable. The pattern is |
| 100 | // mutable, and its methods support the specification of one or more qualifier patterns. |