Changes

Jump to navigation Jump to search
741 bytes added ,  23:30, 7 March 2016
no edit summary
==inspect:function-annotations==
 
{{Mark|Introduced with Version 8.5}}
{| width='100%'
</pre>
|}
 
==inspect:static-context==
 
{{Mark|Introduced with Version 8.5}}
 
{| width='100%'
|-
| width='120' | '''Signatures'''
|{{Func|inspect:static-context|$function as function(*)?, $name as |map(xs:QName, xs:anyAtomicType*)}}<br/>
|-
| '''Summary'''
|Returns the annotations of the specified {{Code|$function}} in a map.
|-
| '''Examples'''
|
* Returns an empty map:
<pre class="brush:xquery">
inspect:function-annotations(true#0)
</pre>
* Returns a map with a single key <code><nowiki>Q{http://www.w3.org/2012/xquery}private</nowiki></code> and an empty sequence as value:
<pre class="brush:xquery">
declare %private function local:f() { 'well hidden' };
inspect:function-annotations(local:f#0)
</pre>
|}
 
=Documentation=
Bureaucrats, editor, reviewer, Administrators
12,953

edits

Navigation menu