Debian Codegraph @

tests/snippets/powershell/test_colon_punctuation.txt

raw
1 ---input---
2 $message = (Test-Path C:\) ? "Path exists" : "Path not found"
3 [math]::pi
4
5 ---tokens---
6 '$message' Name.Variable
7 ' ' Text
8 '=' Punctuation
9 ' ' Text
10 '(' Punctuation
11 'Test-Path' Name.Builtin
12 ' ' Text
13 'C' Name
14 ':' Punctuation
15 '\\' Punctuation
16 ')' Punctuation
17 ' ' Text
18 '?' Punctuation
19 ' ' Text
20 '"' Literal.String.Double
21 'Path exists' Literal.String.Double
22 '"' Literal.String.Double
23 ' ' Text
24 ':' Punctuation
25 ' ' Text
26 '"' Literal.String.Double
27 'Path not found' Literal.String.Double
28 '"' Literal.String.Double
29 '\n' Text
30
31 '[math]' Name.Constant
32 ':' Punctuation
33 ':' Punctuation
34 'pi' Name
35 '\n' Text