| 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.resolver; | 5 package com.google.dart.compiler.resolver; |
| 6 | 6 |
| 7 import com.google.dart.compiler.ast.DartNode; |
| 7 import com.google.dart.compiler.ast.DartObsoleteMetadata; | 8 import com.google.dart.compiler.ast.DartObsoleteMetadata; |
| 8 import com.google.dart.compiler.ast.DartNode; | |
| 9 import com.google.dart.compiler.ast.Modifiers; | 9 import com.google.dart.compiler.ast.Modifiers; |
| 10 import com.google.dart.compiler.common.SourceInfo; | 10 import com.google.dart.compiler.common.SourceInfo; |
| 11 import com.google.dart.compiler.type.Type; | 11 import com.google.dart.compiler.type.Type; |
| 12 import com.google.dart.compiler.type.Types; | 12 import com.google.dart.compiler.type.Types; |
| 13 | 13 |
| 14 abstract class AbstractNodeElement implements Element, NodeElement { | 14 abstract class AbstractNodeElement implements Element, NodeElement { |
| 15 private final DartNode node; | 15 private final DartNode node; |
| 16 private final String name; | 16 private final String name; |
| 17 private SourceInfo sourceInfo; | 17 private SourceInfo sourceInfo; |
| 18 | 18 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 @Override | 78 @Override |
| 79 public SourceInfo getNameLocation() { | 79 public SourceInfo getNameLocation() { |
| 80 return sourceInfo; | 80 return sourceInfo; |
| 81 } | 81 } |
| 82 | 82 |
| 83 @Override | 83 @Override |
| 84 public final SourceInfo getSourceInfo() { | 84 public final SourceInfo getSourceInfo() { |
| 85 return sourceInfo; | 85 return sourceInfo; |
| 86 } | 86 } |
| 87 } | 87 } |
| OLD | NEW |