diff options
author | Maxime Kjaer <maxime.kjaer@gmail.com> | 2021-03-01 11:39:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-01 11:39:20 +0100 |
commit | 37113b095ee9a445187a8478589010347b7a9687 (patch) | |
tree | 29538f8314345a1a4bcb62406dd58b336107f0a2 /tests/examplefiles/scala/pattern-matching.scala.output | |
parent | c1a0d82acbe6fa026a1f6843fee00cc1df626549 (diff) | |
download | pygments-git-37113b095ee9a445187a8478589010347b7a9687.tar.gz |
Rewrite Scala lexer for Scala 3 (#1694)
Diffstat (limited to 'tests/examplefiles/scala/pattern-matching.scala.output')
-rw-r--r-- | tests/examplefiles/scala/pattern-matching.scala.output | 142 |
1 files changed, 142 insertions, 0 deletions
diff --git a/tests/examplefiles/scala/pattern-matching.scala.output b/tests/examplefiles/scala/pattern-matching.scala.output new file mode 100644 index 00000000..0a22da0c --- /dev/null +++ b/tests/examplefiles/scala/pattern-matching.scala.output @@ -0,0 +1,142 @@ +'def' Keyword +' ' Text +'f' Name.Function +'(' Punctuation +'x' Name +':' Punctuation +' ' Text +'Int' Name.Class +',' Punctuation +' ' Text +'y' Name +':' Punctuation +' ' Text +'Int' Name.Class +')' Punctuation +' ' Text +'=' Operator +' ' Text +'x' Name +' ' Text +'match' Keyword +' ' Text +'{' Punctuation +'\n ' Text +'case' Keyword +' ' Text +'`y`' Name +' ' Text +'=>' Operator +' \n ' Text +'case' Keyword +' ' Text +'s' Name +' ' Text +'@' Operator +' ' Text +'Seq' Name.Class +'(' Punctuation +'_' Name +',' Punctuation +' ' Text +'_' Name +',' Punctuation +' ' Text +'_' Name +')' Punctuation +' ' Text +'=>' Operator +' \n ' Text +'case' Keyword +' ' Text +'Seq' Name.Class +'(' Punctuation +'first' Name +',' Punctuation +' ' Text +'tail' Name +' ' Text +'@' Operator +' ' Text +'_*' Name +')' Punctuation +' ' Text +'=>' Operator +'\n ' Text +'case' Keyword +' ' Text +'first' Name +' ' Text +'+:' Operator +' ' Text +'tail' Name +' ' Text +'=>' Operator +'\n ' Text +'case' Keyword +' ' Text +'3' Literal.Number.Integer +' ' Text +'|' Operator +' ' Text +'5' Literal.Number.Integer +' ' Text +'|' Operator +' ' Text +'6' Literal.Number.Integer +' ' Text +'=>' Operator +'\n ' Text +'case' Keyword +' ' Text +'y' Name +':' Punctuation +' ' Text +'Number' Name.Class +' ' Text +'=>' Operator +' ' Text +'y' Name +'.' Punctuation +'n' Name +'\n ' Text +'case' Keyword +' ' Text +'Lit' Name.Class +'(' Punctuation +'n' Name +')' Punctuation +' ' Text +'=>' Operator +' ' Text +'n' Name +'\n ' Text +'case' Keyword +' ' Text +'IsZero' Name.Class +'(' Punctuation +'u' Name +')' Punctuation +' ' Text +'=>' Operator +' ' Text +'eval' Name +'(' Punctuation +'u' Name +')' Punctuation +' ' Text +'==' Operator +' ' Text +'0' Literal.Number.Integer +'\n ' Text +'case' Keyword +' ' Text +'_' Name +' ' Text +'=>' Operator +' ' Text +'15' Literal.Number.Integer +'\n' Text + +'}' Punctuation +'\n' Text |