A Constructing Method of Control Flow Graph for Object-Oriented Program
A control flow graph, object-oriented technology, applied in software design and other directions, can solve problems such as difficult migration, and achieve the effect of easy program understanding
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0074] For convenience, it is assumed that there is a simplified source code example:
[0075] Table 1 instance code
[0076]
[0077]
[0078] According to the calculated steps mentioned above, implement them:
[0079] Step An analysis of the corresponding abstract syntax tree according to the above code:
[0080] The source code in Table 1 contains three classes and an interface, the ConstrateGya class, and the ConstrateGyb class implement the Strategy interface, the Calprice method in the Context class calls the Discount method of the Strategy interface.
[0081] Step two based on abstract syntax tree build class inheritance diagram, such as image 3 Looking:
[0082] The abstract syntax tree of the source program contains three type declaration nodes, corresponding image 3 Node name in the middle. Analytic Type Declaration The method of declaring information is available, you can get image 3 The method information included in the middle node. Further resolve the type inform...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com