/
githubmirror
/
CS-Notes
Обзор
Документация
Войти
/
githubmirror
/
CS-Notes
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
docs/_style/prism-master/tests/languages/markup+actionscript/xml_feature.test
64 строки
1 KB
CyC2018
use prism-tomorrow.css
19 дек 2018, 09:09
19 дек 2018, 09:09
e9e604e
Код
Авторство
О чём код?
var employees:XML = <employees> <employee ssn="123-123-1234"></employee> </employees>; ---------------------------------------------------- [ ["keyword", "var"], " employees", ["punctuation", ":"], ["constant", "XML"], ["operator", "="], ["xml", [ ["tag", [ ["tag", [ ["punctuation", "<"], "employees" ]], ["punctuation", ">"] ]] ]], ["xml", [ ["tag", [ ["tag", [ ["punctuation", "<"], "employee" ]], ["attr-name", [ "ssn" ]], ["attr-value", [ ["punctuation", "="], ["punctuation", "\""], "123-123-1234", ["punctuation", "\""] ]], ["punctuation", ">"] ]] ]], ["xml", [ ["tag", [ ["tag", [ ["punctuation", "</"], "employee" ]], ["punctuation", ">"] ]] ]], ["xml", [ ["tag", [ ["tag", [ ["punctuation", "</"], "employees" ]], ["punctuation", ">"] ]] ]], ["punctuation", ";"] ] ---------------------------------------------------- Checks for XML variables in ActionScript.