Update of /cvsroot/monetdb/pathfinder/compiler/semantics
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv18184/compiler/semantics
Modified Files:
Tag: xquery-decomposition
xquery_fo.c
Log Message:
check in unfinished code just in case...
- added a new built-in function pf:projected-put, which project a
document and serialize it on desk
- done: projection function
- todo: serialize projected document
Index: xquery_fo.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/semantics/xquery_fo.c,v
retrieving revision 1.149.2.2
retrieving revision 1.149.2.3
diff -u -d -r1.149.2.2 -r1.149.2.3
--- xquery_fo.c 16 Feb 2008 01:02:18 -0000 1.149.2.2
+++ xquery_fo.c 20 Feb 2008 22:45:05 -0000 1.149.2.3
@@ -1842,6 +1842,13 @@
.arity = 2, .sig_count = 1, .sigs = { {
.par_ty = (PFty_t[]) { PFty_xs_anyNode (), PFty_xs_string () },
.ret_ty = PFty_stmt () } } }
+ , /* fn:projected-put (used, returned, string) as none */
+ { .ns = PFns_lib, .loc = "projected-put",
+ .arity = 3, .sig_count = 1, .sigs = { {
+ .par_ty = (PFty_t[]) { PFty_star( PFty_xs_anyNode ()),
+ PFty_star( PFty_xs_anyNode ()),
+ PFty_xs_string () },
+ .ret_ty = PFty_stmt () } } }
, /* pf:documents () as element()* */
{ .ns = PFns_lib, .loc = "documents",
.arity = 0, .sig_count = 1, .sigs = { {
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins