发明授权
US09116780B2 Method for modeling source code having code segments that lack source location
有权
具有缺少源位置的代码段的源代码建模方法
- 专利标题: Method for modeling source code having code segments that lack source location
- 专利标题(中): 具有缺少源位置的代码段的源代码建模方法
-
申请号: US13760641申请日: 2013-02-06
-
公开(公告)号: US09116780B2公开(公告)日: 2015-08-25
- 发明人: Jeffrey van Gogh , Stephen F. Yegge , Michael Joseph Fromberger , Amin Shali , Gregory Scott West , James Anthony Dennett , Lasse Espeholt , Ronald Aaron Braunstein
- 申请人: GOOGLE INC.
- 申请人地址: US CA Mountain View
- 专利权人: GOOGLE INC.
- 当前专利权人: GOOGLE INC.
- 当前专利权人地址: US CA Mountain View
- 代理机构: Birch, Stewart, Kolasch & Birch, LLP
- 主分类号: G06F9/44
- IPC分类号: G06F9/44
摘要:
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.
公开/授权文献
信息查询