Support for custom grouping of XPath expressions.

This allows the use of expressions such as "(A or B) and C".

This fixes #59.
This commit is contained in:
Yorick Peterse committed 2014-10-26 22:38:05 +01:00
1 parent 39c0f7147c
commit 46646e2ace
2 files changed
+46

No files matched your search

+5
View File
@@ -35,6 +35,11 @@ rule
;
expression
: expression_members
| T_LPAREN expression_members T_RPAREN { val[1] }
;
expression_members
: node_test_as_axis
| operator
| axis