Source code structural inference based on indentation
AssigneeMicrosoft Technology Licensing, LLC
InventorsJohan Sebastian Heesemann ROSENKILDE, Albert ZIEGLER
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Technology Licensing, LLC
InventorsJohan Sebastian Heesemann ROSENKILDE, Albert ZIEGLER
Estimating the term…
Inferring source code structure based on indentation. A portion of source code comprising a plurality of lines is identified, and a corresponding indentation level for each line is determined. A plurality of nodes, each representing a different line in the plurality of lines are generated. The nodes are arranged into an ordered tree based on the corresponding indentation level for each line. Based on an identified line in the plurality of lines, a subset of the plurality of lines are identified from the ordered tree, based on identifying a subtree that comprises a node representing the identified line. A source code action is initiated based on the subset of the plurality of lines.
A method, implemented at a computer system that includes a processor, for inferring source code structure based on indentation, the method comprising:
A computer system for inferring source code structure based on indentation, comprising:
A computer program product comprising a computer storage media that stores computer-executable instructions that are executable by a processor to cause a computer system to infer source code structure based on indentation, the computer-executable instructions including instructions that are executable by the processor to cause the computer system to at least:
Dependencies are inferred from the claim text.