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 package com.google.dart.compiler.ast; | 5 package com.google.dart.compiler.ast; |
6 | 6 |
7 import java.util.List; | 7 import java.util.List; |
8 | 8 |
9 /** | 9 /** |
10 * A visitor for abstract syntax tree. | 10 * A visitor for abstract syntax tree. |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 } | 70 } |
71 | 71 |
72 public R visitClassMember(DartClassMember<?> node) { | 72 public R visitClassMember(DartClassMember<?> node) { |
73 return visitDeclaration(node); | 73 return visitDeclaration(node); |
74 } | 74 } |
75 | 75 |
76 public R visitComment(DartComment node) { | 76 public R visitComment(DartComment node) { |
77 return visitNode(node); | 77 return visitNode(node); |
78 } | 78 } |
79 | 79 |
| 80 public R visitAnnotation(DartAnnotation node) { |
| 81 return visitNode(node); |
| 82 } |
| 83 |
80 public R visitArrayAccess(DartArrayAccess node) { | 84 public R visitArrayAccess(DartArrayAccess node) { |
81 return visitExpression(node); | 85 return visitExpression(node); |
82 } | 86 } |
83 | 87 |
84 public R visitArrayLiteral(DartArrayLiteral node) { | 88 public R visitArrayLiteral(DartArrayLiteral node) { |
85 return visitTypedLiteral(node); | 89 return visitTypedLiteral(node); |
86 } | 90 } |
87 | 91 |
88 public R visitBinaryExpression(DartBinaryExpression node) { | 92 public R visitBinaryExpression(DartBinaryExpression node) { |
89 return visitExpression(node); | 93 return visitExpression(node); |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 } | 374 } |
371 | 375 |
372 public R visitNativeBlock(DartNativeBlock node) { | 376 public R visitNativeBlock(DartNativeBlock node) { |
373 return visitBlock(node); | 377 return visitBlock(node); |
374 } | 378 } |
375 | 379 |
376 public R visitRedirectConstructorInvocation(DartRedirectConstructorInvocation
node) { | 380 public R visitRedirectConstructorInvocation(DartRedirectConstructorInvocation
node) { |
377 return visitInvocation(node); | 381 return visitInvocation(node); |
378 } | 382 } |
379 } | 383 } |
OLD | NEW |