| 1 |
---input--- |
| 2 |
"foo" + "bar" |
| 3 |
|
| 4 |
1 + 2 |
| 5 |
|
| 6 |
2 / 1 |
| 7 |
|
| 8 |
"foo" == "f" + "oo" |
| 9 |
|
| 10 |
"foo" != "bar" |
| 11 |
|
| 12 |
!true |
| 13 |
|
| 14 |
2 * 2 < 5 |
| 15 |
|
| 16 |
5 > 1 |
| 17 |
|
| 18 |
2 - 1 |
| 19 |
|
| 20 |
{ x = 1; y = 2; }.x |
| 21 |
|
| 22 |
{ x = 1; y = 2; }.z or 3 |
| 23 |
|
| 24 |
{ x = 1; y = 2; } // { z = 3; } |
| 25 |
|
| 26 |
---tokens--- |
| 27 |
'"' Literal.String.Double |
| 28 |
'foo' Literal.String.Double |
| 29 |
'"' Literal.String.Double |
| 30 |
' ' Text |
| 31 |
'+' Operator |
| 32 |
' ' Text |
| 33 |
'"' Literal.String.Double |
| 34 |
'bar' Literal.String.Double |
| 35 |
'"' Literal.String.Double |
| 36 |
'\n\n' Text |
| 37 |
|
| 38 |
'1' Literal.Number.Integer |
| 39 |
' ' Text |
| 40 |
'+' Operator |
| 41 |
' ' Text |
| 42 |
'2' Literal.Number.Integer |
| 43 |
'\n\n' Text |
| 44 |
|
| 45 |
'2' Literal.Number.Integer |
| 46 |
' ' Text |
| 47 |
'/' Operator |
| 48 |
' ' Text |
| 49 |
'1' Literal.Number.Integer |
| 50 |
'\n\n' Text |
| 51 |
|
| 52 |
'"' Literal.String.Double |
| 53 |
'foo' Literal.String.Double |
| 54 |
'"' Literal.String.Double |
| 55 |
' ' Text |
| 56 |
'==' Operator |
| 57 |
' ' Text |
| 58 |
'"' Literal.String.Double |
| 59 |
'f' Literal.String.Double |
| 60 |
'"' Literal.String.Double |
| 61 |
' ' Text |
| 62 |
'+' Operator |
| 63 |
' ' Text |
| 64 |
'"' Literal.String.Double |
| 65 |
'oo' Literal.String.Double |
| 66 |
'"' Literal.String.Double |
| 67 |
'\n\n' Text |
| 68 |
|
| 69 |
'"' Literal.String.Double |
| 70 |
'foo' Literal.String.Double |
| 71 |
'"' Literal.String.Double |
| 72 |
' ' Text |
| 73 |
'!' Operator |
| 74 |
'=' Operator |
| 75 |
' ' Text |
| 76 |
'"' Literal.String.Double |
| 77 |
'bar' Literal.String.Double |
| 78 |
'"' Literal.String.Double |
| 79 |
'\n\n' Text |
| 80 |
|
| 81 |
'!' Operator |
| 82 |
'true' Name.Constant |
| 83 |
'\n\n' Text |
| 84 |
|
| 85 |
'2' Literal.Number.Integer |
| 86 |
' ' Text |
| 87 |
'*' Operator |
| 88 |
' ' Text |
| 89 |
'2' Literal.Number.Integer |
| 90 |
' ' Text |
| 91 |
'<' Operator |
| 92 |
' ' Text |
| 93 |
'5' Literal.Number.Integer |
| 94 |
'\n\n' Text |
| 95 |
|
| 96 |
'5' Literal.Number.Integer |
| 97 |
' ' Text |
| 98 |
'>' Operator |
| 99 |
' ' Text |
| 100 |
'1' Literal.Number.Integer |
| 101 |
'\n\n' Text |
| 102 |
|
| 103 |
'2' Literal.Number.Integer |
| 104 |
' ' Text |
| 105 |
'-' Operator |
| 106 |
' ' Text |
| 107 |
'1' Literal.Number.Integer |
| 108 |
'\n\n' Text |
| 109 |
|
| 110 |
'{' Punctuation |
| 111 |
' ' Text |
| 112 |
'x' Literal.String.Symbol |
| 113 |
' ' Text |
| 114 |
'=' Operator |
| 115 |
' ' Text |
| 116 |
'1' Literal.Number.Integer |
| 117 |
';' Punctuation |
| 118 |
' ' Text |
| 119 |
'y' Literal.String.Symbol |
| 120 |
' ' Text |
| 121 |
'=' Operator |
| 122 |
' ' Text |
| 123 |
'2' Literal.Number.Integer |
| 124 |
';' Punctuation |
| 125 |
' ' Text |
| 126 |
'}' Punctuation |
| 127 |
'.' Operator |
| 128 |
'x' Text |
| 129 |
'\n\n' Text |
| 130 |
|
| 131 |
'{' Punctuation |
| 132 |
' ' Text |
| 133 |
'x' Literal.String.Symbol |
| 134 |
' ' Text |
| 135 |
'=' Operator |
| 136 |
' ' Text |
| 137 |
'1' Literal.Number.Integer |
| 138 |
';' Punctuation |
| 139 |
' ' Text |
| 140 |
'y' Literal.String.Symbol |
| 141 |
' ' Text |
| 142 |
'=' Operator |
| 143 |
' ' Text |
| 144 |
'2' Literal.Number.Integer |
| 145 |
';' Punctuation |
| 146 |
' ' Text |
| 147 |
'}' Punctuation |
| 148 |
'.' Operator |
| 149 |
'z' Text |
| 150 |
' ' Text |
| 151 |
'or' Operator.Word |
| 152 |
' ' Text |
| 153 |
'3' Literal.Number.Integer |
| 154 |
'\n\n' Text |
| 155 |
|
| 156 |
'{' Punctuation |
| 157 |
' ' Text |
| 158 |
'x' Literal.String.Symbol |
| 159 |
' ' Text |
| 160 |
'=' Operator |
| 161 |
' ' Text |
| 162 |
'1' Literal.Number.Integer |
| 163 |
';' Punctuation |
| 164 |
' ' Text |
| 165 |
'y' Literal.String.Symbol |
| 166 |
' ' Text |
| 167 |
'=' Operator |
| 168 |
' ' Text |
| 169 |
'2' Literal.Number.Integer |
| 170 |
';' Punctuation |
| 171 |
' ' Text |
| 172 |
'}' Punctuation |
| 173 |
' ' Text |
| 174 |
'//' Operator |
| 175 |
' ' Text |
| 176 |
'{' Punctuation |
| 177 |
' ' Text |
| 178 |
'z' Literal.String.Symbol |
| 179 |
' ' Text |
| 180 |
'=' Operator |
| 181 |
' ' Text |
| 182 |
'3' Literal.Number.Integer |
| 183 |
';' Punctuation |
| 184 |
' ' Text |
| 185 |
'}' Punctuation |
| 186 |
'\n' Text |