public override void Visit(UseStatementNode node) { // We need to visit the initializer first so that it can't refer to variables // introduced in the pattern. Visit(node.Initializer); Visit(node.Pattern); _scope.Function !.PushUse(_scope.Block !, node); }
public void PushUse(BlockScope scope, UseStatementNode use) { _uses.Push((GetDepth(scope.Node), use)); scope.Uses++; }