Document Filter Template
A DocumentFilter with named placeholders, compiled once and bound to values any number of times (SPEC.md §10.6), as JsonPathTemplate is for a query: @.kind == ${kind} && @.version >= ${version}.
bind puts each value into the compiled filter as a literal, never as text, so no value can change what the filter tests. The bound filter is the one DocumentFilter.compile makes of the template's text with each placeholder replaced by its value's literal, and that text is its DocumentFilter.toString; its DocumentFilter.warnings are that text's.
Immutable and thread-safe; two templates are equal when their texts are.
Properties
The names of the placeholders, each once, in the order they first appear in the text.
The warnings of the template's own text, with the rules of JsonPathTemplate.warnings.
Functions
The filter with each placeholder replaced by the literal of its value, with the rules of JsonPathTemplate.bind.
bind with the values given as pairs: bind("kind" to JsonQueryValue.Str(kind)).