in src/main/kotlin/jsitter/impl/SubtreeAccess.kt [42:51]
fun subtreeNodeType(subtree: Ptr) : Int {
if (subtree == 0L) {
throw NullPointerException()
}
if (isInline(subtree)) {
return subtree.byte(1)
} else {
return readShort(subtree + symbol)
}
}