发明名称 Systems and methods for dynamic struct variable creation including inline declaration with dynamic keys
摘要 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.
申请公布号 US8621447(B1) 申请公布日期 2013.12.31
申请号 US20090546891 申请日期 2009.08.25
申请人 KUMAR CHANDAN;KUMAR SANJEEV;ADOBE SYSTEMS INCORPORATED 发明人 KUMAR CHANDAN;KUMAR SANJEEV
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址