File: test_binary_literal_positive_matches.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 (15 lines) | stat: -rw-r--r-- 355 bytes parent folder | download
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