File: nested-comment.txt

package info (click to toggle)
pygments 2.18.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,184 kB
  • sloc: python: 103,327; javascript: 238; makefile: 142; sh: 84; lisp: 74
file content (49 lines) | stat: -rw-r--r-- 1,142 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---input---
/*
   Outer comment
   /*
   Inner comment
   */
   Outer comment
*/

test  ::=  SEQUENCE  {
        a   INTEGER,
        b   OCTET STRING,
        b   BIT STRING  }

---tokens---
'/*'          Comment.Multiline
'\n   Outer comment\n   ' Comment.Multiline
'/*'          Comment.Multiline
'\n   Inner comment\n   ' Comment.Multiline
'*/'          Comment.Multiline
'\n   Outer comment\n' Comment.Multiline

'*/'          Comment.Multiline
'\n\n'        Text.Whitespace

'test'        Name.Variable
'  '          Text.Whitespace
'::='         Operator
'  '          Text.Whitespace
'SEQUENCE'    Keyword.Declaration
'  '          Text.Whitespace
'{'           Punctuation
'\n        '  Text.Whitespace
'a'           Error
'   '         Text.Whitespace
'INTEGER'     Keyword.Type
','           Punctuation
'\n        '  Text.Whitespace
'b'           Error
'   '         Text.Whitespace
'OCTET STRING' Keyword.Type
','           Punctuation
'\n        '  Text.Whitespace
'b'           Error
'   '         Text.Whitespace
'BIT STRING'  Keyword.Type
'  '          Text.Whitespace
'}'           Punctuation
'\n'          Text.Whitespace