summaryrefslogtreecommitdiff
path: root/tests/examplefiles/scala/for-comprehension.scala.output
diff options
context:
space:
mode:
authorMaxime Kjaer <maxime.kjaer@gmail.com>2021-03-01 11:39:20 +0100
committerGitHub <noreply@github.com>2021-03-01 11:39:20 +0100
commit37113b095ee9a445187a8478589010347b7a9687 (patch)
tree29538f8314345a1a4bcb62406dd58b336107f0a2 /tests/examplefiles/scala/for-comprehension.scala.output
parentc1a0d82acbe6fa026a1f6843fee00cc1df626549 (diff)
downloadpygments-git-37113b095ee9a445187a8478589010347b7a9687.tar.gz
Rewrite Scala lexer for Scala 3 (#1694)
Diffstat (limited to 'tests/examplefiles/scala/for-comprehension.scala.output')
-rw-r--r--tests/examplefiles/scala/for-comprehension.scala.output53
1 files changed, 53 insertions, 0 deletions
diff --git a/tests/examplefiles/scala/for-comprehension.scala.output b/tests/examplefiles/scala/for-comprehension.scala.output
new file mode 100644
index 00000000..55147d57
--- /dev/null
+++ b/tests/examplefiles/scala/for-comprehension.scala.output
@@ -0,0 +1,53 @@
+'for' Keyword
+' ' Text
+'(' Punctuation
+' ' Text
+'i' Name
+' ' Text
+'<-' Operator
+' ' Text
+'1' Literal.Number.Integer
+' ' Text
+'to' Name
+' ' Text
+'10' Literal.Number.Integer
+' ' Text
+')' Punctuation
+'\n' Text
+
+'for' Keyword
+' ' Text
+'(' Punctuation
+'user' Name
+' ' Text
+'<-' Operator
+' ' Text
+'userBase' Name
+' ' Text
+'if' Keyword
+' ' Text
+'user' Name
+'.' Punctuation
+'age' Name
+' ' Text
+'>=' Operator
+' ' Text
+'20' Literal.Number.Integer
+' ' Text
+'&&' Operator
+' ' Text
+'user' Name
+'.' Punctuation
+'age' Name
+' ' Text
+'<' Operator
+' ' Text
+'30' Literal.Number.Integer
+')' Punctuation
+' ' Text
+'yield' Keyword
+' ' Text
+'user' Name
+'.' Punctuation
+'name' Name
+'\n' Text