Techniques for traversing representations of source code
Abstract
Methods, apparatus, and systems for traversing a representation of an application source code, such as an abstract syntax tree (AST), are disclosed. Steps for traversing the AST include specifying a plurality of runtime binding rules which are associated with one or more locations within the AST, beginning to traverse the AST, monitoring a history of the traverse, continuing to traverse the AST based on the history of the traverse, and updating the history of the traverse. Continuing to traverse the AST may include identifying a plurality of concrete implementations of a method invocation and traversing less than all of the concrete implementations based at least in part on the runtime binding rules, the concrete implementations being traversed being selected based on the history of the traverse.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of traversing a representation of an application source code, comprising: specifying a plurality of runtime binding rules, each runtime binding rule of the plurality of runtime binding rules configured to augment the representation of the application source code using code slicing techniques, each runtime binding rule of the plurality of runtime binding rules associated with one or more locations within the representation of the application source code, at least one runtime binding rule of the plurality of runtime binding rules associated with a method invocation and a concrete implem
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (15)
Non-Patent Literature (2)
- Extended European Search Report mailed Oct. 27, 2016 in corresponding EP Application No. 14775834.6, filed Mar. 5, 2014, titled "Techniques for Traversing Representations of Source Code", 8 pages.
- Notification of Transmittal of the International Search Report and the Written Opinion of the International Searching Authority, or the Declaration, mailed on Jul. 18, 2014, 16 pages.