Systems and methods for dynamic struct variable creation including inline declaration with dynamic keys
AssigneeAdobe Systems Incorporated
InventorsChandan Kumar, Sanjeev Kumar
Life of this patent
Estimating the term…
Loading patent…
AssigneeAdobe Systems Incorporated
InventorsChandan Kumar, Sanjeev Kumar
Estimating the term…
A parser can be configured to parse source code to generate code for dynamically generating structures at runtime. Any or all of the structure name, keys, and values can be defined dynamically (i.e. at runtime), rather than requiring declaration in the source code. Embodiments include a method in which a source file is parsed to identify an expression creating a dynamic structure with at least one key-value pair. The method can comprise generating a plurality of expressions for creating intermediate data structures which, at runtime, can cause the dynamic structure to be defined as set forth in the declarative expression. The dynamic structure may comprise one or more declared key-value pairs and/or may comprise one or more key-value pairs that are also dynamic.
A method, comprising:
A computing system comprising a processor with access to a memory embodying program components, the program components comprising:
A computer program product comprising a non-transitory computer readable medium embodying program code executable by a computing system, the program code comprising:
Dependencies are inferred from the claim text.