Now, if you follow the method in Listing 3, your SAX code can hum along without even having to be recompiled, using different parser implementations as needed.
现在,如果使用“清单3”中的方法,那么SAX代码甚至不必进行重新编译就能运行,并根据需要使用不同的语法分析器实现。
You could build an Index view using the parser described in Part 3, but it would have to parse every source file in the CDT workspace whenever any code is modified.
可以使用在第3部分中描述过的解析器来构建index视图,但一旦任何代码进行了修改,该视图就不得不解析CDT工作空间中的每个源文件。
Listing 3: Invoking your first parser.
清单3:调用第一个解析器。
应用推荐