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:
1 parent
39c0f7147c
commit
46646e2ace
2 files changed
+46
No files matched your search
@@ -35,6 +35,11 @@ rule
|
||||
;
|
||||
|
||||
expression
|
||||
: expression_members
|
||||
| T_LPAREN expression_members T_RPAREN { val[1] }
|
||||
;
|
||||
|
||||
expression_members
|
||||
: node_test_as_axis
|
||||
| operator
|
||||
| axis
|
||||
|
||||
Reference in new issue
Block a user