summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/runtime/Completion.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/runtime/Completion.h')
-rw-r--r--Source/JavaScriptCore/runtime/Completion.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/JavaScriptCore/runtime/Completion.h b/Source/JavaScriptCore/runtime/Completion.h
index d150fcea2..78f8ac795 100644
--- a/Source/JavaScriptCore/runtime/Completion.h
+++ b/Source/JavaScriptCore/runtime/Completion.h
@@ -23,14 +23,17 @@
#ifndef Completion_h
#define Completion_h
-#include "JSValue.h"
+#include "JSCJSValue.h"
namespace JSC {
-
+
+ struct ParserError;
class ExecState;
class JSScope;
class SourceCode;
+ class VM;
+ JS_EXPORT_PRIVATE bool checkSyntax(VM&, const SourceCode&, ParserError&);
JS_EXPORT_PRIVATE bool checkSyntax(ExecState*, const SourceCode&, JSValue* exception = 0);
JS_EXPORT_PRIVATE JSValue evaluate(ExecState*, const SourceCode&, JSValue thisValue = JSValue(), JSValue* exception = 0);