Update of /cvsroot/monetdb/pathfinder/compiler/include
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12574/compiler/include

Modified Files:
        algebra.h builtins.h 
Log Message:
Algebra and logical implementation of the following build-in functions:
- fn:name(), fn:name(node?)
- fn:local-name(), fn:locla-name(node?)
- fn:namespace-uri(), fn:namespace-uri(node?)

These functions are 1to1 functions since they all return a string for each
node parameter.


Index: algebra.h
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/include/algebra.h,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- algebra.h   13 Dec 2007 13:08:17 -0000      1.65
+++ algebra.h   8 Jan 2008 16:54:22 -0000       1.66
@@ -308,6 +308,9 @@
     , alg_fun_fn_matches_flag     /**< fn:matches with flags */
     , alg_fun_fn_replace          /**< fn:replace */
     , alg_fun_fn_replace_flag     /**< fn:replace with flags */
+    , alg_fun_fn_name             /**< fn:name */
+    , alg_fun_fn_local_name       /**< fn:local-name */
+    , alg_fun_fn_namespace_uri    /**< fn:namespace-uri */
     , alg_fun_fn_number           /**< fn:number */
     , alg_fun_fn_qname            /**< fn:QName */
     , alg_fun_pf_fragment         /**< #pf:fragment */

Index: builtins.h
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/include/builtins.h,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- builtins.h  27 Dec 2007 13:07:14 -0000      1.41
+++ builtins.h  8 Jan 2008 16:54:22 -0000       1.42
@@ -386,10 +386,22 @@
 /* 14 FUNCTIONS AND OPERATORS ON NODES */
 /* 14.1 fn:name */
 
+struct PFla_pair_t PFbui_fn_name (const PFla_op_t *loop,
+                                  bool ordering,
+                                  struct PFla_pair_t *args);
+
 /* 14.2. fn:local-name */
 
+struct PFla_pair_t PFbui_fn_local_name (const PFla_op_t *loop,
+                                        bool ordering,
+                                        struct PFla_pair_t *args);
+
 /* 14.3. fn:namespace-uri */
 
+struct PFla_pair_t PFbui_fn_namespace_uri (const PFla_op_t *loop,
+                                           bool ordering,
+                                           struct PFla_pair_t *args);
+
 /* 14.4. fn:number */
 struct PFla_pair_t PFbui_fn_number (const PFla_op_t *loop,
                                     bool ordering,


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to