MCPcopy Create free account
hub / github.com/antchfx/xpath / filterQuery

Struct filterQuery

query.go:777–784  ·  view source on GitHub ↗

filterQuery is an XPath query for predicate filter.

Source from the content-addressed store, hash-verified

775
776// filterQuery is an XPath query for predicate filter.
777type filterQuery struct {
778 Input query
779 Predicate query
780 NoPosition bool
781
782 posit int
783 positmap map[int]int
784}
785
786func (f *filterQuery) do(t iterator) bool {
787 val := reflect.ValueOf(f.Predicate.Evaluate(t))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected