标签: python python-2.7 compiler-construction
我可以使用从ast模块到方法的任何替代方法
compiler.ast.getChildNodes()
我不想使用编译器软件包,因为它已被弃用,在以后的版本中不受支持。我正在使用Python 2.7