ts::Capture struct

A capture of a node in a syntax tree.

Contents

Created by applying a query.

Public variables

Node node
The captured node.
std::uint32_t index
The index of the capture in the match.