| 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 /// This file use methods that aren't used by dart2js.dart, but that we wish to | 5 /// This file use methods that aren't used by dart2js.dart, but that we wish to |
| 6 /// keep anyway. This might be general API that isn't currently in use, | 6 /// keep anyway. This might be general API that isn't currently in use, |
| 7 /// debugging aids, or API only used for testing (see TODO below). | 7 /// debugging aids, or API only used for testing (see TODO below). |
| 8 | 8 |
| 9 library dart2js.use_unused_api; | 9 library dart2js.use_unused_api; |
| 10 | 10 |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 ..asClassNode() | 137 ..asClassNode() |
| 138 ..asCombinator() | 138 ..asCombinator() |
| 139 ..asConditional() | 139 ..asConditional() |
| 140 ..asContinueStatement() | 140 ..asContinueStatement() |
| 141 ..asEnum() | 141 ..asEnum() |
| 142 ..asErrorExpression() | 142 ..asErrorExpression() |
| 143 ..asExport() | 143 ..asExport() |
| 144 ..asFor() | 144 ..asFor() |
| 145 ..asFunctionDeclaration() | 145 ..asFunctionDeclaration() |
| 146 ..asIf() | 146 ..asIf() |
| 147 ..asImport() |
| 147 ..asLabeledStatement() | 148 ..asLabeledStatement() |
| 148 ..asLibraryDependency() | 149 ..asLibraryDependency() |
| 149 ..asLibraryName() | 150 ..asLibraryName() |
| 150 ..asLiteralDouble() | 151 ..asLiteralDouble() |
| 151 ..asLiteralList() | 152 ..asLiteralList() |
| 152 ..asLiteralMap() | 153 ..asLiteralMap() |
| 153 ..asLiteralMapEntry() | 154 ..asLiteralMapEntry() |
| 154 ..asLiteralNull() | 155 ..asLiteralNull() |
| 155 ..asLiteralSymbol() | 156 ..asLiteralSymbol() |
| 156 ..asMetadata() | 157 ..asMetadata() |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 | 339 |
| 339 class TreeVisitor1 extends tree_ir.ExpressionVisitor1 | 340 class TreeVisitor1 extends tree_ir.ExpressionVisitor1 |
| 340 with tree_ir.StatementVisitor1 { | 341 with tree_ir.StatementVisitor1 { |
| 341 noSuchMethod(inv) {} | 342 noSuchMethod(inv) {} |
| 342 } | 343 } |
| 343 | 344 |
| 344 useTreeVisitors() { | 345 useTreeVisitors() { |
| 345 new TreeVisitor1().visitExpression(null, null); | 346 new TreeVisitor1().visitExpression(null, null); |
| 346 new TreeVisitor1().visitStatement(null, null); | 347 new TreeVisitor1().visitStatement(null, null); |
| 347 } | 348 } |
| OLD | NEW |