Method for modeling source code with code segments missing source locations
A code segment, source location technology, applied in program control devices, special data processing applications, structured data retrieval, etc., can solve problems such as difficulties in supporting other languages
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0018] Exemplary data models and services provide a language-neutral canonical representation of source code and compiler metadata. This model represents source code as a data graph. A data graph is a data structure that stores data and shows the relationship between the data using a finite set of points, call nodes, lines, call edges. Such as figure 2 As depicted, relationships within a graph are represented by using edges to connect nodes to each other.
[0019] In order to create a data graph model from source code, the source code must be translated into a collection of nodes and edges that form a graph. A convenient way to produce a high level of precision is to reuse an existing compiler for the source code. The compiler may be provided with an indexer that extracts data from the compiler to construct nodes and edges for the data graph model.
[0020] figure 1 a and 1b show two example fragments of a source code file that can be used together to indicate the words ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



