-
公开(公告)号:US08245210B2
公开(公告)日:2012-08-14
申请号:US12470746
申请日:2009-05-22
IPC分类号: G06F9/45
CPC分类号: G06F8/443
摘要: Compile-time context information is captured and provided to a runtime binder for dynamic features in programming languages. For example, a C# run-time binder uses the information to perform a run-time bind with semantics matching the compiler's binding behavior. Dynamic programming language features supported relate to compound operations, events, delegates, member accessibility, dynamic-typed objects, structs passed by ref, arguments passed by name rather than position, extension methods, conditionally compiled methods, literal arguments, overflow checking, dynamic indexed properties, dynamic method groups, and static method groups.
摘要翻译: 编译时上下文信息被捕获并提供给编程语言中的动态特征的运行时绑定。 例如,C#运行时绑定器使用该信息来执行与编译器的绑定行为匹配的语义的运行时绑定。 支持的动态编程语言功能涉及复合操作,事件,委托,成员可访问性,动态类型对象,由ref传递的结构,通过名称而不是位置传递的参数,扩展方法,有条件编译的方法,文字参数,溢出检查,动态索引 属性,动态方法组和静态方法组。
-
公开(公告)号:US20100299658A1
公开(公告)日:2010-11-25
申请号:US12470746
申请日:2009-05-22
CPC分类号: G06F8/443
摘要: Compile-time context information is captured and provided to a runtime binder for dynamic features in programming languages. For example, a C# run-time binder uses the information to perform a run-time bind with semantics matching the compiler's binding behavior. Dynamic programming language features supported relate to compound operations, events, delegates, member accessibility, dynamic-typed objects, structs passed by ref, arguments passed by name rather than position, extension methods, conditionally compiled methods, literal arguments, overflow checking, dynamic indexed properties, dynamic method groups, and static method groups.
摘要翻译: 编译时上下文信息被捕获并提供给编程语言中的动态特征的运行时绑定。 例如,C#运行时绑定器使用该信息来执行与编译器的绑定行为匹配的语义的运行时绑定。 支持的动态编程语言功能涉及复合操作,事件,委托,成员可访问性,动态类型对象,由ref传递的结构,通过名称而不是位置传递的参数,扩展方法,有条件编译的方法,文字参数,溢出检查,动态索引 属性,动态方法组和静态方法组。
-
公开(公告)号:US09075667B2
公开(公告)日:2015-07-07
申请号:US12469696
申请日:2009-05-21
申请人: Mads Torgersen , Anders Hejlsberg , James J. Hugunin , Matthew J. Warren , Neal Gafter , Lucian Jules Wischik , Robert Eric Lippert , Samuel Y. Ng , Christopher Joseph Burrows , Alex C. Turner
发明人: Mads Torgersen , Anders Hejlsberg , James J. Hugunin , Matthew J. Warren , Neal Gafter , Lucian Jules Wischik , Robert Eric Lippert , Samuel Y. Ng , Christopher Joseph Burrows , Alex C. Turner
CPC分类号: G06F8/54 , G06F9/44521
摘要: A static type, called “dynamic”, is introduced into a statically bound programming language. An expression or subexpression that is defined as a static type called “dynamic” in the source code of a program written in the statically bound programming language, is bound based on its runtime type instead of on its compile time type. Binding can be performed based on a mixture of compile time and runtime types that are based on the specification of types of expressions in source code. This type of binding is called hybrid binding. Operations are bound using the runtime type of constituent expressions (i.e., the runtime type of a receiver, an argument, or an operand) typed as dynamic and the compile time type of static constituents. If any constituent expression of an operation is dynamic, binding occurs at runtime instead of at compile time.
摘要翻译: 称为“动态”的静态类型被引入到静态编程语言中。 在静态编程语言编写的程序的源代码中被定义为静态类型的动态表达式或子表达式是基于其运行时类型而不是编译时类型而绑定的。 可以基于基于源代码中表达式的类型的编译时间和运行时类型的混合来执行绑定。 这种类型的绑定称为混合绑定。 使用类型为动态的组合表达式(即,接收器的运行时类型,参数或操作数)的运行时类型和静态组件的编译时间类型来绑定操作。 如果操作的任何组成表达式是动态的,则绑定在运行时而不是在编译时发生。
-
公开(公告)号:US20100299660A1
公开(公告)日:2010-11-25
申请号:US12469696
申请日:2009-05-21
申请人: Mads Torgersen , Anders Hejlsberg , James J. Hugunin , Matthew J. Warren , Neal Gafter , Lucian Jules Wischik , Robert Eric Lippert , Samuel Y. Ng , Christopher Joseph Burrows , Alex C. Turner
发明人: Mads Torgersen , Anders Hejlsberg , James J. Hugunin , Matthew J. Warren , Neal Gafter , Lucian Jules Wischik , Robert Eric Lippert , Samuel Y. Ng , Christopher Joseph Burrows , Alex C. Turner
CPC分类号: G06F8/54 , G06F9/44521
摘要: A static type, called “dynamic”, is introduced into a statically bound programming language. An expression or subexpression that is defined as a static type called “dynamic” in the source code of a program written in the statically bound programming language, is bound based on its runtime type instead of on its compile time type. Binding can be performed based on a mixture of compile time and runtime types that are based on the specification of types of expressions in source code. This type of binding is called hybrid binding. Operations are bound using the runtime type of constituent expressions (i.e., the runtime type of a receiver, an argument, or an operand) typed as dynamic and the compile time type of static constituents. If any constituent expression of an operation is dynamic, binding occurs at runtime instead of at compile time.
摘要翻译: 称为“动态”的静态类型被引入到静态编程语言中。 在静态编程语言编写的程序的源代码中被定义为静态类型的动态表达式或子表达式是基于其运行时类型而不是编译时类型而绑定的。 可以基于基于源代码中表达式的类型的编译时间和运行时类型的混合来执行绑定。 这种类型的绑定称为混合绑定。 使用类型为动态的组合表达式(即,接收器的运行时类型,参数或操作数)的运行时类型以及静态组件的编译时间类型来绑定操作。 如果操作的任何组成表达式是动态的,则绑定在运行时而不是在编译时发生。
-
公开(公告)号:US07685563B2
公开(公告)日:2010-03-23
申请号:US10790663
申请日:2004-03-01
申请人: Rahul Kumar , Joshua Shepard , Kevin Perry , Diane Melde , Izydor Gryko , C. Douglas Hodges , Jemy Huang , Christopher Joseph Burrows , Svetlozar Keremidarski
发明人: Rahul Kumar , Joshua Shepard , Kevin Perry , Diane Melde , Izydor Gryko , C. Douglas Hodges , Jemy Huang , Christopher Joseph Burrows , Svetlozar Keremidarski
IPC分类号: G06F9/44
CPC分类号: G06F8/36 , G06F9/4492
摘要: An extensible project system for software development is provided by allowing a flavor, with a specific purpose, to be applied to a base project system. More than one flavor may be applied. Where components are distributed objects, such as where COM (component object model) is used, the project system is assembled by aggregation of a base project object, which contains some data for creating a project system with a flavor object, which modifies the project system. The base project object is the participating object in the aggregation and the flavor object is the controlling object. Multiple flavors may be applied to create a project system intended for multiple purposes, corresponding to the applied flavors.
摘要翻译: 通过允许具有特定目的的风味应用于基础项目系统来提供用于软件开发的可扩展项目系统。 可以应用多种风味。 在组件是分布式对象(如使用COM(组件对象模型)的位置)的情况下,通过聚合基础项目对象来组合项目系统,该基础项目对象包含用于创建具有flavor对象的项目系统的一些数据,该对象修改项目系统 。 基础项目对象是聚合中的参与对象,flavor对象是控制对象。 可以应用多种风味来创建旨在用于多种目的的项目系统,对应于所应用的风味。
-
-
-
-