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/examplefiles/monkey/example.monkey.output
Sebastian Engel 7c358cd5e6
Whitespace token modernization - [bc] lexers - regarding #1905 (#1923)
* Modernize Whitespace token: basic lexer

* Modernize Whitespace token: bibtex lexer

* Modernize Whitespace token: boa lexer

* Modernize Whitespace token: capnproto lexer + new example

* Modernize Whitespace token: cddl lexer

* Modernize Whitespace token: chapel lexer

* Modernize Whitespace token: c_like lexer

* Modernize Whitespace token: configs lexer

* Modernize Whitespace token: console lexer

* Modernize Whitespace token: crystal lexer

* Modernize Whitespace token: csound lexer

* Modernize Whitespace token: css lexer

* Revert a change in basic lexer
2021-10-23 13:04:56 +02:00

829 lines
22 KiB
Text
Generated

'Strict\n' Keyword.Reserved
'\n' Text.Whitespace
"' single line comment" Comment
'\n\n' Text.Whitespace
'#rem' Comment.Multiline
'\n' Comment.Multiline
'multi' Comment.Multiline
'\n' Comment.Multiline
'line' Comment.Multiline
'\n' Comment.Multiline
'comment' Comment.Multiline
'\n' Comment.Multiline
'#end' Comment.Multiline
'\n\n' Text.Whitespace
'#rem' Comment.Multiline
'\n' Comment.Multiline
'nested' Comment.Multiline
'\n' Comment.Multiline
'#rem' Comment.Multiline
'\n' Comment.Multiline
'multi' Comment.Multiline
'\n' Comment.Multiline
'line' Comment.Multiline
'\n' Comment.Multiline
'#end' Comment.Multiline
'\n' Comment.Multiline
'comment' Comment.Multiline
'\n' Comment.Multiline
'#end' Comment.Multiline
'\n\n' Text.Whitespace
'Import' Keyword.Namespace
' ' Text.Whitespace
'mojo' Name.Namespace
'\n' Text.Whitespace
'\n' Text.Whitespace
'Const' Keyword.Declaration
' ' Text.Whitespace
'ONECONST' Name.Constant
':' Punctuation
'Int' Keyword.Type
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'1' Literal.Number.Integer
'\n' Text.Whitespace
'Const' Keyword.Declaration
' ' Text.Whitespace
'TWOCONST' Name.Constant
' ' Text.Whitespace
':' Punctuation
'=' Operator
' ' Text.Whitespace
'2' Literal.Number.Integer
'\n' Text.Whitespace
'Const' Keyword.Declaration
' ' Text.Whitespace
'THREECONST' Name.Constant
' ' Text.Whitespace
':' Punctuation
'=' Operator
' ' Text.Whitespace
'3' Literal.Number.Integer
',' Punctuation
' ' Text.Whitespace
'FOURCONST' Name.Constant
':' Punctuation
'Int' Keyword.Type
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'4' Literal.Number.Integer
'\n\n' Text.Whitespace
'Global' Keyword.Declaration
' ' Text.Whitespace
'someVariable' Name.Variable
':' Punctuation
'Int' Keyword.Type
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'4' Literal.Number.Integer
'\n\n' Text.Whitespace
"' sample class from the documentation" Comment
'\n' Text.Whitespace
'Class' Keyword.Reserved
' ' Text.Whitespace
'Game' Name.Class
' ' Text.Whitespace
'Extends' Keyword.Reserved
' ' Text.Whitespace
'App' Name.Class
'\n\n ' Text.Whitespace
'Function' Keyword.Reserved
' ' Text.Whitespace
'New' Name.Function
'(' Punctuation
')' Punctuation
'\n ' Text.Whitespace
'End' Keyword.Reserved
'\n\n ' Text.Whitespace
'Function' Keyword.Reserved
' ' Text.Whitespace
'DrawSpiral' Name.Function
'(' Punctuation
'clock' Name.Variable
')' Punctuation
'\n ' Text.Whitespace
'Local' Keyword.Declaration
' ' Text.Whitespace
'w' Name.Variable
'=' Operator
'DeviceWidth' Name.Function
'/' Operator
'2' Literal.Number.Integer
'\n ' Text.Whitespace
'For' Keyword.Reserved
' ' Text.Whitespace
'Local' Keyword.Declaration
' ' Text.Whitespace
'i' Name.Variable
'#' Keyword.Type
'=' Operator
'0' Literal.Number.Integer
' ' Text.Whitespace
'Until' Keyword.Reserved
' ' Text.Whitespace
'w' Name.Variable
'*' Operator
'1.5' Literal.Number.Float
' ' Text.Whitespace
'Step' Keyword.Reserved
' ' Text.Whitespace
'.2' Literal.Number.Float
'\n ' Text.Whitespace
'Local' Keyword.Declaration
' ' Text.Whitespace
'x' Name.Variable
'#' Keyword.Type
',' Punctuation
'y' Name.Variable
'#' Keyword.Type
'\n ' Text.Whitespace
'x' Name.Variable
'=' Operator
'w' Name.Variable
'+' Operator
'i' Name.Variable
'*' Operator
'Sin' Name.Function
'(' Punctuation
'i' Name.Variable
'*' Operator
'3' Literal.Number.Integer
'+' Operator
'clock' Name.Variable
')' Punctuation
'\n ' Text.Whitespace
'y' Name.Variable
'=' Operator
'w' Name.Variable
'+' Operator
'i' Name.Variable
'*' Operator
'Cos' Name.Function
'(' Punctuation
'i' Name.Variable
'*' Operator
'2' Literal.Number.Integer
'+' Operator
'clock' Name.Variable
')' Punctuation
'\n ' Text.Whitespace
'DrawRect' Name.Function
' ' Text.Whitespace
'x' Name.Variable
',' Punctuation
'y' Name.Variable
',' Punctuation
'1' Literal.Number.Integer
',' Punctuation
'1' Literal.Number.Integer
'\n ' Text.Whitespace
'Next' Keyword.Reserved
'\n ' Text.Whitespace
'hitbox' Name.Variable
'.' Punctuation
'Collide' Name.Function
'(' Punctuation
'event' Name.Variable
'.' Punctuation
'pos' Name.Variable
')' Punctuation
'\n ' Text.Whitespace
'End' Keyword.Reserved
'\n\n ' Text.Whitespace
'Field' Keyword.Declaration
' ' Text.Whitespace
'updateCount' Name.Variable
'\n\n ' Text.Whitespace
'Method' Keyword.Reserved
' ' Text.Whitespace
'OnCreate' Name.Function
'(' Punctuation
')' Punctuation
'\n ' Text.Whitespace
'Print' Name.Function
' ' Text.Whitespace
'"' Literal.String.Double
'spiral' Literal.String.Double
'"' Literal.String.Double
'\n\n ' Text.Whitespace
'SetUpdateRate' Name.Function
' ' Text.Whitespace
'60' Literal.Number.Integer
'\n ' Text.Whitespace
'End' Keyword.Reserved
'\n\n ' Text.Whitespace
'Method' Keyword.Reserved
' ' Text.Whitespace
'OnUpdate' Name.Function
'(' Punctuation
')' Punctuation
'\n ' Text.Whitespace
'updateCount' Name.Variable
'+=' Operator
'1' Literal.Number.Integer
'\n ' Text.Whitespace
'End' Keyword.Reserved
'\n\n ' Text.Whitespace
'Method' Keyword.Reserved
' ' Text.Whitespace
'OnRender' Name.Function
'(' Punctuation
')' Punctuation
'\n ' Text.Whitespace
'Cls' Name.Function
'\n ' Text.Whitespace
'DrawSpiral' Name.Function
' ' Text.Whitespace
'updateCount' Name.Variable
'\n ' Text.Whitespace
'DrawSpiral' Name.Function
' ' Text.Whitespace
'updateCount' Name.Variable
'*' Operator
'1.1' Literal.Number.Float
'\n ' Text.Whitespace
'End' Keyword.Reserved
'\n\n' Text.Whitespace
'End' Keyword.Reserved
'\n\n' Text.Whitespace
'Class' Keyword.Reserved
' ' Text.Whitespace
'Enemy' Name.Class
'\n ' Text.Whitespace
'Method' Keyword.Reserved
' ' Text.Whitespace
'Die' Name.Function
' ' Text.Whitespace
'(' Punctuation
')' Punctuation
' ' Text.Whitespace
'Abstract' Keyword.Reserved
'\n' Text.Whitespace
'End' Keyword.Reserved
'\n\n' Text.Whitespace
"' extending" Comment
'\n' Text.Whitespace
'Class' Keyword.Reserved
' ' Text.Whitespace
'Hoodlum' Name.Class
' ' Text.Whitespace
'Extends' Keyword.Reserved
' ' Text.Whitespace
'Enemy' Name.Class
'\n ' Text.Whitespace
"' field" Comment
'\n ' Text.Whitespace
'Field' Keyword.Declaration
' ' Text.Whitespace
'testField' Name.Variable
':' Punctuation
'Bool' Keyword.Type
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'True' Name.Builtin
'\n\n ' Text.Whitespace
"' naming class with modulepath" Comment
'\n ' Text.Whitespace
'Local' Keyword.Declaration
' ' Text.Whitespace
'currentNode' Name.Variable
':' Punctuation
'list.' Name.Namespace
'Node' Name.Class
'<' Punctuation
'Vector2D' Name.Class
'>' Punctuation
'\n\n ' Text.Whitespace
'Method' Keyword.Reserved
' ' Text.Whitespace
'Die' Name.Function
' ' Text.Whitespace
'(' Punctuation
')' Punctuation
'\n ' Text.Whitespace
'Print' Name.Function
' ' Text.Whitespace
'"' Literal.String.Double
"B'oss, he-- he killed me, b'oss!" Literal.String.Double
'"' Literal.String.Double
'\n ' Text.Whitespace
'End' Keyword.Reserved
'\n' Text.Whitespace
'End' Keyword.Reserved
'\n\n' Text.Whitespace
"' extending with generics" Comment
'\n' Text.Whitespace
'Class' Keyword.Reserved
' ' Text.Whitespace
'VectorNode' Name.Class
' ' Text.Whitespace
'Extends' Keyword.Reserved
' ' Text.Whitespace
'Node' Name.Class
'<' Punctuation
'Vector2D' Name.Class
'>' Punctuation
'\n' Text.Whitespace
'End' Keyword.Reserved
'\n\n' Text.Whitespace
"' interfaces" Comment
'\n' Text.Whitespace
'Interface' Keyword.Reserved
' ' Text.Whitespace
'Computer' Name.Class
'\n ' Text.Whitespace
'Method' Keyword.Reserved
' ' Text.Whitespace
'Boot' Name.Function
' ' Text.Whitespace
'(' Punctuation
')' Punctuation
'\n ' Text.Whitespace
'Method' Keyword.Reserved
' ' Text.Whitespace
'Process' Name.Function
' ' Text.Whitespace
'(' Punctuation
')' Punctuation
'\n ' Text.Whitespace
'Method' Keyword.Reserved
' ' Text.Whitespace
'Display' Name.Function
' ' Text.Whitespace
'(' Punctuation
')' Punctuation
'\n' Text.Whitespace
'End' Keyword.Reserved
'\n\n' Text.Whitespace
'Class' Keyword.Reserved
' ' Text.Whitespace
'PC' Name.Class
' ' Text.Whitespace
'Implements' Keyword.Reserved
' ' Text.Whitespace
'Computer' Name.Class
'\n' Text.Whitespace
'End' Keyword.Reserved
'\n\n' Text.Whitespace
"' array syntax" Comment
'\n' Text.Whitespace
'Global' Keyword.Declaration
' ' Text.Whitespace
'listOfStuff' Name.Variable
':' Punctuation
'String' Keyword.Type
'[' Punctuation
'42' Literal.Number.Integer
']' Punctuation
'\n' Text.Whitespace
'Global' Keyword.Declaration
' ' Text.Whitespace
'lessStuff' Name.Variable
':' Punctuation
'String' Keyword.Type
'[' Punctuation
'5' Literal.Number.Integer
']' Punctuation
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'listOfStuff' Name.Variable
'[' Punctuation
'4' Literal.Number.Integer
'.' Punctuation
'.8' Literal.Number.Float
']' Punctuation
'\n' Text.Whitespace
'Global' Keyword.Declaration
' ' Text.Whitespace
'oneStuff' Name.Variable
':' Punctuation
'String' Keyword.Type
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'listOfStuff' Name.Variable
'[' Punctuation
'23' Literal.Number.Integer
']' Punctuation
'\n\n' Text.Whitespace
"'a comma separated sequence" Comment
'\n' Text.Whitespace
'Global' Keyword.Declaration
' ' Text.Whitespace
'scores' Name.Variable
':' Punctuation
'Int' Keyword.Type
'[' Punctuation
']' Punctuation
'=' Operator
'[' Punctuation
'10' Literal.Number.Integer
',' Punctuation
'20' Literal.Number.Integer
',' Punctuation
'30' Literal.Number.Integer
']' Punctuation
'\n' Text.Whitespace
"'a comma separated sequence" Comment
'\n' Text.Whitespace
'Global' Keyword.Declaration
' ' Text.Whitespace
'text' Name.Variable
':' Punctuation
'String' Keyword.Type
'[' Punctuation
']' Punctuation
'=' Operator
'[' Punctuation
'"' Literal.String.Double
'Hello' Literal.String.Double
'"' Literal.String.Double
',' Punctuation
'"' Literal.String.Double
'There' Literal.String.Double
'"' Literal.String.Double
',' Punctuation
'"' Literal.String.Double
'World' Literal.String.Double
'"' Literal.String.Double
']' Punctuation
'\n' Text.Whitespace
'Global' Keyword.Declaration
' ' Text.Whitespace
'worstCase' Name.Variable
':' Punctuation
'worst.' Name.Namespace
'List' Name.Class
'<' Punctuation
'String' Keyword.Type
'[' Punctuation
']' Punctuation
'>' Punctuation
'\n\n' Text.Whitespace
"' string type" Comment
'\n' Text.Whitespace
'Global' Keyword.Declaration
' ' Text.Whitespace
'string1' Name.Variable
':' Punctuation
'String' Keyword.Type
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'"' Literal.String.Double
'Hello world' Literal.String.Double
'"' Literal.String.Double
'\n' Text.Whitespace
'Global' Keyword.Declaration
' ' Text.Whitespace
'string2' Name.Variable
'$' Keyword.Type
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'"' Literal.String.Double
'Hello world' Literal.String.Double
'"' Literal.String.Double
'\n\n' Text.Whitespace
"' escape characers in strings" Comment
'\n' Text.Whitespace
'Global' Keyword.Declaration
' ' Text.Whitespace
'string3' Name.Variable
' ' Text.Whitespace
':' Punctuation
'=' Operator
' ' Text.Whitespace
'"' Literal.String.Double
'Hello' Literal.String.Double
'~z' Literal.String.Escape
'World' Literal.String.Double
'"' Literal.String.Double
'\n' Text.Whitespace
'Global' Keyword.Declaration
' ' Text.Whitespace
'string4' Name.Variable
' ' Text.Whitespace
':' Punctuation
'=' Operator
' ' Text.Whitespace
'"' Literal.String.Double
'~q' Literal.String.Escape
'Hello World' Literal.String.Double
'~q' Literal.String.Escape
'"' Literal.String.Double
'\n' Text.Whitespace
'Global' Keyword.Declaration
' ' Text.Whitespace
'string5' Name.Variable
' ' Text.Whitespace
':' Punctuation
'=' Operator
' ' Text.Whitespace
'"' Literal.String.Double
'~t' Literal.String.Escape
'Indented' Literal.String.Double
'~n' Literal.String.Escape
'"' Literal.String.Double
'\n' Text.Whitespace
'Global' Keyword.Declaration
' ' Text.Whitespace
'string6' Name.Variable
' ' Text.Whitespace
':' Punctuation
'=' Operator
' ' Text.Whitespace
'"' Literal.String.Double
'tilda is wavey... ' Literal.String.Double
'~~' Literal.String.Escape
'"' Literal.String.Double
'\n\n' Text.Whitespace
"' string pseudofunctions" Comment
'\n' Text.Whitespace
'Print' Name.Function
' ' Text.Whitespace
'"' Literal.String.Double
' Hello World ' Literal.String.Double
'~n' Literal.String.Escape
'"' Literal.String.Double
'.' Punctuation
'Trim' Name.Function
'(' Punctuation
')' Punctuation
' ' Text.Whitespace
'\' prints "Hello World"' Comment
'\n' Text.Whitespace
'Print' Name.Function
' ' Text.Whitespace
'"' Literal.String.Double
'Hello World' Literal.String.Double
'"' Literal.String.Double
'.' Punctuation
'ToUpper' Name.Function
'(' Punctuation
')' Punctuation
' ' Text.Whitespace
'\' prints "HELLO WORLD"' Comment
'\n\n' Text.Whitespace
"' Boolean shorttype" Comment
'\n' Text.Whitespace
'Global' Keyword.Declaration
' ' Text.Whitespace
'boolVariable1' Name.Variable
':' Punctuation
'Bool' Keyword.Type
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'True' Name.Builtin
'\n' Text.Whitespace
'Global' Keyword.Declaration
' ' Text.Whitespace
'boolVariable2' Name.Variable
'?' Keyword.Type
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'False' Name.Builtin
'\n\n' Text.Whitespace
"' number formats" Comment
'\n' Text.Whitespace
'Global' Keyword.Declaration
' ' Text.Whitespace
'hexNum1' Name.Variable
':' Punctuation
'Int' Keyword.Type
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'$3d0dead' Literal.Number.Hex
'\n' Text.Whitespace
'Global' Keyword.Declaration
' ' Text.Whitespace
'hexNum2' Name.Variable
'%' Keyword.Type
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'$CAFEBABE' Literal.Number.Hex
'\n\n' Text.Whitespace
'Global' Keyword.Declaration
' ' Text.Whitespace
'floatNum1' Name.Variable
':' Punctuation
'Float' Keyword.Type
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'3.141516' Literal.Number.Float
'\n' Text.Whitespace
'Global' Keyword.Declaration
' ' Text.Whitespace
'floatNum2' Name.Variable
'#' Keyword.Type
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'3.141516' Literal.Number.Float
'\n' Text.Whitespace
'Global' Keyword.Declaration
' ' Text.Whitespace
'floatNum3' Name.Variable
' ' Text.Whitespace
':' Punctuation
'=' Operator
' ' Text.Whitespace
'.141516' Literal.Number.Float
'\n\n' Text.Whitespace
"' preprocessor keywords" Comment
'\n' Text.Whitespace
'#If' Comment.Preproc
' ' Text.Whitespace
'TARGET' Name.Constant
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'"' Literal.String.Double
'android' Literal.String.Double
'"' Literal.String.Double
'\n' Text.Whitespace
'DoStuff' Name.Function
'(' Punctuation
')' Punctuation
'\n' Text.Whitespace
'#ElseIf' Comment.Preproc
' ' Text.Whitespace
'TARGET' Name.Constant
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'"' Literal.String.Double
'ios' Literal.String.Double
'"' Literal.String.Double
'\n' Text.Whitespace
'DoOtherStuff' Name.Function
'(' Punctuation
')' Punctuation
'\n' Text.Whitespace
'#End' Comment.Preproc
'\n\n' Text.Whitespace
"' preprocessor variable" Comment
'\n' Text.Whitespace
'#' Comment.Preproc
'SOMETHING' Name.Constant
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'True' Name.Builtin
'\n' Text.Whitespace
'#Print' Comment.Preproc
' ' Text.Whitespace
'SOMETHING' Name.Constant
'\n' Text.Whitespace
'#If' Comment.Preproc
' ' Text.Whitespace
'SOMETHING' Name.Constant
'\n' Text.Whitespace
'#End' Comment.Preproc
'\n\n' Text.Whitespace
"' operators" Comment
'\n' Text.Whitespace
'Global' Keyword.Declaration
' ' Text.Whitespace
'a' Name.Variable
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'32' Literal.Number.Integer
'\n' Text.Whitespace
'Global' Keyword.Declaration
' ' Text.Whitespace
'b' Name.Variable
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'32' Literal.Number.Integer
' ' Text.Whitespace
'~' Operator
' ' Text.Whitespace
'0' Literal.Number.Integer
'\n' Text.Whitespace
'b' Name.Variable
' ' Text.Whitespace
'~=' Operator
' ' Text.Whitespace
'16' Literal.Number.Integer
'\n' Text.Whitespace
'b' Name.Variable
' ' Text.Whitespace
'|=' Operator
' ' Text.Whitespace
'16' Literal.Number.Integer
'\n' Text.Whitespace
'b' Name.Variable
' ' Text.Whitespace
'&=' Operator
' ' Text.Whitespace
'16' Literal.Number.Integer
'\n' Text.Whitespace
'Global' Keyword.Declaration
' ' Text.Whitespace
'c' Name.Variable
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'a' Name.Variable
' ' Text.Whitespace
'|' Operator
' ' Text.Whitespace
'b' Name.Variable
'\n' Text.Whitespace