Debian Codegraph @

tests/snippets/asn1/nested-comment.txt

raw
1 ---input---
2 /*
3 Outer comment
4 /*
5 Inner comment
6 */
7 Outer comment
8 */
9
10 test ::= SEQUENCE {
11 a INTEGER,
12 b OCTET STRING,
13 b BIT STRING }
14
15 ---tokens---
16 '/*' Comment.Multiline
17 '\n Outer comment\n ' Comment.Multiline
18 '/*' Comment.Multiline
19 '\n Inner comment\n ' Comment.Multiline
20 '*/' Comment.Multiline
21 '\n Outer comment\n' Comment.Multiline
22
23 '*/' Comment.Multiline
24 '\n\n' Text.Whitespace
25
26 'test' Name.Variable
27 ' ' Text.Whitespace
28 '::=' Operator
29 ' ' Text.Whitespace
30 'SEQUENCE' Keyword.Declaration
31 ' ' Text.Whitespace
32 '{' Punctuation
33 '\n ' Text.Whitespace
34 'a' Error
35 ' ' Text.Whitespace
36 'INTEGER' Keyword.Type
37 ',' Punctuation
38 '\n ' Text.Whitespace
39 'b' Error
40 ' ' Text.Whitespace
41 'OCTET STRING' Keyword.Type
42 ',' Punctuation
43 '\n ' Text.Whitespace
44 'b' Error
45 ' ' Text.Whitespace
46 'BIT STRING' Keyword.Type
47 ' ' Text.Whitespace
48 '}' Punctuation
49 '\n' Text.Whitespace