File: test_binary_literal_positive_matches.txt

package info (click to toggle)
pygments 2.19.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,668 kB
  • sloc: python: 105,287; javascript: 238; makefile: 142; sh: 84; lisp: 74
file content (15 lines) | stat: -rw-r--r-- 355 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---input---
// Test literals that should be tokenized as binary literals.
0b01
0B10n

---tokens---
''            Text
'// Test literals that should be tokenized as binary literals.' Comment.Single
'\n'          Text.Whitespace

'0b01'        Literal.Number.Bin
'\n'          Text.Whitespace

'0B10n'       Literal.Number.Bin
'\n'          Text.Whitespace