-
Jonathan Egeland authored
This commit also introduces Scopes as a container for Vars, Consts, Underscores, etc. Scopes contain a Hash of names to values (the properties of which are currently determined by their call style, e.g. a Const node vs. a Var node). They also have an optional reference to a parent Scope to allow for lexical scoping.
51260d43Jonathan Egeland authoredThis commit also introduces Scopes as a container for Vars, Consts, Underscores, etc. Scopes contain a Hash of names to values (the properties of which are currently determined by their call style, e.g. a Const node vs. a Var node). They also have an optional reference to a parent Scope to allow for lexical scoping.
Loading