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

Side by Side Diff: dart/lib/compiler/implementation/tree/prettyprint.dart

Issue 11088003: Fix warnings in dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix long line Created 8 years, 2 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 | Annotate | Revision Log
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 /** 5 /**
6 * Pretty-prints Node tree in XML-like format. 6 * Pretty-prints Node tree in XML-like format.
7 * 7 *
8 * TODO(smok): Add main() to run from command-line to print out tree for given 8 * TODO(smok): Add main() to run from command-line to print out tree for given
9 * .dart file. 9 * .dart file.
10 */ 10 */
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 openNode(node, "VariableDefinitions"); 388 openNode(node, "VariableDefinitions");
389 visitChildNode(node.type, "type"); 389 visitChildNode(node.type, "type");
390 visitChildNode(node.modifiers, "modifiers"); 390 visitChildNode(node.modifiers, "modifiers");
391 visitChildNode(node.definitions, "definitions"); 391 visitChildNode(node.definitions, "definitions");
392 closeNode(); 392 closeNode();
393 } 393 }
394 394
395 visitWhile(While node) { 395 visitWhile(While node) {
396 visitNodeWithChildren(node, "While"); 396 visitNodeWithChildren(node, "While");
397 } 397 }
398
399 visitNode(Node node) {
400 unimplemented('visitNode', node: node);
401 }
402
403 visitCombinator(Combinator node) {
404 unimplemented('visitNode', node: node);
405 }
406
407 visitExport(Export node) {
408 unimplemented('visitNode', node: node);
409 }
410
411 visitExpression(Expression node) {
412 unimplemented('visitNode', node: node);
413 }
414
415 visitGotoStatement(GotoStatement node) {
416 unimplemented('visitNode', node: node);
417 }
418
419 visitImport(Import node) {
420 unimplemented('visitNode', node: node);
421 }
422
423 visitLibraryName(LibraryName node) {
424 unimplemented('visitNode', node: node);
425 }
426
427 visitLibraryTag(LibraryTag node) {
428 unimplemented('visitNode', node: node);
429 }
430
431 visitLiteral(Literal node) {
432 unimplemented('visitNode', node: node);
433 }
434
435 visitLoop(Loop node) {
436 unimplemented('visitNode', node: node);
437 }
438
439 visitPart(Part node) {
440 unimplemented('visitNode', node: node);
441 }
442
443 visitPartOf(PartOf node) {
444 unimplemented('visitNode', node: node);
445 }
446
447 visitPostfix(Postfix node) {
448 unimplemented('visitNode', node: node);
449 }
450
451 visitPrefix(Prefix node) {
452 unimplemented('visitNode', node: node);
453 }
454
455 visitStatement(Statement node) {
456 unimplemented('visitNode', node: node);
457 }
458
459 visitStringNode(StringNode node) {
460 unimplemented('visitNode', node: node);
461 }
462
463 unimplemented(String message, {Node node}) {
464 throw message;
465 }
398 } 466 }
OLDNEW
« no previous file with comments | « dart/lib/compiler/implementation/tree/nodes.dart ('k') | dart/lib/compiler/implementation/tree/unparser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698