发明授权
- 专利标题: Fully capturing outer variables as data objects
- 专利标题(中): 将外部变量完全捕获为数据对象
-
申请号: US11766514申请日: 2007-06-21
-
公开(公告)号: US08060868B2公开(公告)日: 2011-11-15
- 发明人: Henricus Johannes Maria Meijer , Anders Hejlsberg , Mads Torgersen , Peter A. Hallam , Matthew J. Warren , Dinesh C. Kulkarni , Clemens Alden Szyperski
- 申请人: Henricus Johannes Maria Meijer , Anders Hejlsberg , Mads Torgersen , Peter A. Hallam , Matthew J. Warren , Dinesh C. Kulkarni , Clemens Alden Szyperski
- 申请人地址: US WA Redmond
- 专利权人: Microsoft Corporation
- 当前专利权人: Microsoft Corporation
- 当前专利权人地址: US WA Redmond
- 代理机构: Workman Nydegger
- 主分类号: G06F9/45
- IPC分类号: G06F9/45 ; G06F9/44
摘要:
Providing for read/write access to captured free variables expressed as environment data objects is disclosed herein. By way of example, free variables can be rewritten as a field of a private class, and accessed via an instance of the private class captured within the environment data object. In such a manner, no need of a placeholder or proxy function is required to access the free variable. Consequently, the subject innovation provides a simplified method for capturing free variables within expression trees and providing read/write access to such variables.
公开/授权文献
- US20080320440A1 FULLY CAPTURING OUTER VARIABLES AS DATA OBJECTS 公开/授权日:2008-12-25
信息查询