<pre class="brush:xquery">
inspect:context()/function ! function-lookup(QName(@uri, @name), 0) ! .()
</pre>
Return the names of all private functions in the current context:
<pre class="brush:xquery">
for $f in inspect:context()/function
where $f/annotation/@name = 'private'
return $f/@name/string()
</pre>
|}