CN115576603B - Method and device for acquiring variable values in code segment - Google Patents

Method and device for acquiring variable values in code segment Download PDF

Info

Publication number
CN115576603B
CN115576603B CN202211472599.XA CN202211472599A CN115576603B CN 115576603 B CN115576603 B CN 115576603B CN 202211472599 A CN202211472599 A CN 202211472599A CN 115576603 B CN115576603 B CN 115576603B
Authority
CN
China
Prior art keywords
syntax tree
code segment
target
variable
serialized
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211472599.XA
Other languages
Chinese (zh)
Other versions
CN115576603A (en
Inventor
吴凡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Accumulus Technologies Tianjin Co Ltd
Original Assignee
Accumulus Technologies Tianjin Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Accumulus Technologies Tianjin Co Ltd filed Critical Accumulus Technologies Tianjin Co Ltd
Priority to CN202211472599.XA priority Critical patent/CN115576603B/en
Publication of CN115576603A publication Critical patent/CN115576603A/en
Application granted granted Critical
Publication of CN115576603B publication Critical patent/CN115576603B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/75Structural analysis for program understanding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/42Syntactic analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/42Syntactic analysis
    • G06F8/427Parsing

Abstract

The invention provides a method and a device for acquiring variable values in code fragments, wherein the method comprises the following steps: converting the code segment to be processed into a first syntax tree; traversing the first syntax tree; in the traversing process, screening nodes meeting preset conditions; the preset condition is that the characteristic value of the variable corresponding to the node is the characteristic value of the target variable; constructing the screened nodes meeting the preset conditions into a second syntax tree; converting the second syntax tree into a serialized object code segment; performing deserialization processing on the serialized target code fragments to obtain a programming language object; the value of the target property of the programming language object is the value of the target variable. Therefore, the mode of acquiring the variable values in the code segments has the advantages of accurate matching, high efficiency and easiness in maintenance.

Description

Method and device for acquiring variable values in code segment
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a method and a device for acquiring variable values in code segments.
Background
Currently, in some scenarios of programming work of the IT (Information Technology) industry, IT is necessary to obtain the content of a specified variable in a code fragment without running code. In the existing scheme, the reading capability of a file such as a server or a shell (a programming language, a command language) is generally directly utilized, code segments are analyzed into character strings, and then the character strings are subjected to regular matching by combining with a regular expression, so that target content is finally obtained.
The technical problem that the scheme has is as follows: for the matching of variables, various interference items such as types, formats, spaces, linefeed characters and the like need to be considered, and the rules which are accurate and meet the requirements are difficult to write, so that the matching is inaccurate; often, a plurality of regular expressions are needed to be used in a matched mode, a large amount of traversal operation is conducted on code segments for many times, and if parameters such as formats of matched objects are changed, the whole matching rule is usually wasted and needs to be rewritten, so that the efficiency is low, and the code segments are not easy to maintain.
Disclosure of Invention
The embodiment of the invention provides a method and a device for acquiring variable values in code segments, and aims to solve the technical problems that in the prior art, the variable value acquiring mode is low in accuracy, low in efficiency and not easy to maintain.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for obtaining variable values in a code segment, where the method includes:
converting the code segment to be processed into a first syntax tree;
traversing the first syntax tree; in the traversing process, screening nodes meeting preset conditions; the preset condition is that the characteristic value of the variable corresponding to the node is the characteristic value of the target variable;
constructing the screened nodes meeting the preset conditions into a second syntax tree;
converting the second syntax tree into a serialized object code segment;
performing deserialization processing on the serialized target code segment to obtain a programming language object; the value of the target property of the programming language object is the value of the target variable.
Preferably, the translating the code fragment to be processed into the first syntax tree comprises:
performing lexical analysis on the character sequences in the code segments to be processed to convert the character sequences into word sequences;
performing syntactic analysis on the word sequence to convert the word sequence into syntactic phrases;
and constructing the first syntax tree according to the syntax phrases.
Preferably, traversing the first syntax tree comprises:
traversing the first syntax tree based on a syntax tree traversal tool; wherein the syntax tree traversal tool comprises @ base/tarvase.
Preferably, constructing the screened nodes meeting the preset condition as the second syntax tree includes:
constructing the screened nodes meeting the preset conditions into a second syntax tree based on a syntax tree node construction tool, wherein the syntax tree node construction tool comprises @ babel/type.
Preferably, converting the second syntax tree into a serialized object code fragment comprises:
and converting the second syntax tree into a serialized target code segment based on a syntax tree transcoding tool, wherein the syntax tree transcoding tool comprises @ babel/generator.
Preferably, the deserializing the serialized object code segment to obtain the programming language object includes:
and performing deserialization processing on the serialized target code segment based on eval () to obtain a programming language object.
Preferably, the characteristic value of the target variable comprises at least one of: type, name, content value.
In a second aspect, an embodiment of the present invention provides an apparatus for obtaining variable values in a code segment, where the apparatus includes:
the first conversion module is used for converting the code segments to be processed into a first syntax tree;
the screening module is used for traversing the first syntax tree; in the traversing process, screening nodes meeting preset conditions; the preset condition is that the characteristic value of the variable corresponding to the node is the characteristic value of the target variable;
the construction module is used for constructing the screened nodes meeting the preset conditions into a second syntax tree;
a second transformation module for transforming the second syntax tree into a serialized target code segment;
the determining module is used for performing deserialization processing on the serialized target code segment to obtain a programming language object; and the value of the target attribute of the programming language object is the value of a target variable.
Preferably, the first conversion module is configured to perform lexical analysis on the character sequence in the code segment to be processed, so as to convert the character sequence into a word sequence;
parsing the word sequence to convert the word sequence into a grammatical phrase; and constructing the first syntax tree according to the syntax phrase.
In a third aspect, an embodiment of the present invention provides an electronic device, including: a processor, a memory and a program stored on the memory and executable on the processor, the program, when executed by the processor, implementing the steps of a method of obtaining variable values in a code segment as described in the first aspect.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the method for obtaining variable values in a code segment according to the first aspect.
In the embodiment of the invention, the code segments to be processed are converted into the syntax tree and then analyzed, so that a large number of interference factors such as formats, line feed characters, spaces and the like can be eliminated, parameters such as types of each variable can be identified, the value of the target variable can be accurately obtained by combining with preset conditions, and the matching accuracy is improved; the nodes meeting the preset conditions can be screened out only by one-time traversal, so that the efficiency can be improved; in addition, the code segment to be processed is deserialized after a series of processing, and has a fixed structure and parameters, so that the screening judgment condition written based on the syntax tree is hardly influenced by the change of the content to be matched, and the code segment is easier to maintain.
Drawings
Various additional advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flowchart of a method for obtaining variable values in a code segment according to an embodiment of the present invention;
FIG. 2 is a block diagram illustrating an apparatus for obtaining variable values in a code segment according to an embodiment of the present invention;
fig. 3 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 illustrates a method for obtaining variable values in a code segment according to an embodiment of the present invention, where as shown in fig. 1, the method includes:
step S101, converting a code segment to be processed into a first syntax tree;
step S102, traversing the first syntax tree; in the traversing process, screening nodes meeting preset conditions;
the preset condition is that the characteristic value of the variable corresponding to the node is the characteristic value of the target variable; the characteristic value of the target variable includes at least one of: type, name, content value.
Step S103, constructing the screened nodes meeting the preset conditions into a second syntax tree;
step S104, converting the second syntax tree into a serialized target code segment;
s105, performing deserialization processing on the serialized target code fragments to obtain a programming language object;
wherein the value of the target attribute of the programming language object is the value of the target variable.
In one possible implementation, the translating the code snippet to be processed into a first syntax tree includes: performing lexical analysis on the character sequences in the code segments to be processed to convert the character sequences into word sequences; performing syntactic analysis on the word sequence to convert the word sequence into a syntactic phrase; a first syntax tree is constructed based on the syntax phrases. Among other things, the syntax tree parsing tool may be based on: such as @ babel/parser.
Now, briefly explaining the above process, the lexical analysis scanner is a process of converting a character sequence into a word (Token) sequence, and the character sequence is disassembled according to lexical parts such as Keyword, identifier, puncutor, and Literal, so that interference factors such as a code style and a tabulation format can be ignored.
For example: var test = 1; by breaking down the character sequence into words (Token), the following Token sequence can be obtained:
[
{ "type" : "Variable Declaration" , "value" : "var" },
{ "type" : "Identifier" , "value" : "test" },
{ "type" : "Punctuator" , "value" : "=" },
{ "type" : "Literal" , "value" : "1" },
{ "type" : "Punctuator" , "value" : ";" }
]
and the syntax analysis parser can combine the above Token sequence parts into syntax phrases, such as Program, state, expression, and the like, so as to form a tree structure according to the syntax phrases, thereby facilitating the subsequent traversal of the operation target node.
{
"type": "Program",
"body": [
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "test"
},
"init": {
"type": "Literal",
"value": 1,
}
}
],
"kind": "var"
}
],
"sourceType": "module"
}
In one possible implementation, traversing the first syntax tree includes: traversing the first syntax tree based on a syntax tree traversal tool; wherein, the syntax tree traversal tool comprises @ base/tarvase. Constructing the screened nodes meeting the preset conditions into a second syntax tree comprises the following steps: constructing the screened nodes meeting the preset conditions into a second syntax tree based on a syntax tree node construction tool, wherein the syntax tree node construction tool comprises @ babel/type. Converting the second syntax tree into a serialized object code segment includes: and converting the second syntax tree into a serialized target code segment based on a syntax tree code segment conversion tool, wherein the syntax tree code segment conversion tool comprises @ babel/generator. Performing deserialization processing on the serialized target code segment to obtain a programming language object, wherein the programming language object comprises the following steps: and performing deserialization processing on the serialized target code segment based on the eval () method to obtain a programming language object. Wherein the eval () function may convert the string into code execution and return one or more values.
Based on the above possible implementation, in a preferred exemplary scenario, the method for obtaining variable values in a code segment may include the following steps:
a: converting the code segments into an AST syntax tree by using an AST syntax tree analysis tool special for @ babel/parser;
b: traversing the AST syntax tree by using an @ base/tarvase tool;
c: screening AST nodes (such as type, name, value and the like) which accord with parameters such as variable names, variable types and the like;
d: if the AST node is matched with the AST node, intercepting the current AST node for storage;
e: constructing the saved AST nodes into a complete AST syntax tree by using @ babel/type;
f: converting the AST syntax tree into a JavaScript fragment by means of @ babel/generator;
the JavaScript fragments are serialized target code fragments, and the JavaScript serialization refers to a process of converting a JavaScript object into a byte sequence; the JavaScript deserialization refers to a process of restoring a byte sequence into a JavaScript object;
g: and converting the serialized JavaScript fragments into JavaScript objects by using an eval () method of JavaScript, and returning.
It should be noted that JavaScript is an exemplary illustration of a programming language, programming languages applied by the embodiments of the present invention include but are not limited to JavaScript, java, go, and Python, and AST parsing tools include but are not limited to @ babel, acorn.
In the embodiment of the invention, the code segments to be processed are converted into the syntax tree and then analyzed, so that a large number of interference factors such as formats, line feed characters, spaces and the like can be eliminated, parameters such as types of each variable can be identified, the value of the target variable can be accurately obtained by combining with preset conditions, and the matching accuracy is improved; the nodes meeting the preset conditions can be screened out only by one-time traversal, so that the efficiency can be improved; in addition, the code segment to be processed is deserialized after a series of processing and has a fixed structure and parameters, so that the screening judgment condition written based on the syntax tree is hardly influenced by the change of the content to be matched, and the method is easier to maintain.
Fig. 2 shows an apparatus for obtaining variable values in a code segment according to an embodiment of the present invention, and as shown in fig. 2, the apparatus 20 includes:
a first conversion module 201, configured to convert the code segment to be processed into a first syntax tree;
a filtering module 202, configured to traverse the first syntax tree; in the traversing process, screening nodes meeting preset conditions; the preset condition is that the characteristic value of the variable corresponding to the node is the characteristic value of the target variable;
a constructing module 203, configured to construct the screened nodes meeting the preset condition as a second syntax tree;
a second transformation module 204, configured to transform the second syntax tree into a serialized target code segment;
the determining module 205 is configured to perform deserialization processing on the serialized target code segment to obtain a programming language object; the value of the target property of the programming language object is the value of the target variable.
In a possible implementation manner, the first conversion module 201 is configured to perform lexical analysis on a character sequence in the code segment to be processed, so as to convert the character sequence into a word sequence; performing syntactic analysis on the word sequence to convert the word sequence into a syntactic phrase; a first syntax tree is constructed based on the syntax phrases.
In the embodiment of the invention, the code segments to be processed are converted into the syntax tree and then analyzed, so that a large number of interference factors such as formats, line feed characters, spaces and the like can be eliminated, parameters such as types of each variable can be identified, the value of the target variable can be accurately obtained by combining with preset conditions, and the matching accuracy is improved; nodes meeting preset conditions can be screened out only by one-time traversal, so that the efficiency can be improved; in addition, the code segment to be processed is deserialized after a series of processing and has a fixed structure and parameters, so that the screening judgment condition written based on the syntax tree is hardly influenced by the change of the content to be matched, and the method is easier to maintain.
An embodiment of the present invention further provides an electronic device 30, as shown in fig. 3, including: a processor 301, a memory 302 and a program stored on the memory 302 and executable on the processor 301, which when executed by the processor 301, implement the steps of the method of obtaining variable values in a code segment as shown in fig. 1.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method for obtaining variable values in code segments as shown in fig. 1 are implemented, and the same technical effects can be achieved, and are not described herein again to avoid repetition. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one of 8230, and" comprising 8230does not exclude the presence of additional like elements in a process, method, article, or apparatus comprising the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A method of obtaining variable values in a code snippet, the method comprising:
converting the code segment to be processed into a first syntax tree;
traversing the first syntax tree; in the traversing process, screening nodes meeting preset conditions; the preset condition is that the characteristic value of the variable corresponding to the node is the characteristic value of the target variable;
constructing the screened nodes meeting the preset conditions into a second syntax tree;
converting the second syntax tree into a serialized object code segment;
performing deserialization processing on the serialized target code segment to obtain a programming language object; the value of the target attribute of the programming language object is the value of the target variable.
2. The method of claim 1, wherein translating the code snippet to be processed into a first syntax tree comprises:
performing lexical analysis on the character sequence in the code segment to be processed to convert the character sequence into a word sequence;
performing syntactic analysis on the word sequence to convert the word sequence into syntactic phrases;
and constructing the first syntax tree according to the syntax phrase.
3. The method of claim 1, wherein traversing the first syntax tree comprises:
traversing the first syntax tree based on a syntax tree traversal tool; wherein the syntax tree traversal tool comprises @ base/tarvase.
4. The method of claim 1, wherein constructing the screened nodes meeting the predetermined condition as a second syntax tree comprises:
constructing the screened nodes meeting the preset conditions into a second syntax tree based on a syntax tree node construction tool, wherein the syntax tree node construction tool comprises @ babel/type.
5. The method of claim 1, wherein converting the second syntax tree into a serialized object code segment comprises:
and converting the second syntax tree into a serialized target code segment based on a syntax tree transcoding tool, wherein the syntax tree transcoding tool comprises @ babel/generator.
6. The method of claim 1, wherein deserializing the serialized object code segment to obtain a programming language object comprises:
and performing deserialization processing on the serialized target code segment based on eval () to obtain a programming language object.
7. The method according to any one of claims 1-6, wherein the characteristic value of the target variable comprises at least one of: type, name, content value.
8. An apparatus for obtaining variable values in a code snippet, the apparatus comprising:
the first conversion module is used for converting the code segments to be processed into a first syntax tree;
the screening module is used for traversing the first syntax tree; in the traversing process, screening nodes meeting preset conditions; the preset condition is that the characteristic value of the variable corresponding to the node is the characteristic value of the target variable;
the construction module is used for constructing the screened nodes meeting the preset conditions into a second syntax tree;
a second transformation module for transforming the second syntax tree into a serialized target code segment;
the determining module is used for performing deserialization processing on the serialized target code segment to obtain a programming language object; the value of the target attribute of the programming language object is the value of the target variable.
9. An electronic device, comprising: processor, memory and program stored on said memory and executable on said processor, said program when executed by said processor implementing the steps of the method of obtaining variable values in a code section as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of obtaining variable values in a code section according to any one of claims 1 to 7.
CN202211472599.XA 2022-11-23 2022-11-23 Method and device for acquiring variable values in code segment Active CN115576603B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211472599.XA CN115576603B (en) 2022-11-23 2022-11-23 Method and device for acquiring variable values in code segment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211472599.XA CN115576603B (en) 2022-11-23 2022-11-23 Method and device for acquiring variable values in code segment

Publications (2)

Publication Number Publication Date
CN115576603A CN115576603A (en) 2023-01-06
CN115576603B true CN115576603B (en) 2023-03-10

Family

ID=84590291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211472599.XA Active CN115576603B (en) 2022-11-23 2022-11-23 Method and device for acquiring variable values in code segment

Country Status (1)

Country Link
CN (1) CN115576603B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116166567B (en) * 2023-04-23 2023-08-11 成都华兴汇明科技有限公司 Test case generation method and device based on graphic programming

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107179933A (en) * 2017-06-08 2017-09-19 成都未来之门科技有限公司 Dynamic language identification variables method, device, interpretation method and software transplanting method
CN110442330A (en) * 2019-07-05 2019-11-12 五八有限公司 List element conversion method, device, electronic equipment and storage medium
WO2021197273A1 (en) * 2020-04-03 2021-10-07 深圳前海微众银行股份有限公司 Redundant code removing method, apparatus and device, and computer readable storage medium
CN113946615A (en) * 2021-10-19 2022-01-18 平安普惠企业管理有限公司 Data structuring processing method, device, equipment and storage medium
CN114626061A (en) * 2020-12-14 2022-06-14 网神信息技术(北京)股份有限公司 Webpage Trojan horse detection method and device, electronic equipment and medium
CN115292180A (en) * 2022-08-09 2022-11-04 中国平安人寿保险股份有限公司 Code analysis method, code analysis device, electronic device, and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107179933A (en) * 2017-06-08 2017-09-19 成都未来之门科技有限公司 Dynamic language identification variables method, device, interpretation method and software transplanting method
CN110442330A (en) * 2019-07-05 2019-11-12 五八有限公司 List element conversion method, device, electronic equipment and storage medium
WO2021197273A1 (en) * 2020-04-03 2021-10-07 深圳前海微众银行股份有限公司 Redundant code removing method, apparatus and device, and computer readable storage medium
CN114626061A (en) * 2020-12-14 2022-06-14 网神信息技术(北京)股份有限公司 Webpage Trojan horse detection method and device, electronic equipment and medium
CN113946615A (en) * 2021-10-19 2022-01-18 平安普惠企业管理有限公司 Data structuring processing method, device, equipment and storage medium
CN115292180A (en) * 2022-08-09 2022-11-04 中国平安人寿保险股份有限公司 Code analysis method, code analysis device, electronic device, and storage medium

Also Published As

Publication number Publication date
CN115576603A (en) 2023-01-06

Similar Documents

Publication Publication Date Title
US7251777B1 (en) Method and system for automated structuring of textual documents
CN111209004A (en) Code conversion method and device
CN109522225B (en) Automatic test assertion method and device, test platform and storage medium
CN101329665A (en) Method for analyzing marking language document and analyzer
US20020035580A1 (en) Computer readable medium containing HTML document generation program
CN110502227B (en) Code complement method and device, storage medium and electronic equipment
CN115576603B (en) Method and device for acquiring variable values in code segment
WO2012041672A1 (en) Finding partition boundaries for parallel processing of markup language documents
CN111752542B (en) Database query interface engine based on XML template
CN112379917A (en) Browser compatibility improving method, device, equipment and storage medium
CN110096264A (en) A kind of code operation method and device
CN115202626A (en) Low-code front-end development method supporting multi-technology stack components
US20200183670A1 (en) System and method for transforming cold fusion technology environment to open source environment
CN108664546B (en) XML data structure conversion method and device
CN112130952A (en) Multi-language display method, device, equipment and product
CN116467047A (en) Method and device for detecting container configuration compliance, storage medium and terminal
CN113448982A (en) DDL statement analysis method and device, computer equipment and storage medium
US20040205591A1 (en) Method and program for XML data conversion
CN111831288A (en) Method and system for automatically generating Thrift IDL data structure and automatic transfer function
CN112114790A (en) Domain code generation method and device based on conceptual data model
CN111475403A (en) Dynamic generation method of test script and related device
CN113821211B (en) Command parsing method and device, storage medium and computer equipment
CN110879710A (en) Method for automatically converting RPG program into JAVA program
CN111381827A (en) Method and device for generating syntax tree of code file and electronic equipment
CN111310414B (en) RDF format file analysis method and generation method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant