File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
exist-core/src/main/antlr/org/exist/xquery/parser Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -724,7 +724,8 @@ exprSingle throws XPathException
724
724
| ( "insert" ( "node" | "nodes" ) ) => xqufInsertExpr
725
725
| ( "delete" ( "node" | "nodes" ) ) => xqufDeleteExpr
726
726
| ( "replace" ( "value" | "node" ) ) => xqufReplaceExpr
727
- | ( "copy" DOLLAR) => copyModifyExpr
727
+ | ( "rename" "node" ) => xqufRenameExpr
728
+ | ( "copy" DOLLAR ) => copyModifyExpr
728
729
| ( "invoke" "updating" ) => dynamicUpdFunCall
729
730
| orExpr
730
731
;
@@ -800,6 +801,11 @@ xqufReplaceExpr throws XPathException
800
801
"replace"^ ("value" "of"!)? "node"! exprSingle "with"! exprSingle
801
802
;
802
803
804
+ xqufRenameExpr throws XPathException
805
+ :
806
+ "rename"^ "node"! exprSingle "as"! exprSingle
807
+ ;
808
+
803
809
copyModifyExpr throws XPathException
804
810
:
805
811
"copy"^ letVarBinding ( COMMA! letVarBinding )*
You can’t perform that action at this time.
0 commit comments