OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 package com.google.dart.compiler.ast.viz; | 5 package com.google.dart.compiler.ast.viz; |
6 | 6 |
7 import java.io.File; | 7 import java.io.File; |
8 import java.util.List; | 8 import java.util.List; |
9 | 9 |
10 import com.google.dart.compiler.ast.DartArrayAccess; | 10 import com.google.dart.compiler.ast.DartArrayAccess; |
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
527 | 527 |
528 @Override | 528 @Override |
529 public Object visitSwitchStatement(DartSwitchStatement node) { | 529 public Object visitSwitchStatement(DartSwitchStatement node) { |
530 write("DartSwitchStatement", node); | 530 write("DartSwitchStatement", node); |
531 visitChildren(node); | 531 visitChildren(node); |
532 return null; | 532 return null; |
533 } | 533 } |
534 | 534 |
535 @Override | 535 @Override |
536 public Object visitSyntheticErrorExpression(DartSyntheticErrorExpression nod
e) { | 536 public Object visitSyntheticErrorExpression(DartSyntheticErrorExpression nod
e) { |
537 write("DartSyntheticErrorExpression", node); | 537 write("DartSyntheticErrorExpression(", node, node.getTokenString() + ")"); |
538 visitChildren(node); | 538 visitChildren(node); |
539 return null; | 539 return null; |
540 } | 540 } |
541 | 541 |
542 @Override | 542 @Override |
543 public Object visitSyntheticErrorStatement(DartSyntheticErrorStatement node)
{ | 543 public Object visitSyntheticErrorStatement(DartSyntheticErrorStatement node)
{ |
544 write("DartSyntheticErrorStatement", node); | 544 write("DartSyntheticErrorStatement", node); |
545 visitChildren(node); | 545 visitChildren(node); |
546 return null; | 546 return null; |
547 } | 547 } |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
646 } | 646 } |
647 | 647 |
648 @Override | 648 @Override |
649 public Object visitRedirectConstructorInvocation(DartRedirectConstructorInvo
cation node) { | 649 public Object visitRedirectConstructorInvocation(DartRedirectConstructorInvo
cation node) { |
650 write("DartRedirectConstructorInvocation", node); | 650 write("DartRedirectConstructorInvocation", node); |
651 visitChildren(node); | 651 visitChildren(node); |
652 return null; | 652 return null; |
653 } | 653 } |
654 } | 654 } |
655 } | 655 } |
OLD | NEW |