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

Side by Side Diff: compiler/java/com/google/dart/compiler/resolver/FieldNodeElement.java

Issue 9700019: Use NodeElement to access Node in Resolver (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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
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 package com.google.dart.compiler.resolver; 4 package com.google.dart.compiler.resolver;
5 5
6 import com.google.dart.compiler.ast.DartNode; 6 import com.google.dart.compiler.ast.DartNode;
7 import com.google.dart.compiler.type.Type; 7 import com.google.dart.compiler.type.Type;
8 8
9 /** 9 /**
10 * Extension of {@link FieldElement} which is base of {@link DartNode} and is mo difiable. 10 * Extension of {@link FieldElement} which is base of {@link DartNode} and is mo difiable.
11 */ 11 */
12 public interface FieldNodeElement extends FieldElement, NodeElement { 12 public interface FieldNodeElement extends FieldElement, NodeElement {
13 /** 13 /**
14 * Sets the inferred type of this constant. 14 * Sets the inferred type of this constant.
15 * 15 *
16 * @param type the {@link Type} to set, not <code>null</code>. 16 * @param type the {@link Type} to set, not <code>null</code>.
17 */ 17 */
18 void setConstantType(Type type); 18 void setConstantType(Type type);
19
20 MethodNodeElement getGetter();
21
22 MethodNodeElement getSetter();
19 } 23 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698