#8 extension functions with defered argument evaluation

open
nobody
None
5
2012-10-08
2004-11-11
No

Michael, this is the patch that implements defered
argument evaluation in extension functions (the "special
form" stuff that I brought up in connection with my
closure function -- but without any of the closure
business.)

The patch is straight-forward and I ask you to pretty
please adopt this feature into your code.

On the user end it works by sending argument
Expressions unevaluated to any formal argument of type
Expression. This requires that the first argument is
XPathContext. Mixed argument lists are possible.
Expression arguments have highest preference for the
argument conversion.

I will follow up with a variable length argument list
handler, that would match all remaining actual
arguments to a final formal argument of type Expression
[].

thanks,
-Gunther

Discussion

  • Gunther Schadow

    Gunther Schadow - 2004-11-11

    Logged In: YES
    user_id=575520

    BTW: this is against saxon-8.1.1 of course

     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks