public override void PostWalk(ClassDefinition node) { _scopes.Add(node); _allWrites.Add(node.GetVariableReference(_root)); _allWrittenVariables.Add(node.Variable); base.PostWalk(node); }
public override bool Walk(ClassDefinition node) { _define.WalkName(node.NameExpression, node.GetVariableReference(_root)); bool oldInLoop = _inLoop; _inLoop = false; var res = base.Walk(node); _inLoop = oldInLoop; return res; }