发明授权
US09015682B1 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.
信息查询
0/0