| 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.common.collect.Lists; | 7 import com.google.common.collect.Lists; |
| 8 import com.google.dart.compiler.ast.ASTNodes; | 8 import com.google.dart.compiler.ast.ASTNodes; |
| 9 import com.google.dart.compiler.ast.DartClass; | 9 import com.google.dart.compiler.ast.DartClass; |
| 10 import com.google.dart.compiler.ast.DartClassTypeAlias; | 10 import com.google.dart.compiler.ast.DartClassTypeAlias; |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 nameLocation = SourceInfo.UNKNOWN; | 109 nameLocation = SourceInfo.UNKNOWN; |
| 110 declarationNameWithTypeParameter = ""; | 110 declarationNameWithTypeParameter = ""; |
| 111 openBraceOffset = -1; | 111 openBraceOffset = -1; |
| 112 closeBraceOffset = -1; | 112 closeBraceOffset = -1; |
| 113 hasSuperInvocation = false; | 113 hasSuperInvocation = false; |
| 114 } | 114 } |
| 115 } | 115 } |
| 116 | 116 |
| 117 @Override | 117 @Override |
| 118 public DartDeclaration<?> getNode() { | 118 public DartDeclaration<?> getNode() { |
| 119 return (DartClass) super.getNode(); | 119 return (DartDeclaration<?>) super.getNode(); |
| 120 } | 120 } |
| 121 | 121 |
| 122 @Override | 122 @Override |
| 123 public SourceInfo getNameLocation() { | 123 public SourceInfo getNameLocation() { |
| 124 return nameLocation; | 124 return nameLocation; |
| 125 } | 125 } |
| 126 | 126 |
| 127 @Override | 127 @Override |
| 128 public void setType(InterfaceType type) { | 128 public void setType(InterfaceType type) { |
| 129 this.type = type; | 129 this.type = type; |
| (...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 454 @Override | 454 @Override |
| 455 public int getCloseBraceOffset() { | 455 public int getCloseBraceOffset() { |
| 456 return closeBraceOffset; | 456 return closeBraceOffset; |
| 457 } | 457 } |
| 458 | 458 |
| 459 @Override | 459 @Override |
| 460 public boolean hasSuperInvocation() { | 460 public boolean hasSuperInvocation() { |
| 461 return hasSuperInvocation; | 461 return hasSuperInvocation; |
| 462 } | 462 } |
| 463 } | 463 } |
| OLD | NEW |