By supporting the hierachical scopes we mean the interpreter associates one interpreter-dependent scope with each ZK's {@link org.zkoss.zk.ui.IdSpace}. And, variables, classes and methods defined in zscript are then stored in an individual scope depending on the scope when calling {@link Interpreter#interpret}.
On the other hand, if the interpreter doesn't support the hierachical scopes, it maintains only one global scope and all variables, classes and functions are defined in the global scope. @author tomyeh @see Interpreter
|
|