Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
|
Brian Wilkerson
2012/06/28 21:53:53
nit: copyright year
zundel
2012/06/28 22:07:15
Done.
| |
| 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.DartField; | 7 import com.google.dart.compiler.ast.DartField; |
| 8 import com.google.dart.compiler.ast.DartIdentifier; | 8 import com.google.dart.compiler.ast.DartIdentifier; |
| 9 import com.google.dart.compiler.ast.DartMethodDefinition; | 9 import com.google.dart.compiler.ast.DartMethodDefinition; |
| 10 import com.google.dart.compiler.ast.DartNode; | 10 import com.google.dart.compiler.ast.DartNode; |
| 11 import com.google.dart.compiler.ast.Modifiers; | 11 import com.google.dart.compiler.ast.Modifiers; |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 97 return setter; | 97 return setter; |
| 98 } | 98 } |
| 99 | 99 |
| 100 void setGetter(MethodNodeElement getter) { | 100 void setGetter(MethodNodeElement getter) { |
| 101 this.getter = getter; | 101 this.getter = getter; |
| 102 } | 102 } |
| 103 | 103 |
| 104 void setSetter(MethodNodeElement setter) { | 104 void setSetter(MethodNodeElement setter) { |
| 105 this.setter = setter; | 105 this.setter = setter; |
| 106 } | 106 } |
| 107 | 107 |
| 108 @Override | 108 @Override |
| 109 public Type getConstantType() { | 109 public Type getConstantType() { |
| 110 return constantType; | 110 return constantType; |
| 111 } | 111 } |
| 112 | 112 |
| 113 @Override | 113 @Override |
| 114 public void setConstantType(Type type) { | 114 public void setConstantType(Type type) { |
| 115 constantType = type; | 115 constantType = type; |
| 116 } | 116 } |
| 117 } | 117 } |
| OLD | NEW |