OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 dart2js.semantics_visitor_test; | 5 part of dart2js.semantics_visitor_test; |
6 | 6 |
7 class SemanticDeclarationTestVisitor extends SemanticTestVisitor { | 7 class SemanticDeclarationTestVisitor extends SemanticTestVisitor { |
8 | 8 |
9 SemanticDeclarationTestVisitor(TreeElements elements) : super(elements); | 9 SemanticDeclarationTestVisitor(TreeElements elements) : super(elements); |
10 | 10 |
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
474 MethodElement setter, | 474 MethodElement setter, |
475 NodeList parameters, | 475 NodeList parameters, |
476 Node body, | 476 Node body, |
477 arg) { | 477 arg) { |
478 visits.add(new Visit(VisitKind.VISIT_STATIC_SETTER_DECL, | 478 visits.add(new Visit(VisitKind.VISIT_STATIC_SETTER_DECL, |
479 element: setter, parameters: parameters, body: body)); | 479 element: setter, parameters: parameters, body: body)); |
480 applyParameters(parameters, arg); | 480 applyParameters(parameters, arg); |
481 apply(body, arg); | 481 apply(body, arg); |
482 } | 482 } |
483 } | 483 } |
OLD | NEW |