# libtmux::NodeCollector

- **Module:** libtmux
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/393d4b0ad666f18a6581f1eb281741a75a7503f0/include/libtmux/lowered_node.hpp#L103
- **Page:** https://libtmux.org/en/cxx/latest/reference/libtmux-nodecollector/

Collects a lowered expression.

This is the sink the relation builders use to capture their child, and it is a plain value so the result is copyable. Builds the flat node list a lowered expression is, keeping the indices stable so a parent can reference a child it has not finished emitting.

## Members

- `string_test` (method)
- `bool_test` (method)
- `number_test` (method)
- `begin_group` (method)
- `end_group` (method)
- `begin_negation` (method)
- `end_negation` (method)
- `begin_relation` (method)
- `end_relation` (method)
- `nodes` (method)
- `take` (method)
