diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-03-30 16:08:37 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-03-30 16:08:37 (GMT) |
commit | 28014abf13ca64031b8b84dcf585ec4569881ab0 (patch) | |
tree | 9680223cdbd3adde5bd80d18f1b29ea3a0990e4f /src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.h | |
parent | 2317f2bf8beb03c60463a9482dbef23540f5c1e0 (diff) | |
download | uscxml-28014abf13ca64031b8b84dcf585ec4569881ab0.zip uscxml-28014abf13ca64031b8b84dcf585ec4569881ab0.tar.gz uscxml-28014abf13ca64031b8b84dcf585ec4569881ab0.tar.bz2 |
Various bug fixes
- Removed scxml-test-framework related file
- Array operator with V8NodeList
- _event.data as DOM if content is XML
Diffstat (limited to 'src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.h')
-rw-r--r-- | src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.h b/src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.h index 18e1ea4..6d4ca63 100644 --- a/src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.h +++ b/src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.h @@ -52,6 +52,7 @@ public: virtual std::string evalAsString(const std::string& expr); virtual bool evalAsBool(const std::string& expr); + virtual double evalAsNumber(const std::string& expr); static v8::Handle<v8::Value> jsIn(const v8::Arguments& args); static v8::Handle<v8::Value> jsPrint(const v8::Arguments& args); @@ -63,6 +64,7 @@ protected: v8::Handle<v8::Value> evalAsValue(const std::string& expr); virtual v8::Handle<v8::Value> getDataAsValue(const Data& data); + void throwExceptionEvent(const v8::TryCatch& tryCatch); }; |