Claims
- 1. A method for processing host language source code where the host language source code supports multithreading and contains embedded database language statements, the method comprising the steps of:
- identifying a database language statement;
- determining whether the database language statement is associated with a runtime context variable; and
- if the database language statement is associated with the runtime context variable, then replacing the database language statement with host language source code associated with the runtime context variable.
- 2. The method of claim 1, wherein the step of determining whether the database language statement is associated with the runtime context variable further includes the step of reading directive statements within the source code that indicate which runtime context variables are associated with which embedded database language statements.
- 3. The method of claim 1, further comprising the steps of:
- determining whether said runtime context variable associated with said database language statement is visible within a scope in which said database language statement occurs; and
- generating an error message if said runtime context variable associated with said database language statement is not visible within a scope in which said database language statement occurs.
- 4. A computer-readable medium carrying one or more sequences of one or more instructions for processing host language source code where the host language source code supports multithreading and contains embedded database language statements, the one or more sequences of one or more instructions including instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of:
- identifying a database language statement;
- determining whether the database language statement is associated with a runtime context variable; and
- if the database language statement is associated with the runtime context variable, then replacing the database language statement with host language source code associated with the runtime context variable.
- 5. The computer-readable medium of claim 4, wherein the step of determining whether the database language statement is associated with the runtime context variable further includes the step of reading directive statements within the source code that indicate which runtime context variables are associated with which embedded database language statements.
- 6. The computer-readable medium of claim 4, further comprising the steps of:
- determining whether said runtime context variable associated with said database language statement is visible within a scope in which said database language statement occurs; and
- generating an error message if said runtime context variable associated with said database language statement is not visible within a scope in which said database language statement occurs.
Parent Case Info
This application is a divisional of application Ser. No. 08/858,616 filed Feb. 28, 1997.
US Referenced Citations (16)
Divisions (1)
|
Number |
Date |
Country |
| Parent |
858616 |
Feb 1997 |
|