Automatic statement completion
First Claim
Patent Images
1. A method comprising:
- developing at least a section of source code for a computer program, said source code having tokens and entities;
detecting a pre-determined event;
issuing a query to a database containing entity information upon detecting the predetermined event, said query regarding at least one token of said plurality of tokens; and
using the entity information to display a set of potentially valid entities relating to said at least one token of said plurality of tokens for potential prospective entry at a current position in the source code.
4 Assignments
0 Petitions
Reexamination
Accused Products
Abstract
Automatic statement completion is disclosed. In one embodiment, a system includes an editor to provide for developing source code for a computer program, and a database containing information on entities in the source code. The system also includes a completion module invoked by the editor upon the occurrence of a predetermined event and operative to display a set of valid entities in response to a pre-determined event.
118 Citations
26 Claims
-
1. A method comprising:
-
developing at least a section of source code for a computer program, said source code having tokens and entities;
detecting a pre-determined event;
issuing a query to a database containing entity information upon detecting the predetermined event, said query regarding at least one token of said plurality of tokens; and
using the entity information to display a set of potentially valid entities relating to said at least one token of said plurality of tokens for potential prospective entry at a current position in the source code. - View Dependent Claims (2, 3, 4, 5, 6, 7)
parsing at least a subset of the source code to obtain parser data; and
wherein the query includes at least a subset of the parser data.
-
-
7. The method of claim 1, wherein the database includes a dynamically updated component and a pre-built component.
-
8. A system comprising:
-
an editor module to provide for developing source code for a computer program, said source code having a plurality of tokens that declare and define a plurality of entities;
a database containing information about the entities; and
a completion module invoked by the editor module upon the occurrence of a predetermined event and operative to query the database regarding at least one token of said plurality of tokens and display a set of potentially valid entities relating to said at least one token of said plurality of tokens for potential prospective entry at a current position in the source code. - View Dependent Claims (9, 10, 11, 12, 13)
a parser operative to parse at least a subset of the source code and to return parser data; and
wherein the completion module uses the parser data to query the database for information on the entities and includes at least a subset of the entities in the set of potentially valid entities.
-
-
12. The system of claim 8, wherein the database includes a dynamically updated component and a pre-built component.
-
13. The system of claim 8, wherein the display of the set of potentially valid entities comprises displaying the set of potentially valid entities in a drop-down box.
-
14. A computer comprising:
-
a processor;
a computer readable medium; and
an editor module to provide for developing source code for a computer program, said source code having a plurality of tokens and a plurality of entities;
a database containing entity information; and
a completion module invoked by the editor module upon the occurrence of a predetermined event and operative to query the database regarding at least one token of said plurality of tokens and display a set of potentially valid entities relating to said at least one token of said plurality of tokens for potential prospective entry at a current position in the source code. - View Dependent Claims (15, 16, 17, 18, 19)
a parser operative to parse at least a subset of the source code and to return parser data; and
wherein the completion module uses the parser data to query the database for token information and includes at least a subset of the entity information in the set of potentially valid entities.
-
-
18. The computer of claim 14, wherein the database includes a dynamically updated component and a pre-built component.
-
19. The computer of claim 14, wherein the display of the set of potentially valid entities comprises displaying the set of potentially valid entities in a drop-down box.
-
20. A computer-readable medium having computer-executable instructions for performing a method comprising:
-
developing at least a section of source code for a computer program, said source code having a plurality of tokens and a plurality of entities;
detecting a pre-determined event;
issuing a query to a database containing token information upon detecting the predetermined event, said query regarding at least one token of said plurality of tokens; and
using the entity information to display a set of potentially valid entities relating to said at least one token of said plurality of tokens for potential prospective entry at a current position in the source code. - View Dependent Claims (21, 22, 23, 24, 25, 26)
parsing at least a subset of the source code to obtain parser data; and
wherein the query includes at least a subset of the parser data.
-
-
26. The computer-readable medium of claim 20, wherein the database includes a dynamically updated component and a pre-built component.
Specification