summaryrefslogtreecommitdiff
path: root/src/core/model/Syntax.hpp
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-04-01 00:03:05 +0200
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2016-04-25 22:19:28 +0200
commitadf031f1ce3891635d7c3af2bb2f3e90de52c6ca (patch)
tree25be6474034445a70fea1d59041e73fe6f84074e /src/core/model/Syntax.hpp
parentac76b77537e8dd620ad15505f2f9ba22b7fe9cb7 (diff)
Some small formatting and comment changes, introduce more anonymous namespaces in cpp
Diffstat (limited to 'src/core/model/Syntax.hpp')
-rw-r--r--src/core/model/Syntax.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/model/Syntax.hpp b/src/core/model/Syntax.hpp
index 91b2226..e525224 100644
--- a/src/core/model/Syntax.hpp
+++ b/src/core/model/Syntax.hpp
@@ -39,10 +39,12 @@ struct TokenDescriptor {
* The string content of this token, if it is not a special one.
*/
std::string token;
+
/**
* A flag to be set true if this TokenDescriptor uses a special token.
*/
bool special;
+
/**
* An id to uniquely identify this token.
*/
@@ -120,6 +122,8 @@ struct SyntaxDescriptor {
* Given the current leaf in the parsed document the depth of a
* SyntaxDescriptor is defined as the number of transparent elements that
* would be needed to construct an instance of the referenced descriptor.
+ *
+ * TODO: What do negative values mean?
*/
ssize_t depth;