| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 docgen.models.annotation; | 5 library docgen.models.annotation; |
| 6 | 6 |
| 7 import '../exports/source_mirrors.dart'; | 7 import '../exports/source_mirrors.dart'; |
| 8 | 8 |
| 9 import '../exports/dart2js_mirrors.dart' show ResolvedNode; | 9 import '../exports/dart2js_mirrors.dart' show ResolvedNode; |
| 10 | 10 |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 } | 102 } |
| 103 | 103 |
| 104 visitNodeList(NodeList node) { | 104 visitNodeList(NodeList node) { |
| 105 addToken(node.beginToken); | 105 addToken(node.beginToken); |
| 106 if (recursionLevel == 1) sb.clear(); | 106 if (recursionLevel == 1) sb.clear(); |
| 107 if (node.nodes != null) { | 107 if (node.nodes != null) { |
| 108 recursionLevel++; | 108 recursionLevel++; |
| 109 unparseNodeListFrom(node, node.nodes); | 109 unparseNodeListFrom(node, node.nodes); |
| 110 recursionLevel--; | 110 recursionLevel--; |
| 111 } | 111 } |
| 112 if (node.endToken != null) add(node.endToken.value); | 112 if (node.endToken != null) write(node.endToken.value); |
| 113 } | 113 } |
| 114 } | 114 } |
| OLD | NEW |