Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(461)

Side by Side Diff: pkg/compiler/lib/src/use_unused_api.dart

Issue 1335983004: Add ImportElement and ExportElement (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/typechecker.dart ('k') | tests/compiler/dart2js/array_tracing_mirror_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698