summaryrefslogtreecommitdiffstats
path: root/src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.h
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-04-05 12:24:46 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-04-05 12:24:46 (GMT)
commit48009e6bafca54d117bee81ea2a8b41f2aae1d70 (patch)
treee791f120ce5de86484c8fb3c3d5bc2163e8773d0 /src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.h
parent5a7c8fd646d77139f216755085e1252a1dee334d (diff)
downloaduscxml-48009e6bafca54d117bee81ea2a8b41f2aae1d70.zip
uscxml-48009e6bafca54d117bee81ea2a8b41f2aae1d70.tar.gz
uscxml-48009e6bafca54d117bee81ea2a8b41f2aae1d70.tar.bz2
Redownloaded tests and fixed some more w3c issues
Diffstat (limited to 'src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.h')
-rw-r--r--src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.h b/src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.h
index 6348cbc..e67e4ca 100644
--- a/src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.h
+++ b/src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.h
@@ -40,11 +40,13 @@ public:
virtual void popContext();
virtual void eval(const std::string& expr);
+ virtual void assign(const std::string& location, const Arabica::DOM::Document<std::string>& doc);
virtual void assign(const std::string& location, const std::string& expr);
virtual void assign(const std::string& location, const Data& data);
virtual Data getStringAsData(const std::string& content);
virtual Data getValueAsData(const v8::Handle<v8::Value>& value);
+
virtual bool isDeclared(const std::string& expr);
virtual std::string evalAsString(const std::string& expr);
@@ -66,6 +68,7 @@ protected:
v8::Handle<v8::Value> evalAsValue(const std::string& expr);
v8::Handle<v8::Value> getDataAsValue(const Data& data);
+ v8::Handle<v8::Value> getDocumentAsValue(const Arabica::DOM::Document<std::string>& doc);
void throwExceptionEvent(const v8::TryCatch& tryCatch);
};