Invention Grant
US09116780B2 Method for modeling source code having code segments that lack source location
有权
具有缺少源位置的代码段的源代码建模方法
- Patent Title: Method for modeling source code having code segments that lack source location
- Patent Title (中): 具有缺少源位置的代码段的源代码建模方法
-
Application No.: US13760641Application Date: 2013-02-06
-
Publication No.: US09116780B2Publication Date: 2015-08-25
- Inventor: Jeffrey van Gogh , Stephen F. Yegge , Michael Joseph Fromberger , Amin Shali , Gregory Scott West , James Anthony Dennett , Lasse Espeholt , Ronald Aaron Braunstein
- Applicant: GOOGLE INC.
- Applicant Address: US CA Mountain View
- Assignee: GOOGLE INC.
- Current Assignee: GOOGLE INC.
- Current Assignee Address: US CA Mountain View
- Agency: Birch, Stewart, Kolasch & Birch, LLP
- Main IPC: G06F9/44
- IPC: G06F9/44

Abstract:
A system and method for modeling code segments that do not have a location is disclosed. Source code may be indexed and modeled in a data graph with nodes representing code elements and edges representing relationships between nodes. However, some code elements may be hidden or implicit and therefore may lack location information. In these cases, code figments are created and represented as nodes in the graph. Figment nodes may be specially designated so that the figment nodes may be easily distinguished from real source code nodes. The graph is then updated to include location information for the code figments in the nodes that interact with the hidden or implicit code. The data graph may then be provided to a user or as a service to be used by coding tools.
Public/Granted literature
- US20140223415A1 METHOD FOR MODELING SOURCE CODE HAVING CODE SEGMENTS THAT LACK SOURCE LOCATION Public/Granted day:2014-08-07
Information query