| Index: compiler/java/com/google/dart/compiler/resolver/Scope.java
|
| diff --git a/compiler/java/com/google/dart/compiler/resolver/Scope.java b/compiler/java/com/google/dart/compiler/resolver/Scope.java
|
| index 344ca256fdb24e66b817265e4fe20cefdb0de625..916d4b80de9f6dd00eefcd15f929a4dfdc4d295b 100644
|
| --- a/compiler/java/com/google/dart/compiler/resolver/Scope.java
|
| +++ b/compiler/java/com/google/dart/compiler/resolver/Scope.java
|
| @@ -27,6 +27,8 @@ public class Scope {
|
| private final String name;
|
| private List<LabelElement> labels;
|
| private LibraryElement library;
|
| + private boolean stateProgress;
|
| + private boolean stateReady;
|
|
|
| @VisibleForTesting
|
| public Scope(String name, LibraryElement library, Scope parent) {
|
| @@ -98,6 +100,22 @@ public class Scope {
|
| }
|
| return false;
|
| }
|
| +
|
| + public void markStateProgress() {
|
| + this.stateProgress = true;
|
| + }
|
| +
|
| + public boolean isStateProgress() {
|
| + return stateProgress;
|
| + }
|
| +
|
| + public void markStateReady() {
|
| + this.stateReady = true;
|
| + }
|
| +
|
| + public boolean isStateReady() {
|
| + return stateReady;
|
| + }
|
|
|
| public Map<String, Element> getElements() {
|
| return elements;
|
|
|