This repository has been archived on 2024-06-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
coffee.pygments/tests/snippets/powershell/test_colon_punctuation.txt
2021-03-28 12:25:56 +02:00

35 lines
845 B
Text

---input---
$message = (Test-Path C:\) ? "Path exists" : "Path not found"
[math]::pi
---tokens---
'$message' Name.Variable
' ' Text
'=' Punctuation
' ' Text
'(' Punctuation
'Test-Path' Name.Builtin
' ' Text
'C' Name
':' Punctuation
'\\' Punctuation
')' Punctuation
' ' Text
'?' Punctuation
' ' Text
'"' Literal.String.Double
'Path exists' Literal.String.Double
'"' Literal.String.Double
' ' Text
':' Punctuation
' ' Text
'"' Literal.String.Double
'Path not found' Literal.String.Double
'"' Literal.String.Double
'\n' Text
'[math]' Name.Constant
':' Punctuation
':' Punctuation
'pi' Name
'\n' Text