/
githubmirror
/
CS-Notes
Обзор
Документация
Войти
/
githubmirror
/
CS-Notes
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
docs/_style/prism-master/tests/languages/xquery/function_feature.test
43 строки
1 KB
CyC2018
use prism-tomorrow.css
19 дек 2018, 09:09
19 дек 2018, 09:09
e9e604e
Код
Авторство
О чём код?
doc("catalog.xml") generate-id($prod) xs:QName("strings:trim") declare function prod:countProds ($prods as element(product)*) as xs:string false() ---------------------------------------------------- [ ["function", "doc"], ["punctuation", "("], ["string", "\"catalog.xml\""], ["punctuation", ")"], ["function", "generate-id"], ["punctuation", "("], ["variable", "$prod"], ["punctuation", ")"], ["function", "xs:QName"], ["punctuation", "("], ["string", "\"strings:trim\""], ["punctuation", ")"], ["keyword", "declare"], ["keyword", "function"], ["function", "prod:countProds"], ["punctuation", "("], ["variable", "$prods"], ["keyword", "as"], ["function", "element"], ["punctuation", "("], "product", ["punctuation", ")"], ["operator", "*"], ["punctuation", ")"], ["keyword", "as"], ["builtin", "xs:string"], ["function", "false"], ["punctuation", "("], ["punctuation", ")"] ] ---------------------------------------------------- Checks for functions.