File: test_nested_curly.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 (18 lines) | stat: -rw-r--r-- 463 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---input---
{templateFunction param={anotherFunction} param2=$something}

---tokens---
'{'           Comment.Preproc
'templateFunction' Name.Function
' '           Text
'param'       Name.Attribute
'='           Operator
'{'           Comment.Preproc
'anotherFunction' Name.Attribute
'}'           Comment.Preproc
' '           Text
'param2'      Name.Attribute
'='           Operator
'$something'  Name.Variable
'}'           Comment.Preproc
'\n'          Other