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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 return visitNode(node); | 205 return visitNode(node); |
206 } | 206 } |
207 | 207 |
208 public R visitFunctionExpression(DartFunctionExpression node) { | 208 public R visitFunctionExpression(DartFunctionExpression node) { |
209 return visitExpression(node); | 209 return visitExpression(node); |
210 } | 210 } |
211 | 211 |
212 public R visitFunctionTypeAlias(DartFunctionTypeAlias node) { | 212 public R visitFunctionTypeAlias(DartFunctionTypeAlias node) { |
213 return visitDeclaration(node); | 213 return visitDeclaration(node); |
214 } | 214 } |
| 215 |
| 216 public R visitClassTypeAlias(DartClassTypeAlias node) { |
| 217 return visitDeclaration(node); |
| 218 } |
215 | 219 |
216 public R visitIdentifier(DartIdentifier node) { | 220 public R visitIdentifier(DartIdentifier node) { |
217 return visitExpression(node); | 221 return visitExpression(node); |
218 } | 222 } |
219 | 223 |
220 public R visitIfStatement(DartIfStatement node) { | 224 public R visitIfStatement(DartIfStatement node) { |
221 return visitStatement(node); | 225 return visitStatement(node); |
222 } | 226 } |
223 | 227 |
224 public R visitImportCombinator(ImportCombinator node) { | 228 public R visitImportCombinator(ImportCombinator node) { |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 } | 402 } |
399 | 403 |
400 public R visitNativeBlock(DartNativeBlock node) { | 404 public R visitNativeBlock(DartNativeBlock node) { |
401 return visitBlock(node); | 405 return visitBlock(node); |
402 } | 406 } |
403 | 407 |
404 public R visitRedirectConstructorInvocation(DartRedirectConstructorInvocation
node) { | 408 public R visitRedirectConstructorInvocation(DartRedirectConstructorInvocation
node) { |
405 return visitInvocation(node); | 409 return visitInvocation(node); |
406 } | 410 } |
407 } | 411 } |
OLD | NEW |