The AST is a tree representation of the source code that contains everything from variable declarations to function definitions and method invocations.
AST是源代码的树形表示,它包含了从变量声明到功能定义和方法调用的全部内容。
Rather than simply giving you a collapsible tree view of code, the object browser gives you a live representation of the objects themselves — even of the importable modules in your PYTHONPATH.
对象浏览器不仅仅为您提供了一个可折叠树形式的代码视图,它还让您可以看到对象本身的生动的描述——甚至包括那些在您的PYTHONPATH中可以导入的那些模块。
The AST is a tree representation of the parsed source code, created by the compiler, similar to the DOM tree model of an XML file.
AST 代表已解析源代码的树,它由编译器创建,与 XML 文件的 DOM 树模型类似。
应用推荐