Systems and methods for dynamic struct variable creation including inline declaration with dynamic keys
    3.
    发明授权
    Systems and methods for dynamic struct variable creation including inline declaration with dynamic keys 有权
    动态结构变量创建的系统和方法,包括带有动态键的内联声明

    公开(公告)号:US08621447B1

    公开(公告)日:2013-12-31

    申请号:US12546891

    申请日:2009-08-25

    IPC分类号: G06F9/45

    CPC分类号: G06F8/44 G06F8/427

    摘要: 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.

    摘要翻译: 解析器可以配置为解析源代码,以生成在运行时动态生成结构的代码。 可以动态地(即在运行时)定义结构名称,键和值中的任何一个或全部,而不需要在源代码中声明。 实施例包括其中解析源文件以识别用至少一个键值对创建动态结构的表达式的方法。 该方法可以包括生成用于创建中间数据结构的多个表达式,其在运行时可以使动态结构被定义为在声明性表达式中陈述的。 动态结构可以包括一个或多个声明的键值对和/或可以包括也是动态的一个或多个键值对。

    SYSTEMS AND METHODS FOR DYNAMIC STRUCT VARIABLE CREATION INCLUDING INLINE DECLARATION WITH DYNAMIC KEYS
    4.
    发明申请
    SYSTEMS AND METHODS FOR DYNAMIC STRUCT VARIABLE CREATION INCLUDING INLINE DECLARATION WITH DYNAMIC KEYS 有权
    动态结构变量创建的系统与方法,其中包括动态范围的内联声明

    公开(公告)号:US20130346951A1

    公开(公告)日:2013-12-26

    申请号:US12546891

    申请日:2009-08-25

    IPC分类号: G06F9/45

    CPC分类号: G06F8/44 G06F8/427

    摘要: 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.

    摘要翻译: 解析器可以配置为解析源代码,以生成在运行时动态生成结构的代码。 可以动态地(即在运行时)定义结构名称,键和值中的任何一个或全部,而不需要在源代码中声明。 实施例包括其中解析源文件以识别用至少一个键值对创建动态结构的表达式的方法。 该方法可以包括生成用于创建中间数据结构的多个表达式,其在运行时可以使动态结构被定义为在声明性表达式中陈述的。 动态结构可以包括一个或多个声明的键值对和/或可以包括也是动态的一个或多个键值对。