首页> 外国专利> Computer code transformations to create synthetic global scopes

Computer code transformations to create synthetic global scopes

机译:计算机代码转换以创建综合全局范围

摘要

Methods and systems for processing computer code modules in order to avoid polluting the global namespace. According to one embodiment, the system or method comprises a server that receives a request for an additional computer code module to be added to the namespace. Prior to delivering the module, the server processes the module by identifying all references to global symbols that are not to be explicitly exported to a global scope and moving the identified symbols to a synthetic namespace prior. The server further wraps the processed module in a function that receives the synthetic global scope as a parameter, and delivers the wrapped module to the requesting namespace.
机译:用于处理计算机代码模块以避免污染全局名称空间的方法和系统。根据一个实施例,该系统或方法包括服务器,该服务器接收对将要添加到命名空间的附加计算机代码模块的请求。在交付模块之前,服务器通过标识对全局符号的所有引用(不将其显式导出到全局范围),并将标识的符号先移至合成名称空间,来处理模块。服务器进一步将处理后的模块包装为一个函数,该函数接收综合全局范围作为参数,并将包装的模块传递给请求的名称空间。

著录项

  • 公开/公告号US9015682B1

    专利类型

  • 公开/公告日2015-04-21

    原文格式PDF

  • 申请/专利权人 MALTE UBL;JOHN A. HJELMSTAD;

    申请/专利号US201213432477

  • 发明设计人 MALTE UBL;JOHN A. HJELMSTAD;

    申请日2012-03-28

  • 分类号G06F9/44;G06F9/54;

  • 国家 US

  • 入库时间 2022-08-21 15:18:39

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号