/
githubmirror
/
CS-Notes
Обзор
Документация
Войти
/
githubmirror
/
CS-Notes
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
docs/_style/prism-master/tests/languages/d/comment_feature.test
27 строк
576 B
CyC2018
use prism-tomorrow.css
19 дек 2018, 09:09
19 дек 2018, 09:09
e9e604e
Код
Авторство
О чём код?
#!/usr/bin/env rdmd /++/ /+ foo bar +/ /+ foo /+ bar +/ baz +/ // This q{is} a comment // This /* is a */ comment ---------------------------------------------------- [ ["comment", "#!/usr/bin/env rdmd"], ["comment", "/++/"], ["comment", "/+ foo\r\nbar +/"], ["comment", "/+ foo\r\n\t/+\r\n\tbar +/\r\nbaz +/"], ["comment", "// This q{is} a comment"], ["comment", "// This /* is a */ comment"] ] ---------------------------------------------------- Checks for shebang and nestable multi-line comments. Other comments are tested in clike.