Browse Source

idl-api: formatting

main
heck 2 years ago
parent
commit
0b1fa7016a
  1. 16
      idl/idl_api.ysl2

16
idl/idl_api.ysl2

@ -2,18 +2,18 @@
// stdlib candidates // stdlib candidates
// ---------------------------------------------------------------------- // ----------------------------------------------------------------------
def "func:autocomma" { def "func:autocomma" {
result if "position()!=last()" > , result if "position()!=last()" > ,
} }
def "func:exists" { def "func:exists" {
param "xpath"; param "xpath";
choose { choose {
when "$xpath" when "$xpath"
result "true()"; result "true()";
otherwise otherwise
result "false()"; result "false()";
} }
} }
// ---------------------------------------------------------------------- // ----------------------------------------------------------------------

Loading…
Cancel
Save