# LibTmux::Query::Filter

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-raku/blob/e76160bcce6e03976d49424da15b7c31afb2c68e/lib/LibTmux/Query.rakumod#L356
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-query-filter/

A schema-validated local matcher with copied, immutable criteria and AST.

A schema-validated local matcher with copied, immutable criteria and AST.

## Members

### Other members

- [`ACCEPTS`](/en/raku/latest/reference/libtmux-query-filter-accepts/) (method): Participate as a native matcher without changing data equality semantics.
- [`ast`](/en/raku/latest/reference/libtmux-query-filter-ast/) (property): Validated immutable expression tree used by matches and ACCEPTS.
- [`clone`](/en/raku/latest/reference/libtmux-query-filter-clone/) (method): Recompile changed criteria instead of bypassing validation with Mu.clone.
- [`compile`](/en/raku/latest/reference/libtmux-query-filter-compile/) (method): Validate the entire criterion before observing any member.
- [`criteria`](/en/raku/latest/reference/libtmux-query-filter-criteria/) (property): Deep-copied normalized query data, independent of the caller containers.
- [`entity`](/en/raku/latest/reference/libtmux-query-filter-entity/) (property): Entity schema against which every field and relationship was validated.
- [`from-json`](/en/raku/latest/reference/libtmux-query-filter-from-json/) (method): Bound bytes and nesting before JSON::Fast, then validate the closed wire grammar.
- [`limits`](/en/raku/latest/reference/libtmux-query-filter-limits/) (property): Immutable validation and serialization bounds used by this compiled filter.
- [`matches`](/en/raku/latest/reference/libtmux-query-filter-matches/) (method): Evaluate locally using the fixed entity/state/value/relation view protocol.
- [`new`](/en/raku/latest/reference/libtmux-query-filter-new/) (method): Refuse unvalidated construction; use compile or from-json.
- [`to-json`](/en/raku/latest/reference/libtmux-query-filter-to-json/) (method): Encode the proposed wire schema; reject exact numbers that would round.
