首页>
外国专利>
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
展开▼