File: comment-section-header.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 (20 lines) | stat: -rw-r--r-- 552 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---input---
[example] # A comment can appear on the same line as a section header
foo = "bar"

---tokens---
'['           Keyword
'example'     Keyword
']'           Keyword
' '           Text.Whitespace
'# A comment can appear on the same line as a section header' Comment.Single
'\n'          Text.Whitespace

'foo'         Name
' '           Text.Whitespace
'='           Operator
' '           Text.Whitespace
'"'           Literal.String.Double
'bar'         Literal.String.Double
'"'           Literal.String.Double
'\n'          Text.Whitespace