summaryrefslogtreecommitdiffstats
path: root/src/uscxml/plugins/DataModelImpl.h
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2017-07-19 14:41:34 (GMT)
committerStefan Radomski <github@mintwerk.de>2017-07-19 14:41:34 (GMT)
commitaa341b878e6d4a2be8890ca5f890e46b87cf2d7d (patch)
treef35363f7ca5be90f5a4ca1d93210e96698f89d59 /src/uscxml/plugins/DataModelImpl.h
parent9db80409b3ca048c4b404a43d2c224f374c0090a (diff)
downloaduscxml-aa341b878e6d4a2be8890ca5f890e46b87cf2d7d.zip
uscxml-aa341b878e6d4a2be8890ca5f890e46b87cf2d7d.tar.gz
uscxml-aa341b878e6d4a2be8890ca5f890e46b87cf2d7d.tar.bz2
Beautified code
Diffstat (limited to 'src/uscxml/plugins/DataModelImpl.h')
-rw-r--r--src/uscxml/plugins/DataModelImpl.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/uscxml/plugins/DataModelImpl.h b/src/uscxml/plugins/DataModelImpl.h
index b378a96..afb41bc 100644
--- a/src/uscxml/plugins/DataModelImpl.h
+++ b/src/uscxml/plugins/DataModelImpl.h
@@ -117,7 +117,7 @@ public:
/**
* Determine whether a given string constitutes valid syntax in the
* data-model's language. This is only used to identify InterpreterIssues
- * but may be useful to implement isLegalDataValue() as well.
+ * but may be useful to implement isLegalDataValue() as well.
* @param expr A string, supposedly containing an expression of the data-model.
* @return Whether expr is in L(DM).
*/
@@ -125,16 +125,16 @@ public:
return true; // overwrite when datamodel supports it
}
- /**
- * Determine whether a given string constitutes a legal data value that can appear
- * at the right-hand side of an assignment.
- *
- * @param expr A string, supposedly containing a legal data value.
- * @return Whether expr is a legal data value.
- */
- virtual bool isLegalDataValue(const std::string& expr) {
- return true; // overwrite when datamodel supports it
- }
+ /**
+ * Determine whether a given string constitutes a legal data value that can appear
+ * at the right-hand side of an assignment.
+ *
+ * @param expr A string, supposedly containing a legal data value.
+ * @return Whether expr is a legal data value.
+ */
+ virtual bool isLegalDataValue(const std::string& expr) {
+ return true; // overwrite when datamodel supports it
+ }
/**
* Set the given event as `_event` in the data-model's global scope.