首页>
外国专利>
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.
展开▼