| 1 |
---input--- |
| 2 |
BEGIN TRANSACTION |
| 3 |
CREATE TEMP TABLE Flights(total INT64) AS SELECT * FROM UNNEST([10,23,3,14,55]) AS a; |
| 4 |
SELECT *, SPLIT_SUBSTR('blah', 3||4) FROM Flights; |
| 5 |
|
| 6 |
## function calls and builtins |
| 7 |
|
| 8 |
SELECT abs(1.5); |
| 9 |
CREATE OR REPLACE my_table |
| 10 |
SELECT REPLACE('good show', 'good', 'great'); |
| 11 |
SELECT LPAD("hello", 10); |
| 12 |
SELECT D3A_COUNT.TO_HLL(); |
| 13 |
SELECT KLL_QUANTILES.MERGE_UINT64(); |
| 14 |
SELECT MyNonBuiltinFunction(an_arg); |
| 15 |
SELECT MyNonBuiltinFunction((SELECT 1), an_arg), Baz(); |
| 16 |
SELECT MyNonBuiltinFunction(')'), Baz(an_arg); |
| 17 |
SELECT (1) |
| 18 |
DEFINE TABLE Foo (options); |
| 19 |
DEFINE MACRO FOO the body of the macro with first arg $1 and second arg $2; |
| 20 |
SELECT $mymacro FROM my_table; |
| 21 |
SELECT "A macro inside a string: $mymacro" FROM my_table; |
| 22 |
SELECT 'A macro inside a string: $mymacro' FROM my_table; |
| 23 |
SELECT """A macro inside a string: $mymacro""" FROM my_table; |
| 24 |
SELECT rb"""A macro inside a string: $mymacro("arg1", "arg2")""" FROM my_table; |
| 25 |
select creation, latency from my_table_${YYYYMMDD+1}; |
| 26 |
select creation, latency from my_table_${YYYY+2}; |
| 27 |
select creation, latency from my_table_${YYYYMMDD-3}; |
| 28 |
select creation, latency from my_table_${DD}; |
| 29 |
select "This is the day of the month ${DD}. QED."; |
| 30 |
select * from logs limit ${LimitCount}; |
| 31 |
SELECT 1 = 1, 1 != 42; |
| 32 |
SELECT 1 > 2; |
| 33 |
LOAD my.script; |
| 34 |
|
| 35 |
## Ambiguous keywords, either type or function or keywords. |
| 36 |
|
| 37 |
SELECT JSON '{"name": "Alice", "age": 30}'; |
| 38 |
SELECT IF("%.1f", 1/3); |
| 39 |
CREATE TABLE IF NOT EXISTS my_table [(my_column int64)]; |
| 40 |
SELECT EXTRACT(DAY FROM DATE '2013-12-25'); |
| 41 |
SELECT CAST(1 AS BOOL); |
| 42 |
SELECT element from UNNEST([1, 2, 3] as element); |
| 43 |
select [1, 2, 3][OFFSET(0)]; |
| 44 |
SELECT * FROM UNNEST(['a', 'b']) AS letter |
| 45 |
ORDER BY letter ASC LIMIT 1 OFFSET 1; |
| 46 |
SELECT * FROM Produce PIVOT(SUM(sales) FOR quarter IN ('Q1', 'Q2', 'Q3', 'Q4')) |
| 47 |
SELECT * FROM Produce UNPIVOT(sales FOR quarter IN (Q1, Q2, Q3, Q4)) |
| 48 |
|
| 49 |
## comments |
| 50 |
|
| 51 |
SELECT TRUE; -- double-dash comment |
| 52 |
SELECT TRUE; # hash comment |
| 53 |
SELECT TRUE; // this is a comment |
| 54 |
SELECT /* this is block comment */ TRUE; |
| 55 |
# Bracket comments in stock SQL VS Code config are not supported in GoogleSQL |
| 56 |
SELECT %{bracket comment}; |
| 57 |
|
| 58 |
## embedding JS |
| 59 |
|
| 60 |
CREATE FUNCTION f(x INT, y INT) |
| 61 |
RETURNS DOUBLE LANGUAGE js AS """return (x*y);"""; |
| 62 |
|
| 63 |
## embedding Lua |
| 64 |
|
| 65 |
CREATE FUNCTION f(x INT, y INT) |
| 66 |
RETURNS DOUBLE LANGUAGE lua AS """return (x*y);"""; |
| 67 |
|
| 68 |
### strings |
| 69 |
|
| 70 |
SELECT 'Hi !'; |
| 71 |
SELECT "Hi !"; |
| 72 |
SELECT 'a tab \t in a single-quoted string'; |
| 73 |
SELECT "a tab \t in a single-quoted string"; |
| 74 |
SELECT "string with a # sign"; |
| 75 |
SELECT 'string with a # sign'; |
| 76 |
SELECT 'a string with a \' single quote'; |
| 77 |
SELECT "a string with a \" double quote"; |
| 78 |
SELECT """triple double quote"""; |
| 79 |
SELECT '''triple single quote'''; |
| 80 |
SELECT 'triple single quote no word boundary'; |
| 81 |
SELECT "triple single quote no word boundary"; |
| 82 |
SELECT '''triple single quote no word boundary'''; |
| 83 |
SELECT b'binary single quoted string'; |
| 84 |
SELECT B'binary single quoted string'; |
| 85 |
SELECT b"binary double quoted string"; |
| 86 |
SELECT B"binary double quoted string"; |
| 87 |
SELECT b'''triple single quote'''; |
| 88 |
SELECT B'''triple single quote'''; |
| 89 |
SELECT b"""triple double quote"""; |
| 90 |
SELECT B"""triple double quote"""; |
| 91 |
SELECT r"raw single quoted string"; |
| 92 |
SELECT r"double quote"; |
| 93 |
SELECT rb"double quote"; |
| 94 |
SELECT rB"double quote"; |
| 95 |
SELECT R"double quote"; |
| 96 |
SELECT Rb"double quote"; |
| 97 |
SELECT RB"double quote"; |
| 98 |
SELECT r'single quote'; |
| 99 |
SELECT rb'single quote'; |
| 100 |
SELECT rB'single quote'; |
| 101 |
SELECT R'single quote'; |
| 102 |
SELECT Rb'single quote'; |
| 103 |
SELECT RB'single quote'; |
| 104 |
SELECT r'single quote with an uninterpreted \' escape'; |
| 105 |
SELECT b'single quote with an *interpreted* \' escape'; |
| 106 |
SELECT r"""raw single quoted string"""; |
| 107 |
SELECT r'''triple single quote'''; |
| 108 |
SELECT rb'''triple single quote'''; |
| 109 |
SELECT rB'''triple single quote'''; |
| 110 |
SELECT R'''triple single quote'''; |
| 111 |
SELECT Rb'''triple single quote'''; |
| 112 |
SELECT RB'''triple single quote'''; |
| 113 |
SELECT r"""triple double quote"""; |
| 114 |
SELECT rb"""triple double quote"""; |
| 115 |
SELECT rB"""triple double quote"""; |
| 116 |
SELECT R"""triple double quote"""; |
| 117 |
SELECT Rb"""triple double quote"""; |
| 118 |
SELECT RB"""triple double quote"""; |
| 119 |
SELECT RBr"""triple double quote"""; |
| 120 |
SELECT RBb"""triple double quote"""; |
| 121 |
SELECT rr"invalid raw single quoted string"; |
| 122 |
SELECT rr"""invalid raw single quoted string"""; |
| 123 |
SELECT rr'invalid raw single quoted string'; |
| 124 |
|
| 125 |
---tokens--- |
| 126 |
'BEGIN' Keyword |
| 127 |
' ' Text.Whitespace |
| 128 |
'TRANSACTION' Keyword |
| 129 |
'\n' Text.Whitespace |
| 130 |
|
| 131 |
'CREATE' Keyword |
| 132 |
' ' Text.Whitespace |
| 133 |
'TEMP' Keyword |
| 134 |
' ' Text.Whitespace |
| 135 |
'TABLE' Keyword |
| 136 |
' ' Text.Whitespace |
| 137 |
'Flights' Name |
| 138 |
'(' Punctuation |
| 139 |
'total' Name |
| 140 |
' ' Text.Whitespace |
| 141 |
'INT64' Keyword.Type |
| 142 |
')' Punctuation |
| 143 |
' ' Text.Whitespace |
| 144 |
'AS' Keyword |
| 145 |
' ' Text.Whitespace |
| 146 |
'SELECT' Keyword |
| 147 |
' ' Text.Whitespace |
| 148 |
'*' Error |
| 149 |
' ' Text.Whitespace |
| 150 |
'FROM' Keyword |
| 151 |
' ' Text.Whitespace |
| 152 |
'UNNEST' Keyword |
| 153 |
'(' Punctuation |
| 154 |
'[' Error |
| 155 |
'10' Literal.Number.Integer |
| 156 |
',' Punctuation |
| 157 |
'23' Literal.Number.Integer |
| 158 |
',' Punctuation |
| 159 |
'3' Literal.Number.Integer |
| 160 |
',' Punctuation |
| 161 |
'14' Literal.Number.Integer |
| 162 |
',' Punctuation |
| 163 |
'55' Literal.Number.Integer |
| 164 |
']' Error |
| 165 |
')' Punctuation |
| 166 |
' ' Text.Whitespace |
| 167 |
'AS' Keyword |
| 168 |
' ' Text.Whitespace |
| 169 |
'a' Name |
| 170 |
';' Punctuation |
| 171 |
'\n' Text.Whitespace |
| 172 |
|
| 173 |
'SELECT' Keyword |
| 174 |
' ' Text.Whitespace |
| 175 |
'*' Error |
| 176 |
',' Punctuation |
| 177 |
' ' Text.Whitespace |
| 178 |
'SPLIT_SUBSTR' Name.Function |
| 179 |
'(' Punctuation |
| 180 |
"'" Literal.String.Single |
| 181 |
'blah' Literal.String.Single |
| 182 |
"'" Literal.String.Single |
| 183 |
',' Punctuation |
| 184 |
' ' Text.Whitespace |
| 185 |
'3' Literal.Number.Integer |
| 186 |
'||' Operator |
| 187 |
'4' Literal.Number.Integer |
| 188 |
')' Punctuation |
| 189 |
' ' Text.Whitespace |
| 190 |
'FROM' Keyword |
| 191 |
' ' Text.Whitespace |
| 192 |
'Flights' Name |
| 193 |
';' Punctuation |
| 194 |
'\n\n' Text.Whitespace |
| 195 |
|
| 196 |
'## function calls and builtins' Comment.Single |
| 197 |
'\n\n' Text.Whitespace |
| 198 |
|
| 199 |
'SELECT' Keyword |
| 200 |
' ' Text.Whitespace |
| 201 |
'abs' Name.Function |
| 202 |
'(' Punctuation |
| 203 |
'1.5' Literal.Number.Float |
| 204 |
')' Punctuation |
| 205 |
';' Punctuation |
| 206 |
'\n' Text.Whitespace |
| 207 |
|
| 208 |
'CREATE' Keyword |
| 209 |
' ' Text.Whitespace |
| 210 |
'OR' Keyword |
| 211 |
' ' Text.Whitespace |
| 212 |
'REPLACE' Keyword |
| 213 |
' ' Text.Whitespace |
| 214 |
'my_table' Name |
| 215 |
'\n' Text.Whitespace |
| 216 |
|
| 217 |
'SELECT' Keyword |
| 218 |
' ' Text.Whitespace |
| 219 |
'REPLACE' Keyword |
| 220 |
'(' Punctuation |
| 221 |
"'" Literal.String.Single |
| 222 |
'good show' Literal.String.Single |
| 223 |
"'" Literal.String.Single |
| 224 |
',' Punctuation |
| 225 |
' ' Text.Whitespace |
| 226 |
"'" Literal.String.Single |
| 227 |
'good' Literal.String.Single |
| 228 |
"'" Literal.String.Single |
| 229 |
',' Punctuation |
| 230 |
' ' Text.Whitespace |
| 231 |
"'" Literal.String.Single |
| 232 |
'great' Literal.String.Single |
| 233 |
"'" Literal.String.Single |
| 234 |
')' Punctuation |
| 235 |
';' Punctuation |
| 236 |
'\n' Text.Whitespace |
| 237 |
|
| 238 |
'SELECT' Keyword |
| 239 |
' ' Text.Whitespace |
| 240 |
'LPAD' Name.Function |
| 241 |
'(' Punctuation |
| 242 |
'"' Literal.String.Double |
| 243 |
'hello' Literal.String.Double |
| 244 |
'"' Literal.String.Double |
| 245 |
',' Punctuation |
| 246 |
' ' Text.Whitespace |
| 247 |
'10' Literal.Number.Integer |
| 248 |
')' Punctuation |
| 249 |
';' Punctuation |
| 250 |
'\n' Text.Whitespace |
| 251 |
|
| 252 |
'SELECT' Keyword |
| 253 |
' ' Text.Whitespace |
| 254 |
'D3A_COUNT.TO_HLL' Name.Function |
| 255 |
'(' Punctuation |
| 256 |
')' Punctuation |
| 257 |
';' Punctuation |
| 258 |
'\n' Text.Whitespace |
| 259 |
|
| 260 |
'SELECT' Keyword |
| 261 |
' ' Text.Whitespace |
| 262 |
'KLL_QUANTILES' Name |
| 263 |
'.' Punctuation |
| 264 |
'MERGE_UINT64' Name |
| 265 |
'(' Punctuation |
| 266 |
')' Punctuation |
| 267 |
';' Punctuation |
| 268 |
'\n' Text.Whitespace |
| 269 |
|
| 270 |
'SELECT' Keyword |
| 271 |
' ' Text.Whitespace |
| 272 |
'MyNonBuiltinFunction' Name |
| 273 |
'(' Punctuation |
| 274 |
'an_arg' Name |
| 275 |
')' Punctuation |
| 276 |
';' Punctuation |
| 277 |
'\n' Text.Whitespace |
| 278 |
|
| 279 |
'SELECT' Keyword |
| 280 |
' ' Text.Whitespace |
| 281 |
'MyNonBuiltinFunction' Name |
| 282 |
'(' Punctuation |
| 283 |
'(' Punctuation |
| 284 |
'SELECT' Keyword |
| 285 |
' ' Text.Whitespace |
| 286 |
'1' Literal.Number.Integer |
| 287 |
')' Punctuation |
| 288 |
',' Punctuation |
| 289 |
' ' Text.Whitespace |
| 290 |
'an_arg' Name |
| 291 |
')' Punctuation |
| 292 |
',' Punctuation |
| 293 |
' ' Text.Whitespace |
| 294 |
'Baz' Name |
| 295 |
'(' Punctuation |
| 296 |
')' Punctuation |
| 297 |
';' Punctuation |
| 298 |
'\n' Text.Whitespace |
| 299 |
|
| 300 |
'SELECT' Keyword |
| 301 |
' ' Text.Whitespace |
| 302 |
'MyNonBuiltinFunction' Name |
| 303 |
'(' Punctuation |
| 304 |
"'" Literal.String.Single |
| 305 |
')' Literal.String.Single |
| 306 |
"'" Literal.String.Single |
| 307 |
')' Punctuation |
| 308 |
',' Punctuation |
| 309 |
' ' Text.Whitespace |
| 310 |
'Baz' Name |
| 311 |
'(' Punctuation |
| 312 |
'an_arg' Name |
| 313 |
')' Punctuation |
| 314 |
';' Punctuation |
| 315 |
'\n' Text.Whitespace |
| 316 |
|
| 317 |
'SELECT' Keyword |
| 318 |
' ' Text.Whitespace |
| 319 |
'(' Punctuation |
| 320 |
'1' Literal.Number.Integer |
| 321 |
')' Punctuation |
| 322 |
'\n' Text.Whitespace |
| 323 |
|
| 324 |
'DEFINE' Keyword |
| 325 |
' ' Text.Whitespace |
| 326 |
'TABLE' Keyword |
| 327 |
' ' Text.Whitespace |
| 328 |
'Foo' Name |
| 329 |
' ' Text.Whitespace |
| 330 |
'(' Punctuation |
| 331 |
'options' Keyword |
| 332 |
')' Punctuation |
| 333 |
';' Punctuation |
| 334 |
'\n' Text.Whitespace |
| 335 |
|
| 336 |
'DEFINE' Keyword |
| 337 |
' ' Text.Whitespace |
| 338 |
'MACRO' Keyword |
| 339 |
' ' Text.Whitespace |
| 340 |
'FOO' Name |
| 341 |
' ' Text.Whitespace |
| 342 |
'the' Name |
| 343 |
' ' Text.Whitespace |
| 344 |
'body' Name |
| 345 |
' ' Text.Whitespace |
| 346 |
'of' Keyword |
| 347 |
' ' Text.Whitespace |
| 348 |
'the' Name |
| 349 |
' ' Text.Whitespace |
| 350 |
'macro' Keyword |
| 351 |
' ' Text.Whitespace |
| 352 |
'with' Keyword |
| 353 |
' ' Text.Whitespace |
| 354 |
'first' Keyword |
| 355 |
' ' Text.Whitespace |
| 356 |
'arg' Name |
| 357 |
' ' Text.Whitespace |
| 358 |
'$1' Name |
| 359 |
' ' Text.Whitespace |
| 360 |
'and' Keyword |
| 361 |
' ' Text.Whitespace |
| 362 |
'second ' Keyword |
| 363 |
'arg' Name |
| 364 |
' ' Text.Whitespace |
| 365 |
'$2' Name |
| 366 |
';' Punctuation |
| 367 |
'\n' Text.Whitespace |
| 368 |
|
| 369 |
'SELECT' Keyword |
| 370 |
' ' Text.Whitespace |
| 371 |
'$mymacro' Name |
| 372 |
' ' Text.Whitespace |
| 373 |
'FROM' Keyword |
| 374 |
' ' Text.Whitespace |
| 375 |
'my_table' Name |
| 376 |
';' Punctuation |
| 377 |
'\n' Text.Whitespace |
| 378 |
|
| 379 |
'SELECT' Keyword |
| 380 |
' ' Text.Whitespace |
| 381 |
'"' Literal.String.Double |
| 382 |
'A macro inside a string: $mymacro' Literal.String.Double |
| 383 |
'"' Literal.String.Double |
| 384 |
' ' Text.Whitespace |
| 385 |
'FROM' Keyword |
| 386 |
' ' Text.Whitespace |
| 387 |
'my_table' Name |
| 388 |
';' Punctuation |
| 389 |
'\n' Text.Whitespace |
| 390 |
|
| 391 |
'SELECT' Keyword |
| 392 |
' ' Text.Whitespace |
| 393 |
"'" Literal.String.Single |
| 394 |
'A macro inside a string: $mymacro' Literal.String.Single |
| 395 |
"'" Literal.String.Single |
| 396 |
' ' Text.Whitespace |
| 397 |
'FROM' Keyword |
| 398 |
' ' Text.Whitespace |
| 399 |
'my_table' Name |
| 400 |
';' Punctuation |
| 401 |
'\n' Text.Whitespace |
| 402 |
|
| 403 |
'SELECT' Keyword |
| 404 |
' ' Text.Whitespace |
| 405 |
'"' Literal.String.Double |
| 406 |
'""' Literal.String.Escape |
| 407 |
'A macro inside a string: $mymacro' Literal.String.Double |
| 408 |
'""' Literal.String.Escape |
| 409 |
'"' Literal.String.Double |
| 410 |
' ' Text.Whitespace |
| 411 |
'FROM' Keyword |
| 412 |
' ' Text.Whitespace |
| 413 |
'my_table' Name |
| 414 |
';' Punctuation |
| 415 |
'\n' Text.Whitespace |
| 416 |
|
| 417 |
'SELECT' Keyword |
| 418 |
' ' Text.Whitespace |
| 419 |
'rb' Name |
| 420 |
'"' Literal.String.Double |
| 421 |
'""' Literal.String.Escape |
| 422 |
'A macro inside a string: $mymacro(' Literal.String.Double |
| 423 |
'"' Literal.String.Double |
| 424 |
'arg1' Name |
| 425 |
'"' Literal.String.Double |
| 426 |
', ' Literal.String.Double |
| 427 |
'"' Literal.String.Double |
| 428 |
'arg2' Name |
| 429 |
'"' Literal.String.Double |
| 430 |
')' Literal.String.Double |
| 431 |
'""' Literal.String.Escape |
| 432 |
'"' Literal.String.Double |
| 433 |
' ' Text.Whitespace |
| 434 |
'FROM' Keyword |
| 435 |
' ' Text.Whitespace |
| 436 |
'my_table' Name |
| 437 |
';' Punctuation |
| 438 |
'\n' Text.Whitespace |
| 439 |
|
| 440 |
'select' Keyword |
| 441 |
' ' Text.Whitespace |
| 442 |
'creation' Name |
| 443 |
',' Punctuation |
| 444 |
' ' Text.Whitespace |
| 445 |
'latency' Name |
| 446 |
' ' Text.Whitespace |
| 447 |
'from' Keyword |
| 448 |
' ' Text.Whitespace |
| 449 |
'my_table_$' Name |
| 450 |
'{' Error |
| 451 |
'YYYYMMDD' Name |
| 452 |
'+' Operator |
| 453 |
'1' Literal.Number.Integer |
| 454 |
'}' Error |
| 455 |
';' Punctuation |
| 456 |
'\n' Text.Whitespace |
| 457 |
|
| 458 |
'select' Keyword |
| 459 |
' ' Text.Whitespace |
| 460 |
'creation' Name |
| 461 |
',' Punctuation |
| 462 |
' ' Text.Whitespace |
| 463 |
'latency' Name |
| 464 |
' ' Text.Whitespace |
| 465 |
'from' Keyword |
| 466 |
' ' Text.Whitespace |
| 467 |
'my_table_$' Name |
| 468 |
'{' Error |
| 469 |
'YYYY' Name |
| 470 |
'+' Operator |
| 471 |
'2' Literal.Number.Integer |
| 472 |
'}' Error |
| 473 |
';' Punctuation |
| 474 |
'\n' Text.Whitespace |
| 475 |
|
| 476 |
'select' Keyword |
| 477 |
' ' Text.Whitespace |
| 478 |
'creation' Name |
| 479 |
',' Punctuation |
| 480 |
' ' Text.Whitespace |
| 481 |
'latency' Name |
| 482 |
' ' Text.Whitespace |
| 483 |
'from' Keyword |
| 484 |
' ' Text.Whitespace |
| 485 |
'my_table_$' Name |
| 486 |
'{' Error |
| 487 |
'YYYYMMDD' Name |
| 488 |
'-' Operator |
| 489 |
'3' Literal.Number.Integer |
| 490 |
'}' Error |
| 491 |
';' Punctuation |
| 492 |
'\n' Text.Whitespace |
| 493 |
|
| 494 |
'select' Keyword |
| 495 |
' ' Text.Whitespace |
| 496 |
'creation' Name |
| 497 |
',' Punctuation |
| 498 |
' ' Text.Whitespace |
| 499 |
'latency' Name |
| 500 |
' ' Text.Whitespace |
| 501 |
'from' Keyword |
| 502 |
' ' Text.Whitespace |
| 503 |
'my_table_$' Name |
| 504 |
'{' Error |
| 505 |
'DD' Name |
| 506 |
'}' Error |
| 507 |
';' Punctuation |
| 508 |
'\n' Text.Whitespace |
| 509 |
|
| 510 |
'select' Keyword |
| 511 |
' ' Text.Whitespace |
| 512 |
'"' Literal.String.Double |
| 513 |
'This is the day of the month ${DD}. QED.' Literal.String.Double |
| 514 |
'"' Literal.String.Double |
| 515 |
';' Punctuation |
| 516 |
'\n' Text.Whitespace |
| 517 |
|
| 518 |
'select' Keyword |
| 519 |
' ' Text.Whitespace |
| 520 |
'*' Error |
| 521 |
' ' Text.Whitespace |
| 522 |
'from' Keyword |
| 523 |
' ' Text.Whitespace |
| 524 |
'logs' Name |
| 525 |
' ' Text.Whitespace |
| 526 |
'limit' Keyword |
| 527 |
' ' Text.Whitespace |
| 528 |
'$' Name |
| 529 |
'{' Error |
| 530 |
'LimitCount' Name |
| 531 |
'}' Error |
| 532 |
';' Punctuation |
| 533 |
'\n' Text.Whitespace |
| 534 |
|
| 535 |
'SELECT' Keyword |
| 536 |
' ' Text.Whitespace |
| 537 |
'1' Literal.Number.Integer |
| 538 |
' ' Text.Whitespace |
| 539 |
'=' Error |
| 540 |
' ' Text.Whitespace |
| 541 |
'1' Literal.Number.Integer |
| 542 |
',' Punctuation |
| 543 |
' ' Text.Whitespace |
| 544 |
'1' Literal.Number.Integer |
| 545 |
' ' Text.Whitespace |
| 546 |
'!' Error |
| 547 |
'=' Error |
| 548 |
' ' Text.Whitespace |
| 549 |
'42' Literal.Number.Integer |
| 550 |
';' Punctuation |
| 551 |
'\n' Text.Whitespace |
| 552 |
|
| 553 |
'SELECT' Keyword |
| 554 |
' ' Text.Whitespace |
| 555 |
'1' Literal.Number.Integer |
| 556 |
' ' Text.Whitespace |
| 557 |
'>' Error |
| 558 |
' ' Text.Whitespace |
| 559 |
'2' Literal.Number.Integer |
| 560 |
';' Punctuation |
| 561 |
'\n' Text.Whitespace |
| 562 |
|
| 563 |
'LOAD' Keyword |
| 564 |
' ' Text.Whitespace |
| 565 |
'my' Name |
| 566 |
'.' Punctuation |
| 567 |
'script' Name |
| 568 |
';' Punctuation |
| 569 |
'\n\n' Text.Whitespace |
| 570 |
|
| 571 |
'## Ambiguous keywords, either type or function or keywords.' Comment.Single |
| 572 |
'\n\n' Text.Whitespace |
| 573 |
|
| 574 |
'SELECT' Keyword |
| 575 |
' ' Text.Whitespace |
| 576 |
'JSON' Keyword.Type |
| 577 |
' ' Text.Whitespace |
| 578 |
"'" Literal.String.Single |
| 579 |
'{"name": "Alice", "age": 30}' Literal.String.Single |
| 580 |
"'" Literal.String.Single |
| 581 |
';' Punctuation |
| 582 |
'\n' Text.Whitespace |
| 583 |
|
| 584 |
'SELECT' Keyword |
| 585 |
' ' Text.Whitespace |
| 586 |
'IF' Keyword |
| 587 |
'(' Punctuation |
| 588 |
'"' Literal.String.Double |
| 589 |
'%.1f' Literal.String.Double |
| 590 |
'"' Literal.String.Double |
| 591 |
',' Punctuation |
| 592 |
' ' Text.Whitespace |
| 593 |
'1' Literal.Number.Integer |
| 594 |
'/' Operator |
| 595 |
'3' Literal.Number.Integer |
| 596 |
')' Punctuation |
| 597 |
';' Punctuation |
| 598 |
'\n' Text.Whitespace |
| 599 |
|
| 600 |
'CREATE' Keyword |
| 601 |
' ' Text.Whitespace |
| 602 |
'TABLE' Keyword |
| 603 |
' ' Text.Whitespace |
| 604 |
'IF' Keyword |
| 605 |
' ' Text.Whitespace |
| 606 |
'NOT' Keyword |
| 607 |
' ' Text.Whitespace |
| 608 |
'EXISTS' Keyword |
| 609 |
' ' Text.Whitespace |
| 610 |
'my_table' Name |
| 611 |
' ' Text.Whitespace |
| 612 |
'[' Error |
| 613 |
'(' Punctuation |
| 614 |
'my_column' Name |
| 615 |
' ' Text.Whitespace |
| 616 |
'int64' Keyword.Type |
| 617 |
')' Punctuation |
| 618 |
']' Error |
| 619 |
';' Punctuation |
| 620 |
'\n' Text.Whitespace |
| 621 |
|
| 622 |
'SELECT' Keyword |
| 623 |
' ' Text.Whitespace |
| 624 |
'EXTRACT' Keyword |
| 625 |
'(' Punctuation |
| 626 |
'DAY' Keyword |
| 627 |
' ' Text.Whitespace |
| 628 |
'FROM' Keyword |
| 629 |
' ' Text.Whitespace |
| 630 |
'DATE' Keyword.Type |
| 631 |
' ' Text.Whitespace |
| 632 |
"'" Literal.String.Single |
| 633 |
'2013-12-25' Literal.String.Single |
| 634 |
"'" Literal.String.Single |
| 635 |
')' Punctuation |
| 636 |
';' Punctuation |
| 637 |
'\n' Text.Whitespace |
| 638 |
|
| 639 |
'SELECT' Keyword |
| 640 |
' ' Text.Whitespace |
| 641 |
'CAST' Keyword |
| 642 |
'(' Punctuation |
| 643 |
'1' Literal.Number.Integer |
| 644 |
' ' Text.Whitespace |
| 645 |
'AS' Keyword |
| 646 |
' ' Text.Whitespace |
| 647 |
'BOOL' Keyword.Type |
| 648 |
')' Punctuation |
| 649 |
';' Punctuation |
| 650 |
'\n' Text.Whitespace |
| 651 |
|
| 652 |
'SELECT' Keyword |
| 653 |
' ' Text.Whitespace |
| 654 |
'element' Name |
| 655 |
' ' Text.Whitespace |
| 656 |
'from' Keyword |
| 657 |
' ' Text.Whitespace |
| 658 |
'UNNEST' Keyword |
| 659 |
'(' Punctuation |
| 660 |
'[' Error |
| 661 |
'1' Literal.Number.Integer |
| 662 |
',' Punctuation |
| 663 |
' ' Text.Whitespace |
| 664 |
'2' Literal.Number.Integer |
| 665 |
',' Punctuation |
| 666 |
' ' Text.Whitespace |
| 667 |
'3' Literal.Number.Integer |
| 668 |
']' Error |
| 669 |
' ' Text.Whitespace |
| 670 |
'as' Keyword |
| 671 |
' ' Text.Whitespace |
| 672 |
'element' Name |
| 673 |
')' Punctuation |
| 674 |
';' Punctuation |
| 675 |
'\n' Text.Whitespace |
| 676 |
|
| 677 |
'select' Keyword |
| 678 |
' ' Text.Whitespace |
| 679 |
'[' Error |
| 680 |
'1' Literal.Number.Integer |
| 681 |
',' Punctuation |
| 682 |
' ' Text.Whitespace |
| 683 |
'2' Literal.Number.Integer |
| 684 |
',' Punctuation |
| 685 |
' ' Text.Whitespace |
| 686 |
'3' Literal.Number.Integer |
| 687 |
']' Error |
| 688 |
'[' Error |
| 689 |
'OFFSET' Keyword |
| 690 |
'(' Punctuation |
| 691 |
'0' Literal.Number.Integer |
| 692 |
')' Punctuation |
| 693 |
']' Error |
| 694 |
';' Punctuation |
| 695 |
'\n' Text.Whitespace |
| 696 |
|
| 697 |
'SELECT' Keyword |
| 698 |
' ' Text.Whitespace |
| 699 |
'*' Error |
| 700 |
' ' Text.Whitespace |
| 701 |
'FROM' Keyword |
| 702 |
' ' Text.Whitespace |
| 703 |
'UNNEST' Keyword |
| 704 |
'(' Punctuation |
| 705 |
'[' Error |
| 706 |
"'" Literal.String.Single |
| 707 |
'a' Literal.String.Single |
| 708 |
"'" Literal.String.Single |
| 709 |
',' Punctuation |
| 710 |
' ' Text.Whitespace |
| 711 |
"'" Literal.String.Single |
| 712 |
'b' Literal.String.Single |
| 713 |
"'" Literal.String.Single |
| 714 |
']' Error |
| 715 |
')' Punctuation |
| 716 |
' ' Text.Whitespace |
| 717 |
'AS' Keyword |
| 718 |
' ' Text.Whitespace |
| 719 |
'letter' Name |
| 720 |
'\n' Text.Whitespace |
| 721 |
|
| 722 |
'ORDER' Keyword |
| 723 |
' ' Text.Whitespace |
| 724 |
'BY' Keyword |
| 725 |
' ' Text.Whitespace |
| 726 |
'letter' Name |
| 727 |
' ' Text.Whitespace |
| 728 |
'ASC' Keyword |
| 729 |
' ' Text.Whitespace |
| 730 |
'LIMIT' Keyword |
| 731 |
' ' Text.Whitespace |
| 732 |
'1' Literal.Number.Integer |
| 733 |
' ' Text.Whitespace |
| 734 |
'OFFSET' Keyword |
| 735 |
' ' Text.Whitespace |
| 736 |
'1' Literal.Number.Integer |
| 737 |
';' Punctuation |
| 738 |
'\n' Text.Whitespace |
| 739 |
|
| 740 |
'SELECT' Keyword |
| 741 |
' ' Text.Whitespace |
| 742 |
'*' Error |
| 743 |
' ' Text.Whitespace |
| 744 |
'FROM' Keyword |
| 745 |
' ' Text.Whitespace |
| 746 |
'Produce' Name |
| 747 |
' ' Text.Whitespace |
| 748 |
'PIVOT' Keyword |
| 749 |
'(' Punctuation |
| 750 |
'SUM' Name.Function |
| 751 |
'(' Punctuation |
| 752 |
'sales' Name |
| 753 |
')' Punctuation |
| 754 |
' ' Text.Whitespace |
| 755 |
'FOR' Keyword |
| 756 |
' ' Text.Whitespace |
| 757 |
'quarter' Keyword |
| 758 |
' ' Text.Whitespace |
| 759 |
'IN' Keyword |
| 760 |
' ' Text.Whitespace |
| 761 |
'(' Punctuation |
| 762 |
"'" Literal.String.Single |
| 763 |
'Q1' Literal.String.Single |
| 764 |
"'" Literal.String.Single |
| 765 |
',' Punctuation |
| 766 |
' ' Text.Whitespace |
| 767 |
"'" Literal.String.Single |
| 768 |
'Q2' Literal.String.Single |
| 769 |
"'" Literal.String.Single |
| 770 |
',' Punctuation |
| 771 |
' ' Text.Whitespace |
| 772 |
"'" Literal.String.Single |
| 773 |
'Q3' Literal.String.Single |
| 774 |
"'" Literal.String.Single |
| 775 |
',' Punctuation |
| 776 |
' ' Text.Whitespace |
| 777 |
"'" Literal.String.Single |
| 778 |
'Q4' Literal.String.Single |
| 779 |
"'" Literal.String.Single |
| 780 |
')' Punctuation |
| 781 |
')' Punctuation |
| 782 |
'\n' Text.Whitespace |
| 783 |
|
| 784 |
'SELECT' Keyword |
| 785 |
' ' Text.Whitespace |
| 786 |
'*' Error |
| 787 |
' ' Text.Whitespace |
| 788 |
'FROM' Keyword |
| 789 |
' ' Text.Whitespace |
| 790 |
'Produce' Name |
| 791 |
' ' Text.Whitespace |
| 792 |
'UNPIVOT' Keyword |
| 793 |
'(' Punctuation |
| 794 |
'sales' Name |
| 795 |
' ' Text.Whitespace |
| 796 |
'FOR' Keyword |
| 797 |
' ' Text.Whitespace |
| 798 |
'quarter' Keyword |
| 799 |
' ' Text.Whitespace |
| 800 |
'IN' Keyword |
| 801 |
' ' Text.Whitespace |
| 802 |
'(' Punctuation |
| 803 |
'Q1' Name |
| 804 |
',' Punctuation |
| 805 |
' ' Text.Whitespace |
| 806 |
'Q2' Name |
| 807 |
',' Punctuation |
| 808 |
' ' Text.Whitespace |
| 809 |
'Q3' Name |
| 810 |
',' Punctuation |
| 811 |
' ' Text.Whitespace |
| 812 |
'Q4' Name |
| 813 |
')' Punctuation |
| 814 |
')' Punctuation |
| 815 |
'\n\n' Text.Whitespace |
| 816 |
|
| 817 |
'## comments' Comment.Single |
| 818 |
'\n\n' Text.Whitespace |
| 819 |
|
| 820 |
'SELECT' Keyword |
| 821 |
' ' Text.Whitespace |
| 822 |
'TRUE' Name.Constant |
| 823 |
';' Punctuation |
| 824 |
' ' Text.Whitespace |
| 825 |
'-- double-dash comment' Comment.Single |
| 826 |
'\n' Text.Whitespace |
| 827 |
|
| 828 |
'SELECT' Keyword |
| 829 |
' ' Text.Whitespace |
| 830 |
'TRUE' Name.Constant |
| 831 |
';' Punctuation |
| 832 |
' ' Text.Whitespace |
| 833 |
'# hash comment' Comment.Single |
| 834 |
'\n' Text.Whitespace |
| 835 |
|
| 836 |
'SELECT' Keyword |
| 837 |
' ' Text.Whitespace |
| 838 |
'TRUE' Name.Constant |
| 839 |
';' Punctuation |
| 840 |
' ' Text.Whitespace |
| 841 |
'/' Error |
| 842 |
'/' Error |
| 843 |
' ' Text.Whitespace |
| 844 |
'this' Name |
| 845 |
' ' Text.Whitespace |
| 846 |
'is' Keyword |
| 847 |
' ' Text.Whitespace |
| 848 |
'a' Name |
| 849 |
' ' Text.Whitespace |
| 850 |
'comment' Name |
| 851 |
'\n' Text.Whitespace |
| 852 |
|
| 853 |
'SELECT' Keyword |
| 854 |
' ' Text.Whitespace |
| 855 |
'/*' Comment.Multiline |
| 856 |
' this is block comment ' Comment.Multiline |
| 857 |
'*/' Comment.Multiline |
| 858 |
' ' Text.Whitespace |
| 859 |
'TRUE' Name.Constant |
| 860 |
';' Punctuation |
| 861 |
'\n' Text.Whitespace |
| 862 |
|
| 863 |
'# Bracket comments in stock SQL VS Code config are not supported in GoogleSQL' Comment.Single |
| 864 |
'\n' Text.Whitespace |
| 865 |
|
| 866 |
'SELECT' Keyword |
| 867 |
' ' Text.Whitespace |
| 868 |
'%' Error |
| 869 |
'{' Error |
| 870 |
'bracket' Name |
| 871 |
' ' Text.Whitespace |
| 872 |
'comment' Name |
| 873 |
'}' Error |
| 874 |
';' Punctuation |
| 875 |
'\n\n' Text.Whitespace |
| 876 |
|
| 877 |
'## embedding JS' Comment.Single |
| 878 |
'\n\n' Text.Whitespace |
| 879 |
|
| 880 |
'CREATE' Keyword |
| 881 |
' ' Text.Whitespace |
| 882 |
'FUNCTION' Keyword |
| 883 |
' ' Text.Whitespace |
| 884 |
'f' Name |
| 885 |
'(' Punctuation |
| 886 |
'x' Name |
| 887 |
' ' Text.Whitespace |
| 888 |
'INT' Name |
| 889 |
',' Punctuation |
| 890 |
' ' Text.Whitespace |
| 891 |
'y' Name |
| 892 |
' ' Text.Whitespace |
| 893 |
'INT' Name |
| 894 |
')' Punctuation |
| 895 |
'\n' Text.Whitespace |
| 896 |
|
| 897 |
'RETURNS' Keyword |
| 898 |
' ' Text.Whitespace |
| 899 |
'DOUBLE' Keyword.Type |
| 900 |
' ' Text.Whitespace |
| 901 |
'LANGUAGE' Keyword |
| 902 |
' ' Text.Whitespace |
| 903 |
'js' Name |
| 904 |
' ' Text.Whitespace |
| 905 |
'AS' Keyword |
| 906 |
' ' Text.Whitespace |
| 907 |
'"' Literal.String.Double |
| 908 |
'""' Literal.String.Escape |
| 909 |
'return (x*y);' Literal.String.Double |
| 910 |
'""' Literal.String.Escape |
| 911 |
'"' Literal.String.Double |
| 912 |
';' Punctuation |
| 913 |
'\n\n' Text.Whitespace |
| 914 |
|
| 915 |
'## embedding Lua' Comment.Single |
| 916 |
'\n\n' Text.Whitespace |
| 917 |
|
| 918 |
'CREATE' Keyword |
| 919 |
' ' Text.Whitespace |
| 920 |
'FUNCTION' Keyword |
| 921 |
' ' Text.Whitespace |
| 922 |
'f' Name |
| 923 |
'(' Punctuation |
| 924 |
'x' Name |
| 925 |
' ' Text.Whitespace |
| 926 |
'INT' Name |
| 927 |
',' Punctuation |
| 928 |
' ' Text.Whitespace |
| 929 |
'y' Name |
| 930 |
' ' Text.Whitespace |
| 931 |
'INT' Name |
| 932 |
')' Punctuation |
| 933 |
'\n' Text.Whitespace |
| 934 |
|
| 935 |
'RETURNS' Keyword |
| 936 |
' ' Text.Whitespace |
| 937 |
'DOUBLE' Keyword.Type |
| 938 |
' ' Text.Whitespace |
| 939 |
'LANGUAGE' Keyword |
| 940 |
' ' Text.Whitespace |
| 941 |
'lua' Name |
| 942 |
' ' Text.Whitespace |
| 943 |
'AS' Keyword |
| 944 |
' ' Text.Whitespace |
| 945 |
'"' Literal.String.Double |
| 946 |
'""' Literal.String.Escape |
| 947 |
'return (x*y);' Literal.String.Double |
| 948 |
'""' Literal.String.Escape |
| 949 |
'"' Literal.String.Double |
| 950 |
';' Punctuation |
| 951 |
'\n\n' Text.Whitespace |
| 952 |
|
| 953 |
'### strings' Comment.Single |
| 954 |
'\n\n' Text.Whitespace |
| 955 |
|
| 956 |
'SELECT' Keyword |
| 957 |
' ' Text.Whitespace |
| 958 |
"'" Literal.String.Single |
| 959 |
'Hi !' Literal.String.Single |
| 960 |
"'" Literal.String.Single |
| 961 |
';' Punctuation |
| 962 |
'\n' Text.Whitespace |
| 963 |
|
| 964 |
'SELECT' Keyword |
| 965 |
' ' Text.Whitespace |
| 966 |
'"' Literal.String.Double |
| 967 |
'Hi !' Literal.String.Double |
| 968 |
'"' Literal.String.Double |
| 969 |
';' Punctuation |
| 970 |
'\n' Text.Whitespace |
| 971 |
|
| 972 |
'SELECT' Keyword |
| 973 |
' ' Text.Whitespace |
| 974 |
"'" Literal.String.Single |
| 975 |
'a tab ' Literal.String.Single |
| 976 |
'\\t' Literal.String.Escape |
| 977 |
' in a single-quoted string' Literal.String.Single |
| 978 |
"'" Literal.String.Single |
| 979 |
';' Punctuation |
| 980 |
'\n' Text.Whitespace |
| 981 |
|
| 982 |
'SELECT' Keyword |
| 983 |
' ' Text.Whitespace |
| 984 |
'"' Literal.String.Double |
| 985 |
'a tab ' Literal.String.Double |
| 986 |
'\\t' Literal.String.Escape |
| 987 |
' in a single-quoted string' Literal.String.Double |
| 988 |
'"' Literal.String.Double |
| 989 |
';' Punctuation |
| 990 |
'\n' Text.Whitespace |
| 991 |
|
| 992 |
'SELECT' Keyword |
| 993 |
' ' Text.Whitespace |
| 994 |
'"' Literal.String.Double |
| 995 |
'string with a # sign' Literal.String.Double |
| 996 |
'"' Literal.String.Double |
| 997 |
';' Punctuation |
| 998 |
'\n' Text.Whitespace |
| 999 |
|
| 1000 |
'SELECT' Keyword |
| 1001 |
' ' Text.Whitespace |
| 1002 |
"'" Literal.String.Single |
| 1003 |
'string with a # sign' Literal.String.Single |
| 1004 |
"'" Literal.String.Single |
| 1005 |
';' Punctuation |
| 1006 |
'\n' Text.Whitespace |
| 1007 |
|
| 1008 |
'SELECT' Keyword |
| 1009 |
' ' Text.Whitespace |
| 1010 |
"'" Literal.String.Single |
| 1011 |
'a string with a ' Literal.String.Single |
| 1012 |
"\\'" Literal.String.Escape |
| 1013 |
' single quote' Literal.String.Single |
| 1014 |
"'" Literal.String.Single |
| 1015 |
';' Punctuation |
| 1016 |
'\n' Text.Whitespace |
| 1017 |
|
| 1018 |
'SELECT' Keyword |
| 1019 |
' ' Text.Whitespace |
| 1020 |
'"' Literal.String.Double |
| 1021 |
'a string with a ' Literal.String.Double |
| 1022 |
'\\"' Literal.String.Escape |
| 1023 |
' double quote' Literal.String.Double |
| 1024 |
'"' Literal.String.Double |
| 1025 |
';' Punctuation |
| 1026 |
'\n' Text.Whitespace |
| 1027 |
|
| 1028 |
'SELECT' Keyword |
| 1029 |
' ' Text.Whitespace |
| 1030 |
'"' Literal.String.Double |
| 1031 |
'""' Literal.String.Escape |
| 1032 |
'triple double quote' Literal.String.Double |
| 1033 |
'""' Literal.String.Escape |
| 1034 |
'"' Literal.String.Double |
| 1035 |
';' Punctuation |
| 1036 |
'\n' Text.Whitespace |
| 1037 |
|
| 1038 |
'SELECT' Keyword |
| 1039 |
' ' Text.Whitespace |
| 1040 |
"'" Literal.String.Single |
| 1041 |
"''" Literal.String.Escape |
| 1042 |
'triple single quote' Literal.String.Single |
| 1043 |
"''" Literal.String.Escape |
| 1044 |
"'" Literal.String.Single |
| 1045 |
';' Punctuation |
| 1046 |
'\n' Text.Whitespace |
| 1047 |
|
| 1048 |
'SELECT' Keyword |
| 1049 |
' ' Text.Whitespace |
| 1050 |
"'" Literal.String.Single |
| 1051 |
'triple single quote no word boundary' Literal.String.Single |
| 1052 |
"'" Literal.String.Single |
| 1053 |
';' Punctuation |
| 1054 |
'\n' Text.Whitespace |
| 1055 |
|
| 1056 |
'SELECT' Keyword |
| 1057 |
' ' Text.Whitespace |
| 1058 |
'"' Literal.String.Double |
| 1059 |
'triple single quote no word boundary' Literal.String.Double |
| 1060 |
'"' Literal.String.Double |
| 1061 |
';' Punctuation |
| 1062 |
'\n' Text.Whitespace |
| 1063 |
|
| 1064 |
'SELECT' Keyword |
| 1065 |
' ' Text.Whitespace |
| 1066 |
"'" Literal.String.Single |
| 1067 |
"''" Literal.String.Escape |
| 1068 |
'triple single quote no word boundary' Literal.String.Single |
| 1069 |
"''" Literal.String.Escape |
| 1070 |
"'" Literal.String.Single |
| 1071 |
';' Punctuation |
| 1072 |
'\n' Text.Whitespace |
| 1073 |
|
| 1074 |
'SELECT' Keyword |
| 1075 |
' ' Text.Whitespace |
| 1076 |
'b' Name |
| 1077 |
"'" Literal.String.Single |
| 1078 |
'binary single quoted string' Literal.String.Single |
| 1079 |
"'" Literal.String.Single |
| 1080 |
';' Punctuation |
| 1081 |
'\n' Text.Whitespace |
| 1082 |
|
| 1083 |
'SELECT' Keyword |
| 1084 |
' ' Text.Whitespace |
| 1085 |
'B' Name |
| 1086 |
"'" Literal.String.Single |
| 1087 |
'binary single quoted string' Literal.String.Single |
| 1088 |
"'" Literal.String.Single |
| 1089 |
';' Punctuation |
| 1090 |
'\n' Text.Whitespace |
| 1091 |
|
| 1092 |
'SELECT' Keyword |
| 1093 |
' ' Text.Whitespace |
| 1094 |
'b' Name |
| 1095 |
'"' Literal.String.Double |
| 1096 |
'binary double quoted string' Literal.String.Double |
| 1097 |
'"' Literal.String.Double |
| 1098 |
';' Punctuation |
| 1099 |
'\n' Text.Whitespace |
| 1100 |
|
| 1101 |
'SELECT' Keyword |
| 1102 |
' ' Text.Whitespace |
| 1103 |
'B' Name |
| 1104 |
'"' Literal.String.Double |
| 1105 |
'binary double quoted string' Literal.String.Double |
| 1106 |
'"' Literal.String.Double |
| 1107 |
';' Punctuation |
| 1108 |
'\n' Text.Whitespace |
| 1109 |
|
| 1110 |
'SELECT' Keyword |
| 1111 |
' ' Text.Whitespace |
| 1112 |
'b' Name |
| 1113 |
"'" Literal.String.Single |
| 1114 |
"''" Literal.String.Escape |
| 1115 |
'triple single quote' Literal.String.Single |
| 1116 |
"''" Literal.String.Escape |
| 1117 |
"'" Literal.String.Single |
| 1118 |
';' Punctuation |
| 1119 |
'\n' Text.Whitespace |
| 1120 |
|
| 1121 |
'SELECT' Keyword |
| 1122 |
' ' Text.Whitespace |
| 1123 |
'B' Name |
| 1124 |
"'" Literal.String.Single |
| 1125 |
"''" Literal.String.Escape |
| 1126 |
'triple single quote' Literal.String.Single |
| 1127 |
"''" Literal.String.Escape |
| 1128 |
"'" Literal.String.Single |
| 1129 |
';' Punctuation |
| 1130 |
'\n' Text.Whitespace |
| 1131 |
|
| 1132 |
'SELECT' Keyword |
| 1133 |
' ' Text.Whitespace |
| 1134 |
'b' Name |
| 1135 |
'"' Literal.String.Double |
| 1136 |
'""' Literal.String.Escape |
| 1137 |
'triple double quote' Literal.String.Double |
| 1138 |
'""' Literal.String.Escape |
| 1139 |
'"' Literal.String.Double |
| 1140 |
';' Punctuation |
| 1141 |
'\n' Text.Whitespace |
| 1142 |
|
| 1143 |
'SELECT' Keyword |
| 1144 |
' ' Text.Whitespace |
| 1145 |
'B' Name |
| 1146 |
'"' Literal.String.Double |
| 1147 |
'""' Literal.String.Escape |
| 1148 |
'triple double quote' Literal.String.Double |
| 1149 |
'""' Literal.String.Escape |
| 1150 |
'"' Literal.String.Double |
| 1151 |
';' Punctuation |
| 1152 |
'\n' Text.Whitespace |
| 1153 |
|
| 1154 |
'SELECT' Keyword |
| 1155 |
' ' Text.Whitespace |
| 1156 |
'r' Name |
| 1157 |
'"' Literal.String.Double |
| 1158 |
'raw single quoted string' Literal.String.Double |
| 1159 |
'"' Literal.String.Double |
| 1160 |
';' Punctuation |
| 1161 |
'\n' Text.Whitespace |
| 1162 |
|
| 1163 |
'SELECT' Keyword |
| 1164 |
' ' Text.Whitespace |
| 1165 |
'r' Name |
| 1166 |
'"' Literal.String.Double |
| 1167 |
'double quote' Literal.String.Double |
| 1168 |
'"' Literal.String.Double |
| 1169 |
';' Punctuation |
| 1170 |
'\n' Text.Whitespace |
| 1171 |
|
| 1172 |
'SELECT' Keyword |
| 1173 |
' ' Text.Whitespace |
| 1174 |
'rb' Name |
| 1175 |
'"' Literal.String.Double |
| 1176 |
'double quote' Literal.String.Double |
| 1177 |
'"' Literal.String.Double |
| 1178 |
';' Punctuation |
| 1179 |
'\n' Text.Whitespace |
| 1180 |
|
| 1181 |
'SELECT' Keyword |
| 1182 |
' ' Text.Whitespace |
| 1183 |
'rB' Name |
| 1184 |
'"' Literal.String.Double |
| 1185 |
'double quote' Literal.String.Double |
| 1186 |
'"' Literal.String.Double |
| 1187 |
';' Punctuation |
| 1188 |
'\n' Text.Whitespace |
| 1189 |
|
| 1190 |
'SELECT' Keyword |
| 1191 |
' ' Text.Whitespace |
| 1192 |
'R' Name |
| 1193 |
'"' Literal.String.Double |
| 1194 |
'double quote' Literal.String.Double |
| 1195 |
'"' Literal.String.Double |
| 1196 |
';' Punctuation |
| 1197 |
'\n' Text.Whitespace |
| 1198 |
|
| 1199 |
'SELECT' Keyword |
| 1200 |
' ' Text.Whitespace |
| 1201 |
'Rb' Name |
| 1202 |
'"' Literal.String.Double |
| 1203 |
'double quote' Literal.String.Double |
| 1204 |
'"' Literal.String.Double |
| 1205 |
';' Punctuation |
| 1206 |
'\n' Text.Whitespace |
| 1207 |
|
| 1208 |
'SELECT' Keyword |
| 1209 |
' ' Text.Whitespace |
| 1210 |
'RB' Name |
| 1211 |
'"' Literal.String.Double |
| 1212 |
'double quote' Literal.String.Double |
| 1213 |
'"' Literal.String.Double |
| 1214 |
';' Punctuation |
| 1215 |
'\n' Text.Whitespace |
| 1216 |
|
| 1217 |
'SELECT' Keyword |
| 1218 |
' ' Text.Whitespace |
| 1219 |
'r' Name |
| 1220 |
"'" Literal.String.Single |
| 1221 |
'single quote' Literal.String.Single |
| 1222 |
"'" Literal.String.Single |
| 1223 |
';' Punctuation |
| 1224 |
'\n' Text.Whitespace |
| 1225 |
|
| 1226 |
'SELECT' Keyword |
| 1227 |
' ' Text.Whitespace |
| 1228 |
'rb' Name |
| 1229 |
"'" Literal.String.Single |
| 1230 |
'single quote' Literal.String.Single |
| 1231 |
"'" Literal.String.Single |
| 1232 |
';' Punctuation |
| 1233 |
'\n' Text.Whitespace |
| 1234 |
|
| 1235 |
'SELECT' Keyword |
| 1236 |
' ' Text.Whitespace |
| 1237 |
'rB' Name |
| 1238 |
"'" Literal.String.Single |
| 1239 |
'single quote' Literal.String.Single |
| 1240 |
"'" Literal.String.Single |
| 1241 |
';' Punctuation |
| 1242 |
'\n' Text.Whitespace |
| 1243 |
|
| 1244 |
'SELECT' Keyword |
| 1245 |
' ' Text.Whitespace |
| 1246 |
'R' Name |
| 1247 |
"'" Literal.String.Single |
| 1248 |
'single quote' Literal.String.Single |
| 1249 |
"'" Literal.String.Single |
| 1250 |
';' Punctuation |
| 1251 |
'\n' Text.Whitespace |
| 1252 |
|
| 1253 |
'SELECT' Keyword |
| 1254 |
' ' Text.Whitespace |
| 1255 |
'Rb' Name |
| 1256 |
"'" Literal.String.Single |
| 1257 |
'single quote' Literal.String.Single |
| 1258 |
"'" Literal.String.Single |
| 1259 |
';' Punctuation |
| 1260 |
'\n' Text.Whitespace |
| 1261 |
|
| 1262 |
'SELECT' Keyword |
| 1263 |
' ' Text.Whitespace |
| 1264 |
'RB' Name |
| 1265 |
"'" Literal.String.Single |
| 1266 |
'single quote' Literal.String.Single |
| 1267 |
"'" Literal.String.Single |
| 1268 |
';' Punctuation |
| 1269 |
'\n' Text.Whitespace |
| 1270 |
|
| 1271 |
'SELECT' Keyword |
| 1272 |
' ' Text.Whitespace |
| 1273 |
'r' Name |
| 1274 |
"'" Literal.String.Single |
| 1275 |
'single quote with an uninterpreted ' Literal.String.Single |
| 1276 |
"\\'" Literal.String.Escape |
| 1277 |
' escape' Literal.String.Single |
| 1278 |
"'" Literal.String.Single |
| 1279 |
';' Punctuation |
| 1280 |
'\n' Text.Whitespace |
| 1281 |
|
| 1282 |
'SELECT' Keyword |
| 1283 |
' ' Text.Whitespace |
| 1284 |
'b' Name |
| 1285 |
"'" Literal.String.Single |
| 1286 |
'single quote with an *interpreted* ' Literal.String.Single |
| 1287 |
"\\'" Literal.String.Escape |
| 1288 |
' escape' Literal.String.Single |
| 1289 |
"'" Literal.String.Single |
| 1290 |
';' Punctuation |
| 1291 |
'\n' Text.Whitespace |
| 1292 |
|
| 1293 |
'SELECT' Keyword |
| 1294 |
' ' Text.Whitespace |
| 1295 |
'r' Name |
| 1296 |
'"' Literal.String.Double |
| 1297 |
'""' Literal.String.Escape |
| 1298 |
'raw single quoted string' Literal.String.Double |
| 1299 |
'""' Literal.String.Escape |
| 1300 |
'"' Literal.String.Double |
| 1301 |
';' Punctuation |
| 1302 |
'\n' Text.Whitespace |
| 1303 |
|
| 1304 |
'SELECT' Keyword |
| 1305 |
' ' Text.Whitespace |
| 1306 |
'r' Name |
| 1307 |
"'" Literal.String.Single |
| 1308 |
"''" Literal.String.Escape |
| 1309 |
'triple single quote' Literal.String.Single |
| 1310 |
"''" Literal.String.Escape |
| 1311 |
"'" Literal.String.Single |
| 1312 |
';' Punctuation |
| 1313 |
'\n' Text.Whitespace |
| 1314 |
|
| 1315 |
'SELECT' Keyword |
| 1316 |
' ' Text.Whitespace |
| 1317 |
'rb' Name |
| 1318 |
"'" Literal.String.Single |
| 1319 |
"''" Literal.String.Escape |
| 1320 |
'triple single quote' Literal.String.Single |
| 1321 |
"''" Literal.String.Escape |
| 1322 |
"'" Literal.String.Single |
| 1323 |
';' Punctuation |
| 1324 |
'\n' Text.Whitespace |
| 1325 |
|
| 1326 |
'SELECT' Keyword |
| 1327 |
' ' Text.Whitespace |
| 1328 |
'rB' Name |
| 1329 |
"'" Literal.String.Single |
| 1330 |
"''" Literal.String.Escape |
| 1331 |
'triple single quote' Literal.String.Single |
| 1332 |
"''" Literal.String.Escape |
| 1333 |
"'" Literal.String.Single |
| 1334 |
';' Punctuation |
| 1335 |
'\n' Text.Whitespace |
| 1336 |
|
| 1337 |
'SELECT' Keyword |
| 1338 |
' ' Text.Whitespace |
| 1339 |
'R' Name |
| 1340 |
"'" Literal.String.Single |
| 1341 |
"''" Literal.String.Escape |
| 1342 |
'triple single quote' Literal.String.Single |
| 1343 |
"''" Literal.String.Escape |
| 1344 |
"'" Literal.String.Single |
| 1345 |
';' Punctuation |
| 1346 |
'\n' Text.Whitespace |
| 1347 |
|
| 1348 |
'SELECT' Keyword |
| 1349 |
' ' Text.Whitespace |
| 1350 |
'Rb' Name |
| 1351 |
"'" Literal.String.Single |
| 1352 |
"''" Literal.String.Escape |
| 1353 |
'triple single quote' Literal.String.Single |
| 1354 |
"''" Literal.String.Escape |
| 1355 |
"'" Literal.String.Single |
| 1356 |
';' Punctuation |
| 1357 |
'\n' Text.Whitespace |
| 1358 |
|
| 1359 |
'SELECT' Keyword |
| 1360 |
' ' Text.Whitespace |
| 1361 |
'RB' Name |
| 1362 |
"'" Literal.String.Single |
| 1363 |
"''" Literal.String.Escape |
| 1364 |
'triple single quote' Literal.String.Single |
| 1365 |
"''" Literal.String.Escape |
| 1366 |
"'" Literal.String.Single |
| 1367 |
';' Punctuation |
| 1368 |
'\n' Text.Whitespace |
| 1369 |
|
| 1370 |
'SELECT' Keyword |
| 1371 |
' ' Text.Whitespace |
| 1372 |
'r' Name |
| 1373 |
'"' Literal.String.Double |
| 1374 |
'""' Literal.String.Escape |
| 1375 |
'triple double quote' Literal.String.Double |
| 1376 |
'""' Literal.String.Escape |
| 1377 |
'"' Literal.String.Double |
| 1378 |
';' Punctuation |
| 1379 |
'\n' Text.Whitespace |
| 1380 |
|
| 1381 |
'SELECT' Keyword |
| 1382 |
' ' Text.Whitespace |
| 1383 |
'rb' Name |
| 1384 |
'"' Literal.String.Double |
| 1385 |
'""' Literal.String.Escape |
| 1386 |
'triple double quote' Literal.String.Double |
| 1387 |
'""' Literal.String.Escape |
| 1388 |
'"' Literal.String.Double |
| 1389 |
';' Punctuation |
| 1390 |
'\n' Text.Whitespace |
| 1391 |
|
| 1392 |
'SELECT' Keyword |
| 1393 |
' ' Text.Whitespace |
| 1394 |
'rB' Name |
| 1395 |
'"' Literal.String.Double |
| 1396 |
'""' Literal.String.Escape |
| 1397 |
'triple double quote' Literal.String.Double |
| 1398 |
'""' Literal.String.Escape |
| 1399 |
'"' Literal.String.Double |
| 1400 |
';' Punctuation |
| 1401 |
'\n' Text.Whitespace |
| 1402 |
|
| 1403 |
'SELECT' Keyword |
| 1404 |
' ' Text.Whitespace |
| 1405 |
'R' Name |
| 1406 |
'"' Literal.String.Double |
| 1407 |
'""' Literal.String.Escape |
| 1408 |
'triple double quote' Literal.String.Double |
| 1409 |
'""' Literal.String.Escape |
| 1410 |
'"' Literal.String.Double |
| 1411 |
';' Punctuation |
| 1412 |
'\n' Text.Whitespace |
| 1413 |
|
| 1414 |
'SELECT' Keyword |
| 1415 |
' ' Text.Whitespace |
| 1416 |
'Rb' Name |
| 1417 |
'"' Literal.String.Double |
| 1418 |
'""' Literal.String.Escape |
| 1419 |
'triple double quote' Literal.String.Double |
| 1420 |
'""' Literal.String.Escape |
| 1421 |
'"' Literal.String.Double |
| 1422 |
';' Punctuation |
| 1423 |
'\n' Text.Whitespace |
| 1424 |
|
| 1425 |
'SELECT' Keyword |
| 1426 |
' ' Text.Whitespace |
| 1427 |
'RB' Name |
| 1428 |
'"' Literal.String.Double |
| 1429 |
'""' Literal.String.Escape |
| 1430 |
'triple double quote' Literal.String.Double |
| 1431 |
'""' Literal.String.Escape |
| 1432 |
'"' Literal.String.Double |
| 1433 |
';' Punctuation |
| 1434 |
'\n' Text.Whitespace |
| 1435 |
|
| 1436 |
'SELECT' Keyword |
| 1437 |
' ' Text.Whitespace |
| 1438 |
'RBr' Name |
| 1439 |
'"' Literal.String.Double |
| 1440 |
'""' Literal.String.Escape |
| 1441 |
'triple double quote' Literal.String.Double |
| 1442 |
'""' Literal.String.Escape |
| 1443 |
'"' Literal.String.Double |
| 1444 |
';' Punctuation |
| 1445 |
'\n' Text.Whitespace |
| 1446 |
|
| 1447 |
'SELECT' Keyword |
| 1448 |
' ' Text.Whitespace |
| 1449 |
'RBb' Name |
| 1450 |
'"' Literal.String.Double |
| 1451 |
'""' Literal.String.Escape |
| 1452 |
'triple double quote' Literal.String.Double |
| 1453 |
'""' Literal.String.Escape |
| 1454 |
'"' Literal.String.Double |
| 1455 |
';' Punctuation |
| 1456 |
'\n' Text.Whitespace |
| 1457 |
|
| 1458 |
'SELECT' Keyword |
| 1459 |
' ' Text.Whitespace |
| 1460 |
'rr' Name |
| 1461 |
'"' Literal.String.Double |
| 1462 |
'invalid raw single quoted string' Literal.String.Double |
| 1463 |
'"' Literal.String.Double |
| 1464 |
';' Punctuation |
| 1465 |
'\n' Text.Whitespace |
| 1466 |
|
| 1467 |
'SELECT' Keyword |
| 1468 |
' ' Text.Whitespace |
| 1469 |
'rr' Name |
| 1470 |
'"' Literal.String.Double |
| 1471 |
'""' Literal.String.Escape |
| 1472 |
'invalid raw single quoted string' Literal.String.Double |
| 1473 |
'""' Literal.String.Escape |
| 1474 |
'"' Literal.String.Double |
| 1475 |
';' Punctuation |
| 1476 |
'\n' Text.Whitespace |
| 1477 |
|
| 1478 |
'SELECT' Keyword |
| 1479 |
' ' Text.Whitespace |
| 1480 |
'rr' Name |
| 1481 |
"'" Literal.String.Single |
| 1482 |
'invalid raw single quoted string' Literal.String.Single |
| 1483 |
"'" Literal.String.Single |
| 1484 |
';' Punctuation |
| 1485 |
'\n' Text.Whitespace |