@scope

This is a collection of functions for working with scope.

@scope/extend(tree, …scopeTrees)

Returns a copy of the given tree whose scope will the indicated trees and the current scope. This is similar to @scope/set, but the latter doesn’t implicitly include the current scope.

@scope/get([tree])

If the tree has a scope property, this returns the value of that property.

@scope/set(tree, …scopeTrees)

Returns a copy of the given tree with the indicated trees as its scope.