--- source: prqlc/prqlc/tests/integration/queries.rs expression: tokens input_file: prqlc/prqlc/tests/integration/queries/date_to_text.prql snapshot_kind: text --- Tokens( [ 0..0: Start, 0..14: Comment(" generic:skip"), 14..15: NewLine, 15..29: Comment(" glaredb:skip"), 29..30: NewLine, 30..43: Comment(" sqlite:skip"), 43..44: NewLine, 44..56: Comment(" mssql:test"), 56..57: NewLine, 57..61: Ident("from"), 62..70: Ident("invoices"), 70..71: NewLine, 71..75: Ident("take"), 76..78: Literal(Integer(20)), 78..79: NewLine, 79..85: Ident("select"), 86..87: Control('{'), 87..88: NewLine, 92..94: Ident("d1"), 95..96: Control('='), 97..98: Control('('), 98..110: Ident("invoice_date"), 111..112: Control('|'), 113..117: Ident("date"), 117..118: Control('.'), 118..125: Ident("to_text"), 126..136: Literal(String("%Y/%m/%d")), 136..137: Control(')'), 137..138: Control(','), 138..139: NewLine, 143..145: Ident("d2"), 146..147: Control('='), 148..149: Control('('), 149..161: Ident("invoice_date"), 162..163: Control('|'), 164..168: Ident("date"), 168..169: Control('.'), 169..176: Ident("to_text"), 177..181: Literal(String("%F")), 181..182: Control(')'), 182..183: Control(','), 183..184: NewLine, 188..190: Ident("d3"), 191..192: Control('='), 193..194: Control('('), 194..206: Ident("invoice_date"), 207..208: Control('|'), 209..213: Ident("date"), 213..214: Control('.'), 214..221: Ident("to_text"), 222..226: Literal(String("%D")), 226..227: Control(')'), 227..228: Control(','), 228..229: NewLine, 233..235: Ident("d4"), 236..237: Control('='), 238..239: Control('('), 239..251: Ident("invoice_date"), 252..253: Control('|'), 254..258: Ident("date"), 258..259: Control('.'), 259..266: Ident("to_text"), 267..280: Literal(String("%H:%M:%S.%f")), 280..281: Control(')'), 281..282: Control(','), 282..283: NewLine, 287..289: Ident("d5"), 290..291: Control('='), 292..293: Control('('), 293..305: Ident("invoice_date"), 306..307: Control('|'), 308..312: Ident("date"), 312..313: Control('.'), 313..320: Ident("to_text"), 321..325: Literal(String("%r")), 325..326: Control(')'), 326..327: Control(','), 327..328: NewLine, 332..334: Ident("d6"), 335..336: Control('='), 337..338: Control('('), 338..350: Ident("invoice_date"), 351..352: Control('|'), 353..357: Ident("date"), 357..358: Control('.'), 358..365: Ident("to_text"), 366..380: Literal(String("%A %B %-d %Y")), 380..381: Control(')'), 381..382: Control(','), 382..383: NewLine, 387..389: Ident("d7"), 390..391: Control('='), 392..393: Control('('), 393..405: Ident("invoice_date"), 406..407: Control('|'), 408..412: Ident("date"), 412..413: Control('.'), 413..420: Ident("to_text"), 421..451: Literal(String("%a, %-d %b %Y at %I:%M:%S %p")), 451..452: Control(')'), 452..453: Control(','), 453..454: NewLine, 458..460: Ident("d8"), 461..462: Control('='), 463..464: Control('('), 464..476: Ident("invoice_date"), 477..478: Control('|'), 479..483: Ident("date"), 483..484: Control('.'), 484..491: Ident("to_text"), 492..496: Literal(String("%+")), 496..497: Control(')'), 497..498: Control(','), 498..499: NewLine, 503..505: Ident("d9"), 506..507: Control('='), 508..509: Control('('), 509..521: Ident("invoice_date"), 522..523: Control('|'), 524..528: Ident("date"), 528..529: Control('.'), 529..536: Ident("to_text"), 537..549: Literal(String("%-d/%-m/%y")), 549..550: Control(')'), 550..551: Control(','), 551..552: NewLine, 556..559: Ident("d10"), 560..561: Control('='), 562..563: Control('('), 563..575: Ident("invoice_date"), 576..577: Control('|'), 578..582: Ident("date"), 582..583: Control('.'), 583..590: Ident("to_text"), 591..603: Literal(String("%-Hh %Mmin")), 603..604: Control(')'), 604..605: Control(','), 605..606: NewLine, 610..613: Ident("d11"), 614..615: Control('='), 616..617: Control('('), 617..629: Ident("invoice_date"), 630..631: Control('|'), 632..636: Ident("date"), 636..637: Control('.'), 637..644: Ident("to_text"), 645..654: Literal(String("%M'%S\"")), 654..655: Control(')'), 655..656: Control(','), 656..657: NewLine, 661..664: Ident("d12"), 665..666: Control('='), 667..668: Control('('), 668..680: Ident("invoice_date"), 681..682: Control('|'), 683..687: Ident("date"), 687..688: Control('.'), 688..695: Ident("to_text"), 696..714: Literal(String("100%% in %d days")), 714..715: Control(')'), 715..716: Control(','), 716..717: NewLine, 717..718: Control('}'), 718..719: NewLine, ], )