摘要
深入介绍TTCN-3语言的语法制导编辑技术,详细描述模板驱动的编辑方式以及在该编辑环境中采用的增量语法分析技术。在传统的模板编辑中,编辑操作是直接对语法树节点进行的,导致编辑过程不仅复杂且缺乏灵活性。针对这一问题,采用了基于文本模式的模板驱动编辑方法,编辑过程中不再对语法树节点进行操作,使之更好地与增量语法分析技术相结合,在改善编辑灵活性的同时提高了语法分析的效率。
This paper thoroughly introduces the syntax-directed editing technology of TTCN-3 language,and describes the template-driven editing method in detail,as well as the incremental parsing analysis technology used in editing environment.In traditional template editing,edit operations are executed on syntax tree nodes directly,that results in the editing process not only complex but also inflexible.To solve the problem, instead of operating on the syntax tree node in editing process,we use a template-driven editing method based on text mode,which betters the combination with incremental parsing analysis technology,and improves the flexibility of editing,as well as the efficiency of parsing.
出处
《计算机应用与软件》
CSCD
2010年第10期156-158,271,共4页
Computer Applications and Software