Creates a new scope from the provided parent and initial variables.
Creates a new scope from the provided parent and initial variables.
The parent scope (null indicates no parent)
Any variables to provide to the scope
The new scope instance
Creates a new root scope.
Creates a new root scope.
Any variables to provide to the scope
The new scope instance