Add a new extension to the plug-in as we did for the category.
向插件程序中添加一个新的扩展,就如同我们在类别时所做的那样。
To accomplish this, you need to once again return to the plug-in manifest and add a new extension.
为了完成这点,您需要再一次返回到插件声明,并添加一个新的扩展。
This article will not discuss the AST in any detail here, except to say that when the extension needs to add new elements to the generated source it does so by calling methods on the AST objects.
本文在这里并不讨论关于AST的任何细节,除非当扩展需要向生成的代码添加新元素时,才会涉及到一些。通过访问AST的方法来做到这一点。
应用推荐