in src/main/kotlin/jsitter/impl/SubtreeAccess.kt [120:128]
fun productionId(subtree: Ptr): Int {
if (subtree == 0L) {
throw NullPointerException()
}
if (isInline(subtree)) {
throw AssertionError()
}
return readShort(subtree + production_id)
}