Hi Bridger,
I am glad to report I have created new stub files for the BaseX XQuery Modules [1]. They’ll now be included in the official releases again [2]. I have also uploaded the script that I wrote for generating the xqdoc output [3]. It’s far from perfect, but definitely more complete than the old version. If you encounter any errors, please don’t hesitate to tell me.
Could you give us a little update on your contribution to the IntelliJ XQuery plugin?
Cheers, Christian
[1] https://github.com/BaseXdb/basex/issues/1623 [2] http://files.basex.org/releases/latest/ [3] https://github.com/BaseXdb/basex-dist/blob/master/wiki2xqdoc.xq
On Mon, Sep 17, 2018 at 5:38 PM Bridger Dyson-Smith bdysonsmith@gmail.com wrote:
Hi all -
I was curious if there was a way to extract function signatures from BaseX. I'm currently reading through the (excellent) wiki but was curious if there was a more automated process I might be able to use. I've been trying to think of something clever with function-lookup, but I can't seem to make it dynamic based on module namespace; e.g.
for $fun in function-lookup(xs:QName("archive:delete"), 1) return $fun
I may just grab the wiki and parse it :), but I'm also interested in changes between versions of the processor.
Any thoughts or suggestions would be greatly appreciated! Best, Bridger