collect method

Implementation

TreeSitterCollectedInput collect() {
  while (!_physicalEof) {
    if (!_decodeOne() && _physicalEof) break;
  }
  return snapshot();
}