| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 library polymer_expressions.visitor; | 5 library polymer_expressions.visitor; |
| 6 | 6 |
| 7 import 'expression.dart'; | 7 import 'expression.dart'; |
| 8 | 8 |
| 9 abstract class Visitor { | 9 abstract class Visitor { |
| 10 visit(Expression s) => s.accept(this); | 10 visit(Expression s) => s.accept(this); |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 visit(c.right); | 124 visit(c.right); |
| 125 visitExpression(c); | 125 visitExpression(c); |
| 126 } | 126 } |
| 127 | 127 |
| 128 visitAsExpression(AsExpression c) { | 128 visitAsExpression(AsExpression c) { |
| 129 visit(c.left); | 129 visit(c.left); |
| 130 visit(c.right); | 130 visit(c.right); |
| 131 visitExpression(c); | 131 visitExpression(c); |
| 132 } | 132 } |
| 133 } | 133 } |
| OLD | NEW |