str_lit.parsed 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. [
  2. Puts(
  3. Chc(
  4. [
  5. Choice {
  6. weight: None,
  7. value: Cat(
  8. [
  9. Lit(
  10. Str(
  11. "foo",
  12. ),
  13. ),
  14. Lit(
  15. Str(
  16. "foo",
  17. ),
  18. ),
  19. ],
  20. ),
  21. },
  22. ],
  23. ),
  24. ),
  25. Puts(
  26. Chc(
  27. [
  28. Choice {
  29. weight: None,
  30. value: Cat(
  31. [
  32. Lit(
  33. Str(
  34. "foo bar baz",
  35. ),
  36. ),
  37. Lit(
  38. Str(
  39. "foo bar baz",
  40. ),
  41. ),
  42. ],
  43. ),
  44. },
  45. ],
  46. ),
  47. ),
  48. Puts(
  49. Chc(
  50. [
  51. Choice {
  52. weight: None,
  53. value: Cat(
  54. [
  55. Lit(
  56. Str(
  57. "won't you",
  58. ),
  59. ),
  60. Lit(
  61. Str(
  62. "quoth the raven \"nevermore\"",
  63. ),
  64. ),
  65. ],
  66. ),
  67. },
  68. ],
  69. ),
  70. ),
  71. Puts(
  72. Chc(
  73. [
  74. Choice {
  75. weight: None,
  76. value: Cat(
  77. [
  78. Lit(
  79. Str(
  80. "this\nthat",
  81. ),
  82. ),
  83. Lit(
  84. Str(
  85. "one\ntwo",
  86. ),
  87. ),
  88. ],
  89. ),
  90. },
  91. ],
  92. ),
  93. ),
  94. Puts(
  95. Chc(
  96. [
  97. Choice {
  98. weight: None,
  99. value: Cat(
  100. [
  101. Lit(
  102. Str(
  103. "\n\t\r",
  104. ),
  105. ),
  106. Lit(
  107. Str(
  108. "\n\t\r",
  109. ),
  110. ),
  111. ],
  112. ),
  113. },
  114. ],
  115. ),
  116. ),
  117. ]