A match that corresponds to a certain pattern in the query.
The captures contained in the pattern.
The index of the pattern.
Get the nodes that are captured by the given capture name.