summaryrefslogtreecommitdiffstats
path: root/src/uscxml/plugins/DataModelImpl.h
diff options
context:
space:
mode:
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.