--- source: prqlc/prqlc/tests/integration/queries.rs expression: tokens input_file: prqlc/prqlc/tests/integration/queries/text_module.prql snapshot_kind: text --- Tokens( [ 0..0: Start, 0..12: Comment(" mssql:test"), 12..13: NewLine, 13..93: Comment(" glaredb:skip — TODO: started raising an error on 2024-05-20; see `window.prql`"), 93..94: NewLine, 94..112: Comment(" for more details"), 112..113: NewLine, 113..117: Ident("from"), 118..124: Ident("albums"), 124..125: NewLine, 125..131: Ident("select"), 132..133: Control('{'), 133..134: NewLine, 138..143: Ident("title"), 143..144: Control(','), 144..145: NewLine, 149..165: Ident("title_and_spaces"), 166..167: Control('='), 168..182: Interpolation('f', " {title} "), 182..183: Control(','), 183..184: NewLine, 188..191: Ident("low"), 192..193: Control('='), 194..195: Control('('), 195..200: Ident("title"), 201..202: Control('|'), 203..207: Ident("text"), 207..208: Control('.'), 208..213: Ident("lower"), 213..214: Control(')'), 214..215: Control(','), 215..216: NewLine, 220..222: Ident("up"), 223..224: Control('='), 225..226: Control('('), 226..231: Ident("title"), 232..233: Control('|'), 234..238: Ident("text"), 238..239: Control('.'), 239..244: Ident("upper"), 244..245: Control(')'), 245..246: Control(','), 246..247: NewLine, 251..259: Ident("ltrimmed"), 260..261: Control('='), 262..263: Control('('), 263..268: Ident("title"), 269..270: Control('|'), 271..275: Ident("text"), 275..276: Control('.'), 276..281: Ident("ltrim"), 281..282: Control(')'), 282..283: Control(','), 283..284: NewLine, 288..296: Ident("rtrimmed"), 297..298: Control('='), 299..300: Control('('), 300..305: Ident("title"), 306..307: Control('|'), 308..312: Ident("text"), 312..313: Control('.'), 313..318: Ident("rtrim"), 318..319: Control(')'), 319..320: Control(','), 320..321: NewLine, 325..332: Ident("trimmed"), 333..334: Control('='), 335..336: Control('('), 336..341: Ident("title"), 342..343: Control('|'), 344..348: Ident("text"), 348..349: Control('.'), 349..353: Ident("trim"), 353..354: Control(')'), 354..355: Control(','), 355..356: NewLine, 360..363: Ident("len"), 364..365: Control('='), 366..367: Control('('), 367..372: Ident("title"), 373..374: Control('|'), 375..379: Ident("text"), 379..380: Control('.'), 380..386: Ident("length"), 386..387: Control(')'), 387..388: Control(','), 388..389: NewLine, 393..397: Ident("subs"), 398..399: Control('='), 400..401: Control('('), 401..406: Ident("title"), 407..408: Control('|'), 409..413: Ident("text"), 413..414: Control('.'), 414..421: Ident("extract"), 422..423: Literal(Integer(2)), 424..425: Literal(Integer(5)), 425..426: Control(')'), 426..427: Control(','), 427..428: NewLine, 432..439: Ident("replace"), 440..441: Control('='), 442..443: Control('('), 443..448: Ident("title"), 449..450: Control('|'), 451..455: Ident("text"), 455..456: Control('.'), 456..463: Ident("replace"), 464..468: Literal(String("al")), 469..475: Literal(String("PIKA")), 475..476: Control(')'), 476..477: Control(','), 477..478: NewLine, 478..479: Control('}'), 479..480: NewLine, 480..484: Ident("sort"), 485..486: Control('{'), 486..491: Ident("title"), 491..492: Control('}'), 492..493: NewLine, 493..499: Ident("filter"), 500..501: Control('('), 501..506: Ident("title"), 507..508: Control('|'), 509..513: Ident("text"), 513..514: Control('.'), 514..525: Ident("starts_with"), 526..533: Literal(String("Black")), 533..534: Control(')'), 535..537: Or, 538..539: Control('('), 539..544: Ident("title"), 545..546: Control('|'), 547..551: Ident("text"), 551..552: Control('.'), 552..560: Ident("contains"), 561..570: Literal(String("Sabbath")), 570..571: Control(')'), 572..574: Or, 575..576: Control('('), 576..581: Ident("title"), 582..583: Control('|'), 584..588: Ident("text"), 588..589: Control('.'), 589..598: Ident("ends_with"), 599..603: Literal(String("os")), 603..604: Control(')'), 604..605: NewLine, ], )