Invention Grant
- Patent Title: Method for constructing a graph data structure
-
Application No.: US15004018Application Date: 2016-01-22
-
Publication No.: US10896029B2Publication Date: 2021-01-19
- Inventor: Alexander Vladimirovich Slesarenko , Anton Yurievich Orlov , Hongbo Zhang
- Applicant: HUAWEI TECHNOLOGIES CO., LTD.
- Applicant Address: CN Guangdong
- Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee Address: CN Guangdong
- Agency: Kilpatrick Townsend & Stockton LLP
- Main IPC: G06F8/41
- IPC: G06F8/41 ; G06F9/455 ; G06F8/34

Abstract:
The disclosure relates to a method for constructing a graph data structure as an intermediate representation of source code for a compiler configured for compiling the source code into executable machine code running on a processor of a computer system, wherein program operations of the source code are represented in an object-oriented programming language by objects of classes that form a hierarchy growing from a base node class of the graph data structure, the method comprising: producing new nodes of the graph data structure by calling factory methods associated with existing nodes of the graph data structure based on a factory method design pattern implemented in the nodes of the graph data structure, wherein the nodes of the graph data structure are identified by symbols; and using the symbols as proxies of the nodes of the graph data structure according to a proxy design pattern.
Public/Granted literature
- US20160139894A1 METHOD FOR CONSTRUCTING A GRAPH DATA STRUCTURE Public/Granted day:2016-05-19
Information query