| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 part of models; | 5 part of models; |
| 6 | 6 |
| 7 abstract class ContextRef extends ObjectRef { | 7 abstract class ContextRef extends ObjectRef { |
| 8 /// The number of variables in this context. | 8 /// The number of variables in this context. |
| 9 int get length; | 9 int get length; |
| 10 } | 10 } |
| 11 | 11 |
| 12 abstract class Context extends Object implements ContextRef { | 12 abstract class Context extends Object implements ContextRef { |
| 13 /// [optional] The enclosing context for this context. | 13 /// [optional] The enclosing context for this context. |
| 14 Context get parentContext; | 14 Context get parentContext; |
| 15 | 15 |
| 16 // The variables in this context object. | 16 // The variables in this context object. |
| 17 //Iterable<ContextElement> get variables; | 17 Iterable<ContextElement> get variables; |
| 18 } | 18 } |
| 19 |
| 20 abstract class ContextElement { |
| 21 Guarded<InstanceRef> get value; |
| 22 } |
| OLD | NEW |