当为策略定义了上下文关系时,函数(例如某个事件的Occurrencesof)将引用与所评估的事件具有相同上下文ID的所有事件。
When a context relationship is defined for a policy, functions such as Occurrences of a certain event refer to the occurrences of the event with the same context ID as the event being evaluated.
现在已经创建了Scheme变量,接下来就可以调用scheme函数square2(这一次没有参数),并用相同的方式捕捉和取消引用返回值。
Now that the Scheme variable has been created, you can simply call the Scheme function square2 (this time without an argument) and follow the same process to grab and dereference the return value.
第三个参数是对讨论清单5中的BindAuthenticator构造函数时引入的相同初始上下文的引用。
The third parameter is a reference to the same initial context that I introduced while discussing the BindAuthenticator constructor in Listing 5.
在函数之外,局部作用域引用全局作用域相同的名字空间:模块的名字空间。
Outside functions the local scope references the same namespace as the global scope: the module's namespace.
在函数之外,局部作用域引用全局作用域相同的名字空间:模块的名字空间。
Outside functions the local scope references the same namespace as the global scope: the module's namespace.
应用推荐