-
公开(公告)号:US20110271258A1
公开(公告)日:2011-11-03
申请号:US12770729
申请日:2010-04-30
申请人: Deum Jik Park , Heejae Chang , Theodore Yaung
发明人: Deum Jik Park , Heejae Chang , Theodore Yaung
CPC分类号: G06F8/33
摘要: A system and method for providing a completion list associated with computer program source code and a dynamic expression. A dynamic analysis is performed to find and aggregate one or more candidate types of the expression. During an execution of the target program, a runtime monitor tracks events that may indicate a type of program variables. The analysis may include one or more of a number of static analysis techniques, including analyzing expressions that are assigned to a program variable, following method calls, examining system or other specified assemblies, loading runtime assemblies, or making inferences based on other uses of the variable. A completion list may be filtered or ordered based on a configured criteria.
摘要翻译: 一种用于提供与计算机程序源代码和动态表达相关联的完成列表的系统和方法。 执行动态分析以找到并聚合表达式的一个或多个候选类型。 在执行目标程序期间,运行时监视器跟踪可能指示程序变量类型的事件。 分析可以包括许多静态分析技术中的一个或多个,包括分析分配给程序变量的表达式,跟随方法调用,检查系统或其他指定的组件,加载运行时程序集或基于其他使用的推断 变量。 完成列表可以根据配置的条件进行过滤或排序。
-
公开(公告)号:US08473933B2
公开(公告)日:2013-06-25
申请号:US12778140
申请日:2010-05-12
申请人: Theodore Yaung
发明人: Theodore Yaung
IPC分类号: G06F9/45
CPC分类号: G06F8/72
摘要: A system and method for refactoring one or more call sites based on a revised signature. If the original call site is ordered, the refactored call site is generated by sorting the arguments based on the revised signature. Each unnamed argument is selectively changed to a named argument based on whether it is preceded by a named argument and whether its index value matches the index value of its corresponding parameter in the revised signature. If the original call site is unordered, the arguments preceding the first named argument are ordered. New arguments corresponding to new parameters are added and selectively made to be named arguments. New optional arguments may be included or omitted from the refactored call site.
摘要翻译: 一种用于基于经修改的签名重构一个或多个呼叫站点的系统和方法。 如果原始呼叫站点被订购,则重构的呼叫站点是通过基于经修改的签名排序参数来生成的。 每个未命名的参数根据是否在命名参数前面选择性地更改为命名参数,以及它的索引值是否与修改后的签名中其对应参数的索引值相匹配。 如果原来的调用站点是无序的,则第一个命名参数之前的参数是有序的。 添加对应于新参数的新参数,并有选择地将其作为命名参数。 可以在重构的调用站点中包括或省略新的可选参数。
-
公开(公告)号:US20110271250A1
公开(公告)日:2011-11-03
申请号:US12770790
申请日:2010-04-30
申请人: Deum Jik Park , Heejae Chang , Theodore Yaung
发明人: Deum Jik Park , Heejae Chang , Theodore Yaung
CPC分类号: G06F8/33
摘要: A system and method for providing a completion list associated with computer program source code and a dynamic expression. A static analysis is performed to find and aggregate one or more candidate types of the expression. The analysis may include one or more of a number of techniques, including analyzing expressions that are assigned to a program variable, following method calls, examining system or other specified assemblies, loading runtime assemblies, or making inferences based on other uses of the variable. A dynamic analysis may be performed and combined with a static analysis. A completion list may be filtered or ordered based on a configured criteria.
摘要翻译: 一种用于提供与计算机程序源代码和动态表达相关联的完成列表的系统和方法。 执行静态分析以查找和聚合表达式的一个或多个候选类型。 分析可以包括多种技术中的一种或多种,包括分析分配给程序变量的表达式,跟随方法调用,检查系统或其他指定的组件,加载运行时程序集或基于变量的其他用途进行推断。 可以进行动态分析并结合静态分析。 完成列表可以根据配置的条件进行过滤或排序。
-
公开(公告)号:US20110283258A1
公开(公告)日:2011-11-17
申请号:US12778140
申请日:2010-05-12
申请人: Theodore Yaung
发明人: Theodore Yaung
IPC分类号: G06F9/44
CPC分类号: G06F8/72
摘要: A system and method for refactoring one or more call sites based on a revised signature. If the original call site is ordered, the refactored call site is generated by sorting the arguments based on the revised signature. Each unnamed argument is selectively changed to a named argument based on whether it is preceded by a named argument and whether its index value matches the index value of its corresponding parameter in the revised signature. If the original call site is unordered, the arguments preceding the first named argument are ordered. New arguments corresponding to new parameters are added and selectively made to be named arguments. New optional arguments may be included or omitted from the refactored call site.
摘要翻译: 一种用于基于经修改的签名重构一个或多个呼叫站点的系统和方法。 如果原始呼叫站点被订购,则重构的呼叫站点是通过基于经修改的签名排序参数来生成的。 每个未命名的参数根据是否在命名参数前面选择性地更改为命名参数,以及它的索引值是否与修改后的签名中其对应参数的索引值相匹配。 如果原来的调用站点是无序的,则第一个命名参数之前的参数是有序的。 添加对应于新参数的新参数,并有选择地将其作为命名参数。 可以在重构的调用站点中包含或省略新的可选参数。
-
-
-