Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Pygments / tests / snippets / crystal / test_pseudo_keywords.txt
Size: Mime:
---input---
def f(x : T, line = __LINE__) forall T
if x.is_a?(String)
pp! x
end
end

---tokens---
'def'         Keyword
' '           Text.Whitespace
'f'           Name.Function
'('           Punctuation
'x'           Name
' '           Text.Whitespace
':'           Punctuation
' '           Text.Whitespace
'T'           Name
','           Punctuation
' '           Text.Whitespace
'line'        Name
' '           Text.Whitespace
'='           Operator
' '           Text.Whitespace
'__LINE__'    Keyword.Pseudo
')'           Punctuation
' '           Text.Whitespace
'forall'      Keyword.Pseudo
' '           Text.Whitespace
'T'           Name
'\n'          Text.Whitespace

'if'          Keyword
' '           Text.Whitespace
'x'           Name
'.is_a?'      Keyword.Pseudo
'('           Punctuation
'String'      Name
')'           Punctuation
'\n'          Text.Whitespace

'pp!'         Name.Builtin.Pseudo
' '           Text.Whitespace
'x'           Name
'\n'          Text.Whitespace

'end'         Keyword
'\n'          Text.Whitespace

'end'         Keyword
'\n'          Text.Whitespace