Python 外部扫描器,移植自 tree-sitter-python 的 src/scanner.c(MIT,Copyright (c) 2016 Max Brunsfeld)。
src/scanner.c