摘要 |
PROBLEM TO BE SOLVED: To replace data which coincides with desired data in terms of meaning with another kind of data by retrieving it. SOLUTION: A data analyzing part 22 performs a syntactic analysis of contents in a data defining part 11 in accordance with the language specifications of a source program 1 and registers the analysis result in a data definition dictionary 21. A character string to be a replacement object and the character string after replacement are given as a parameter 3. A data collating part 23 performs the syntactic analysis of the character string to the replacement object which is given as the parameter 3 in accordance with the language specifications of the source program 1 and collates it with the syntactic analysis result which is registered in the dictionary 21. The data which is coincident in terms of meaning is extracted as the character string to be the replacement object as the result of collation and its position is reported to a character string replacement part 25. A character string replacement part 25 replaces the character string to be the replacement object, which is reported from the data collating part 23, with the character string after replacement, which is given as the parameter.
|