OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 part of dart_backend; | 5 part of dart_backend; |
6 | 6 |
7 class LocalPlaceholder { | 7 class LocalPlaceholder { |
8 final String identifier; | 8 final String identifier; |
9 final Set<Node> nodes; | 9 final Set<Node> nodes; |
10 LocalPlaceholder(this.identifier) : nodes = new Set<Node>(); | 10 LocalPlaceholder(this.identifier) : nodes = new Set<Node>(); |
(...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
692 | 692 |
693 visitBlock(Block node) { | 693 visitBlock(Block node) { |
694 for (Node statement in node.statements.nodes) { | 694 for (Node statement in node.statements.nodes) { |
695 if (statement is VariableDefinitions) { | 695 if (statement is VariableDefinitions) { |
696 makeVarDeclarationTypePlaceholder(statement); | 696 makeVarDeclarationTypePlaceholder(statement); |
697 } | 697 } |
698 } | 698 } |
699 node.visitChildren(this); | 699 node.visitChildren(this); |
700 } | 700 } |
701 } | 701 } |
OLD | NEW |