-
-
Notifications
You must be signed in to change notification settings - Fork 109
Execution of visual script
ExecutionEnvironment it the execution engine and environment for visual script. ExecutionEnvironment is tree structure, it stores variables in every execution level or scope. When you want to find an variable value, search in current level and then its parent, just like the scope of variable.
Level of ExecutionEnvironment
1st - store global variable, functions and module 2nd - Class evironment, store class type 3rd - instance environment of Class, store the properties of class 4th - function running environment. store the arguments of function 5th or more - local running environment
Completion will return after every node running, it contains the return value and jump of execution. There are five types of Completion, value, exception, return, break and continue.