Debian Codegraph @

tests/languages/nand2tetris-hdl/comment_feature.test

raw
1 // foobar
2 /**/
3 /* foo
4 bar */
5 /*
6 * foobar
7 */
8
9 ----------------------------------------------------
10
11 [
12 ["comment", "// foobar"],
13 ["comment", "/**/"],
14 ["comment", "/* foo\r\nbar */"],
15 ["comment", "/*\r\n * foobar\r\n */"]
16 ]
17
18 ----------------------------------------------------
19
20 Checks for single-line and multi-line comments.