[mod] tidy
This commit is contained in:
parent
b0e18a87ac
commit
529b57d628
8 changed files with 19 additions and 29 deletions
|
|
@ -5,7 +5,7 @@ import module namespace hnd="lsp/handlers" at "../handlers.xqm";
|
|||
import module namespace lspt = 'lsp-typedefs' at "../lsp-typedefs.xqm";
|
||||
|
||||
declare function syms:list($parse as element(),$syms as lspt:DocumentSymbol* :=() )
|
||||
{
|
||||
as lspt:DocumentSymbol*{
|
||||
let $actions as hnd:actionMap :={
|
||||
"ContextValueDecl": syms:action#2,
|
||||
"VarDecl": syms:VarDecl#2,
|
||||
|
|
@ -18,6 +18,7 @@ declare function syms:list($parse as element(),$syms as lspt:DocumentSymbol* :=(
|
|||
return $result?result
|
||||
};
|
||||
|
||||
(:~ just trace :)
|
||||
declare function syms:action($parse as element(),$state as hnd:Result )
|
||||
as hnd:Result{
|
||||
hnd:Result($state?result,true()) ,message(name($parse),"ACTION: ")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue