/
githubmirror
/
CS-Notes
Обзор
Документация
Войти
/
githubmirror
/
CS-Notes
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
docs/_style/prism-master/tests/languages/swift/string_feature.test
47 строк
882 B
CyC2018
use prism-tomorrow.css
19 дек 2018, 09:09
19 дек 2018, 09:09
e9e604e
Код
Авторство
О чём код?
"" "fo\"o" "foo\ bar" "foo \(42)" "foo \(f("bar"))" "foo /* comment */ bar" 'foo // bar' "foo\ /* comment */\ bar" ---------------------------------------------------- [ ["string", ["\"\""]], ["string", ["\"fo\\\"o\""]], ["string", ["\"foo\\\r\nbar\""]], ["string", [ "\"foo ", ["interpolation", [ ["delimiter", "\\("], ["number", "42"], ["delimiter", ")"] ]], "\"" ]], ["string", [ "\"foo ", ["interpolation", [ ["delimiter", "\\("], ["function", "f"], ["punctuation", "("], ["string", ["\"bar\""]], ["punctuation", ")"], ["delimiter", ")"] ]], "\"" ]], ["string", ["\"foo /* comment */ bar\""]], ["string", ["'foo // bar'"]], ["string", ["\"foo\\\r\n/* comment */\\\r\nbar\""]] ] ---------------------------------------------------- Checks for strings and string interpolation.