Back to results
US 9,355,189 B2Granted
Determining dependencies during macro expansion
AssigneeCA, Inc.
InventorTad A. Deffler
Life of this patent
Estimating the term…
Abstract
In certain embodiments, a parser parses a formula to yield one or more functions, at least one function comprising a dependent value of a dependent object. One or more macro handlers configured to execute the functions are determined. At least one macro handler is instructed to register with one or more dominant objects on behalf of the dependent object, where the dominant objects are used to evaluate the dependent value.
Claims15
A method comprising:
- receiving, at a macro handler, a register instruction to register with one or more dominant objects of a first function on behalf of at least one dependent object, a dependent value of the at least one dependent object depending on one or more dominant values of the one or more dominant objects;
- in response to receiving the register instruction:
- identifying, by the macro handler, the one or more dominant objects comprising input for the first function;
- registering with the one or more dominant objects on behalf of the at least one dependent object;
- and
- instructing the one or more dominant objects to notify the at least one dependent object of a change in a dominant value of the dominant object;
- receiving an instruction to remove the registration with the one or more dominant objects, the instruction sent in response to receiving a formula comprising a second function differing from the first function;
- and
- removing the registration.
6 more elements
A computer configured to access a storage device, the computer comprising:
- a processor;
- and
- a non-transitory, computer-readable storage medium storing computer-readable instructions that when executed by the processor cause the computer to perform:
- receiving, at a macro handler, a register instruction to register with one or more dominant objects of a first function on behalf of at least one dependent object, a dependent value of the at least one dependent object depending on one or more dominant values of the one or more dominant objects;
- in response to receiving the register instruction:
- identifying, by the macro handler, the one or more dominant objects comprising input for the first function;
- registering with the one or more dominant objects on behalf of the at least one dependent object;
- and
- instructing the one or more dominant objects to notify the at least one dependent object of a change in a dominant value of the dominant object;
- receiving an instruction to remove the registration with the one or more dominant objects, the instruction sent in response to receiving a formula comprising a second function differing from the first function;
- and
- removing the registration.
9 more elements
A computer program product comprising:
- a non-transitory computer-readable storage medium having computer-readable program code embodied therewith, the computer-readable program code comprising:
- computer-readable program code configured to receive, at a macro handler, a register instruction to register with one or more dominant objects of a first function on behalf of at least one dependent object, a dependent value of the at least one dependent object depending on one or more dominant values of the one or more dominant objects;
- computer-readable program code configured to, in response to receiving the register instruction:
- identify, by the macro handler, the one or more dominant objects comprising input for the function;
- register with the one or more dominant objects on behalf of the at least one dependent object;
- and
- instruct the one or more dominant objects to notify the at least one dependent object of a change in a dominant value of the dominant object;
- computer-readable program code configured to receive an instruction to remove the registration with the one or more dominant objects, the instruction sent in response to receiving a formula comprising a second function differing from the first function;
- and
- computer-readable program code configured to remove the registration.
7 more elements
Dependencies are inferred from the claim text.