fieldEntriesForProduction method
Implementation
Iterable<TreeSitterFieldMapEntry> fieldEntriesForProduction(
int productionId,
) sync* {
if (productionId < 0 || productionId >= fieldMapSlices.length) return;
final slice = fieldMapSlices[productionId];
for (var index = slice.index; index < slice.index + slice.length; index++) {
yield fieldMapEntries[index];
}
}