# FilterLookup.parse(_:as:model:)

- **Module:** FilterLookup
- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-swift/blob/f02a4668570e1cc5198c941413750e021f42c214/Sources/LibTmux/FilterLookup.swift#L16
- **Page:** https://libtmux.org/reference/swift/filterlookup-parse(_-as-model-)/

```
FilterLookup.parse(_:as:model:)(lookup: String, as: Root.Type, model: String) -> FilterExpr<Root>
```

Builds an expression from one `field__operator=value` lookup.

The model name selects the vocabulary: `"pane"`, `"session"`, and so on.
A field can be named by wire id, Swift property, or tmux format name —
whatever the schema lists as an alias.

## Raises

- `FilterLookupError`
