我刚刚开始通过python绑定使用libclang。我了解可以使用遍历整个语法树(AST)get_children,但是我无法找到一个get_next_sibling()(或可能称为的)函数,因此可以跳过不感兴趣的子树。是否存在这样的功能?
get_children
get_next_sibling()
蝴蝶刀刀
相关分类