| OLD | NEW |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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 old_servicec.plugins.shared; | 5 library old_servicec.plugins.shared; |
| 6 | 6 |
| 7 import 'package:servicec/util.dart' as strings; | 7 import 'package:servicec/util.dart' as strings; |
| 8 | 8 |
| 9 import '../parser.dart'; | 9 import '../parser.dart'; |
| 10 export '../parser.dart'; | 10 export '../parser.dart'; |
| 11 | 11 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 33 | 33 |
| 34 visitNodes(List<Node> nodes, String separatedBy(bool first)) { | 34 visitNodes(List<Node> nodes, String separatedBy(bool first)) { |
| 35 bool first = true; | 35 bool first = true; |
| 36 for (int i = 0; i < nodes.length; i++) { | 36 for (int i = 0; i < nodes.length; i++) { |
| 37 write(separatedBy(first)); | 37 write(separatedBy(first)); |
| 38 if (first) first = false; | 38 if (first) first = false; |
| 39 visit(nodes[i]); | 39 visit(nodes[i]); |
| 40 } | 40 } |
| 41 } | 41 } |
| 42 } | 42 } |
| OLD | NEW |