libidav/davqlparser.h

changeset 130
80d273229f24
parent 127
7072a2b4ae35
child 131
32e7b3e6b482
--- a/libidav/davqlparser.h	Tue Jun 02 21:03:58 2015 +0200
+++ b/libidav/davqlparser.h	Wed Jun 03 11:47:38 2015 +0200
@@ -157,6 +157,9 @@
  * The grammar for a DavQLStatement is:
  * 
  * <pre>
+ * Keyword = "select" | "set" | "from" | "at" | "as" | "where" | "with"
+ *         | "order" | "by" | "asc" | "desc";
+ * 
  * Expression        = AddExpression;
  * AddExpression     = MultExpression, [AddOperator, AddExpression];
  * MultExpression    = BitwiseExpression, [MultOperator, MultExpression];
@@ -200,9 +203,9 @@
  * SetExpressions   = SetExpression, {",", SetExpression};
  * SetExpression    = Identifier, "=", Expression;
  * 
- * Path = "%s"
- *      | "/", {?Character? - " "}
- *      | "'/", {?Character?}, "'";
+ * Path     = String
+ *          | "/", [PathNode, {"/", PathNode}], ["/"];
+ * PathNode = {{?Character? - "/"} - Keyword};
  * 
  * WithClause = "depth", "=", (Number | "infinity");
  * 
@@ -213,7 +216,7 @@
  * 
  * Note: mandatory spaces are part of the grammar. But you may also insert an
  * arbitrary amount of optional spaces between two symbols if they are not part
- * of an literal or identifier.
+ * of an literal, identifier or the path.
  * 
  * <b>SELECT:</b>
  * <pre>

mercurial