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

Side by Side Diff: compiler/java/com/google/dart/compiler/ast/ASTVisitor.java

Issue 11776037: Initial support for mixins in dartc. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Forgot MixinScope.java Created 7 years, 11 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 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
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698