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

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

Issue 10860012: Add support for metadata annotation syntax (issue 4056) (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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
« no previous file with comments | « no previous file | compiler/java/com/google/dart/compiler/ast/DartAnnotation.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 }
OLDNEW
« no previous file with comments | « no previous file | compiler/java/com/google/dart/compiler/ast/DartAnnotation.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698