tests/snippets/toml/comment-section-header.txt
raw| 1 | ---input--- |
| 2 | [example] # A comment can appear on the same line as a section header |
| 3 | foo = "bar" |
| 4 | |
| 5 | ---tokens--- |
| 6 | '[' Keyword |
| 7 | 'example' Keyword |
| 8 | ']' Keyword |
| 9 | ' ' Text.Whitespace |
| 10 | '# A comment can appear on the same line as a section header' Comment.Single |
| 11 | '\n' Text.Whitespace |
| 12 | |
| 13 | 'foo' Name |
| 14 | ' ' Text.Whitespace |
| 15 | '=' Operator |
| 16 | ' ' Text.Whitespace |
| 17 | '"' Literal.String.Double |
| 18 | 'bar' Literal.String.Double |
| 19 | '"' Literal.String.Double |
| 20 | '\n' Text.Whitespace |