摘要:
Enhancing dynamic code. A method includes obtaining one or more first data structures defining constructs in a body of dynamic language source code. From the one or more first data structures, identifier information is extracted for one or more of the defined constructs. Knowledge about the constructs is augmented. Using the identifier information and augmented knowledge, metadata about the body of the dynamic language source code is generated. The generated metadata is represented as a symbol table. The body of dynamic language source code is visually enhanced based on the symbol table structure.
摘要:
Enhancing dynamic code. A method includes obtaining one or more first data structures defining constructs in a body of dynamic language source code. From the one or more first data structures, identifier information is extracted for one or more of the defined constructs. Knowledge about the constructs is augmented. Using the identifier information and augmented knowledge, metadata about the body of the dynamic language source code is generated. The generated metadata is represented as a symbol table. The body of dynamic language source code is visually enhanced based on the symbol table structure.
摘要:
A language service provider framework that generates an application context of a dynamic language program being authored. The application context includes a description of the dynamic language application being authored, one or more specific locations within the program, and runtime environment information. A language service provider port component holds one or more language service providers. Each language service provider may receive the application context and generate a set of available symbols corresponding to each of at least one of the identified one or more specific locations. A management component receives the application context from the application context generation component, provides the application context the language service provider, and correspondingly receives the available symbol set from the language service provider. Since the management component provides an application context that also includes runtime environment information, the available symbol set may be more accurately represented, thereby facilitating authoring of dynamic language programs.
摘要:
A language service provider framework that generates an application context of a dynamic language program being authored. The application context includes a description of the dynamic language application being authored, one or more specific locations within the program, and runtime environment information. A language service provider port component holds one or more language service providers. Each language service provider may receive the application context and generate a set of available symbols corresponding to each of at least one of the identified one or more specific locations. A management component receives the application context from the application context generation component, provides the application context the language service provider, and correspondingly receives the available symbol set from the language service provider. Since the management component provides an application context that also includes runtime environment information, the available symbol set may be more accurately represented, thereby facilitating authoring of dynamic language programs.
摘要:
Accessing data in a data store at a field granularity. A method includes receiving a query from a user. The query specifies one or more non-unique fields of a record. The method further includes sending the query to a data store to retrieve the fields of the record at a field granularity. The method further includes receiving data for the one or more non-unique fields of the record at a field granularity.
摘要:
Multiple independent classifiers of a code editor are used to classify a range of text. Each classifier is an independent classifier and can independently classify any given range of text. Classifiers can be added and merged during run time of the code editor. Adding a classifier does not require modification of any existing classifiers in the code editor. Text can be classified and formatted in accordance with any number of classifiers in the aggregate. The user of the code editor can initiate classification. The user of the code editor can select text for user specific formatting.
摘要:
The embodiments contemplate a system and method for the application of concurrent edits to the same version of a text. The concurrent edits may occur simultaneously or near simultaneously through collaborative editing schemes, where more than one user, processor, or agent applies edits to the version of the text. The application of the concurrent edits includes modifying or transforming the edits to account for changes made to the version of the text and applying the modified edits to the most recent version of the text. As edits may change the positioning of the text, an evaluation of the changes in the positioning of the text may be part of the modification.
摘要:
The present invention relates to a system and method that models computer programming language concepts in a plurality of objects and enables a computer programmer to interact with multiple programming languages through one code model interface. This allows the computer programmer to identify objects or functionality available in an application without having to know or specify an underlying language that implements that object or functionality. The computer programmer can employ the code model to locate an object that implements a specific functionality and return a code model object that implements that functionality. The computer programmer may then interact with that code model object rather than having to interact with the computer programming language.
摘要:
Maintenance of code knowledge for up-to-date access thereof. In one embodiment, a computer-implemented method for providing code knowledge in response to receiving a request for code knowledge regarding a computer program. The method first creates a proxy, then a node to which the proxy is pointed by a unique node key and which includes the code knowledge. The method updates the node as necessary to provide accurate code knowledge. For example, the method sets a flag of the proxy indicating the node as invalid upon a change event. Upon the flag of the proxy indicating the node as invalid, and upon receiving a second request for the code knowledge, the method recreates the node.
摘要:
A method and system for providing event-response and monitoring capabilities to a pseudocode program operating in a message or event-based operating environment. The method and system allow the pseudocode program to asynchronously respond to events via one or more trap routines located in the pseudocode program. The method and system also allow the pseudocode program to synchronously monitor events and receive parameters from operating system routines via callback routines located in the pseudocode program. The system includes an execution engine for executing instructions of the pseudocode program. An event-response routine in the pseudocode program includes instructions for responding to the event. An event-response dispatcher is adapted to receive information identifying the event-response routine, save the execution state of the execution engine, cause the execution engine to execute the event-response routine, and restore the execution state of the execution engine that existed before the event-response routine was executed. A transfer routine accessible in response to a call triggered by the event accesses the event-response dispatcher, passes information identifying the event-response routine to the event-response dispatcher, and returns control to the execution engine after the event-response dispatcher restores the state of the execution engine and returns to the transfer routine.