| 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 /** | 7 /** |
| 8 * Common supertype for most declarations. A declaration introduces a new name i
n a scope. Certain | 8 * Common supertype for most declarations. A declaration introduces a new name i
n a scope. Certain |
| 9 * tools, such as the IDE, need to know the location of this name, but the name
should otherwise be | 9 * tools, such as the IDE, need to know the location of this name, but the name
should otherwise be |
| 10 * considered a part of the declaration, not an independent node. So the name is
not visited when | 10 * considered a part of the declaration, not an independent node. So the name is
not visited when |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 public DartObsoleteMetadata getObsoleteMetadata() { | 40 public DartObsoleteMetadata getObsoleteMetadata() { |
| 41 return obsoleteMetadata; | 41 return obsoleteMetadata; |
| 42 } | 42 } |
| 43 | 43 |
| 44 public void setObsoleteMetadata(DartObsoleteMetadata metadata) { | 44 public void setObsoleteMetadata(DartObsoleteMetadata metadata) { |
| 45 this.obsoleteMetadata = metadata; | 45 this.obsoleteMetadata = metadata; |
| 46 } | 46 } |
| 47 | 47 |
| 48 @Override | 48 @Override |
| 49 public void visitChildren(ASTVisitor<?> visitor) { | 49 public void visitChildren(ASTVisitor<?> visitor) { |
| 50 safelyVisitChild(dartDoc, visitor); |
| 50 super.visitChildren(visitor); | 51 super.visitChildren(visitor); |
| 51 safelyVisitChild(name, visitor); | 52 safelyVisitChild(name, visitor); |
| 52 } | 53 } |
| 53 } | 54 } |
| OLD | NEW |