首页> 外国专利> ABSTRACT SYNTAX TREE PROCESSING METHOD, COMPUTER READABLE STORAGE MEDIUM RECORDING ABSTRACT SYNTAX TREE PROCESSING PROGRAM, COMPUTER READABLE STORAGE MEDIUM RECORDING ABSTRACT SYNTAX TREE DATA, AND ABSTRACT SYNTAX TREE PROCESSING

ABSTRACT SYNTAX TREE PROCESSING METHOD, COMPUTER READABLE STORAGE MEDIUM RECORDING ABSTRACT SYNTAX TREE PROCESSING PROGRAM, COMPUTER READABLE STORAGE MEDIUM RECORDING ABSTRACT SYNTAX TREE DATA, AND ABSTRACT SYNTAX TREE PROCESSING

机译:抽象语法树处理方法,计算机可读存储介质记录程序,计算机可读存储器中记录抽象语法树数据和抽象语法树处理

摘要

PROBLEM TO BE SOLVED: To use a source code of the processing as it is regardless of the change of specifications of an inputted programming language. ;SOLUTION: A tag of an abstract syntax tree an the object of processing is checked to discriminate whether a node is a literal or a syntax (step S01). If it is a literal, the literal tag is checked to perform individually required processings (steps S021, S022,...). However, general processing (steps S02j) for other literals is performed with respect to the literal requiring no individual processings. If it is a syntax, branching is performed in accordance with the tag, and individually required processings are performed for respective syntax classifications (steps S031, S032...). However, general processing (step S03k) for other syntax is performed with respect to the syntax requiring no individual processings. In the case of a syntax, the processing is recursively performed from the step S01 with respect to all subtrees which the abstract syntax tree in the middle of processing has (step S04). The end of the tree structure can be discriminated if a node is a literal.;COPYRIGHT: (C)1999,JPO
机译:解决的问题:不管输入的编程语言的规格如何变化,都按原样使用处理的源代码。 ;解决方案:检查抽象语法树的标签和处理的对象,以区分节点是文字还是语法(步骤S01)。如果是文字,则检查文字标签以执行单独所需的处理(步骤S02 1 ,S02 2 ,...)。但是,相对于不需要单独处理的文字,执行针对其他文字的一般处理(步骤S02 j )。如果是语法,则根据标签执行分支,并对各个语法分类执行单独所需的处理(步骤S03 1 ,S03 2 ...) 。然而,关于不需要单独处理的语法执行针对其他语法的一般处理(步骤S03 k )。在语法的情况下,针对处理中的抽象语法树具有的所有子树,从步骤S01起递归地执行处理(步骤S04)。如果节点是文字,则可以区分树结构的末尾。; COPYRIGHT:(C)1999,JPO

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号