index property

int index
final

Numeric capture id from the compiled query's capture-name table.

This is Rust QueryCapture::index and C TSQueryCapture.index, not the capture's position within one match.

Implementation

final int index;