纯ruby语法分析器提供了改变这种情况的机会——Ruby IDE(或者其他工具)可以获得Ruby的抽象语法树,同时避免被绑定到特定的语法分析器实现上。
The pure Ruby parser now offers a chance to change that - a Ruby IDE or other tool, can now get at a Ruby AST without getting locked in.
语法分析器读取这棵树,并通过事件为应用程序描述它。
The parser reads the tree and describes it, through events, to your application.
所有这些分析器提供了不同的抽象语法树以及获取它们的方式。
All of these provide different ASTs and different ways of getting at it.
应用推荐