Structured search in source code
AssigneeMicrosoft Corporation
InventorPeter Villadsen
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Corporation
InventorPeter Villadsen
Estimating the term…
Architecture allows a programmer to answer questions about the source code the programmer is authoring, questions that cannot be answered by other means. A searching mechanism is provided over a much more structured presentation of the source code. The architecture utilizes components that provide an intimate knowledge about the structure of the text, namely, the source code of some particular programming language. The search mechanism employs an abstract syntax tree representation of the code over which the search is conducted. The program source code (as edited by the programmer) is transformed into the abstract syntax tree to embody the structure of the program. If the syntax tree is provided in XML, for example, an XML search mechanism such as Xpath can be utilized to perform the actual searching. This tree is then queried, allowing richer searching criteria to be expressed (by virtue of the structured format of the tree).
A computer-implemented search system, comprising:
A computer-implemented search system, comprising:
A computer-implemented method of searching code, comprising:
Dependencies are inferred from the claim text.