]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - parser/SourceProviderCacheItem.h
JavaScriptCore-1097.3.3.tar.gz
[apple/javascriptcore.git] / parser / SourceProviderCacheItem.h
index b9ab225ea95e6abf346fd2181df0617f0985c457..3662367a01b709d9cd4ec3d47d2f3db93e5e24a7 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "JSParser.h"
+#ifndef SourceProviderCacheItem_h
+#define SourceProviderCacheItem_h
+
+#include "ParserTokens.h"
 #include <wtf/Vector.h>
 #include <wtf/text/WTFString.h>
 
@@ -59,8 +62,12 @@ public:
     int closeBraceLine;
     int closeBracePos;
     bool usesEval;
+    bool strictMode;
+    bool needsFullActivation;
     Vector<RefPtr<StringImpl> > usedVariables;
     Vector<RefPtr<StringImpl> > writtenVariables;
 };
 
 }
+
+#endif // SourceProviderCacheItem_h