summaryrefslogtreecommitdiff
path: root/tests/examplefiles/python/switch_case.txt.output
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examplefiles/python/switch_case.txt.output')
-rw-r--r--tests/examplefiles/python/switch_case.txt.output196
1 files changed, 196 insertions, 0 deletions
diff --git a/tests/examplefiles/python/switch_case.txt.output b/tests/examplefiles/python/switch_case.txt.output
new file mode 100644
index 00000000..2abf65a5
--- /dev/null
+++ b/tests/examplefiles/python/switch_case.txt.output
@@ -0,0 +1,196 @@
+'match' Keyword
+' ' Text
+'command' Name
+'.' Operator
+'split' Name
+'(' Punctuation
+')' Punctuation
+':' Punctuation
+'\n' Text
+
+' ' Text
+'case' Keyword
+' ' Text
+'[' Punctuation
+"'" Literal.String.Single
+'to' Literal.String.Single
+"'" Literal.String.Single
+',' Punctuation
+' ' Text
+'direction' Name
+']' Punctuation
+' ' Text
+'if' Keyword
+' ' Text
+'direction' Name
+' ' Text
+'in' Operator.Word
+' ' Text
+'destination' Name
+'.' Operator
+'route' Name
+':' Punctuation
+'\n' Text
+
+' ' Text
+'return' Keyword
+' ' Text
+'1' Literal.Number.Integer
+'\n' Text
+
+' ' Text
+'case' Keyword
+' ' Text
+"'" Literal.String.Single
+'foo' Literal.String.Single
+"'" Literal.String.Single
+' ' Text
+'|' Operator
+' ' Text
+"'" Literal.String.Single
+'bar' Literal.String.Single
+"'" Literal.String.Single
+':' Punctuation
+'\n' Text
+
+' ' Text
+'return' Keyword
+' ' Text
+'2' Literal.Number.Integer
+'\n' Text
+
+' ' Text
+'case' Keyword
+' ' Text
+"'" Literal.String.Single
+'raz' Literal.String.Single
+"'" Literal.String.Single
+' ' Text
+'as' Keyword
+' ' Text
+'name' Name
+':' Punctuation
+'\n' Text
+
+' ' Text
+'return' Keyword
+' ' Text
+'3' Literal.Number.Integer
+'\n' Text
+
+' ' Text
+'case' Keyword
+' ' Text
+'[' Punctuation
+"'" Literal.String.Single
+'to' Literal.String.Single
+"'" Literal.String.Single
+',' Punctuation
+' ' Text
+'_' Keyword
+']' Punctuation
+':' Punctuation
+'\n' Text
+
+' ' Text
+'return' Keyword
+' ' Text
+'4' Literal.Number.Integer
+'\n' Text
+
+' ' Text
+'case' Keyword
+' ' Text
+'else_bar' Name
+':' Punctuation
+'\n' Text
+
+' ' Text
+'return' Keyword
+' ' Text
+'5' Literal.Number.Integer
+'\n' Text
+
+' ' Text
+'case' Keyword
+' ' Text
+'_' Keyword
+':' Punctuation
+'\n' Text
+
+' ' Text
+'return' Keyword
+' ' Text
+'6' Literal.Number.Integer
+'\n' Text
+
+'\n' Text
+
+'match' Keyword
+' ' Text
+'command' Name
+'.' Operator
+'split' Name
+'(' Punctuation
+')' Punctuation
+':' Punctuation
+'\n' Text
+
+' ' Text
+'case' Keyword
+' ' Text
+'_Direction' Name
+'(' Punctuation
+')' Punctuation
+':' Punctuation
+'\n' Text
+
+' ' Text
+'return' Keyword
+' ' Text
+'1' Literal.Number.Integer
+'\n' Text
+
+' ' Text
+'case' Keyword
+' ' Text
+'_' Keyword
+' ' Text
+'as' Keyword
+' ' Text
+'default' Name
+':' Punctuation
+'\n' Text
+
+' ' Text
+'return' Keyword
+' ' Text
+'2' Literal.Number.Integer
+'\n' Text
+
+'\n' Text
+
+'case' Name
+' ' Text
+'=' Operator
+' ' Text
+'1' Literal.Number.Integer
+'\n' Text
+
+'match' Name
+' ' Text
+'=' Operator
+' ' Text
+'1' Literal.Number.Integer
+'\n' Text
+
+'match' Name
+' ' Text
+'if' Keyword
+' ' Text
+'True' Keyword.Constant
+' ' Text
+'else' Keyword
+' ' Text
+'bar' Name
+'\n' Text