--- source: prqlc/prqlc/tests/integration/queries.rs expression: tokens input_file: prqlc/prqlc/tests/integration/queries/math_module.prql snapshot_kind: text --- Tokens( [ 0..0: Start, 0..12: Comment(" mssql:test"), 12..13: NewLine, 13..81: Comment(" sqlite:skip (see https://github.com/rusqlite/rusqlite/issues/1211)"), 81..82: NewLine, 82..86: Ident("from"), 87..95: Ident("invoices"), 95..96: NewLine, 96..100: Ident("take"), 101..102: Literal(Integer(5)), 102..103: NewLine, 103..109: Ident("select"), 110..111: Control('{'), 111..112: NewLine, 116..130: Ident("total_original"), 131..132: Control('='), 133..134: Control('('), 134..139: Ident("total"), 140..141: Control('|'), 142..146: Ident("math"), 146..147: Control('.'), 147..152: Ident("round"), 153..154: Literal(Integer(2)), 154..155: Control(')'), 155..156: Control(','), 156..157: NewLine, 161..168: Ident("total_x"), 169..170: Control('='), 171..172: Control('('), 172..176: Ident("math"), 176..177: Control('.'), 177..179: Ident("pi"), 180..181: Control('-'), 182..187: Ident("total"), 188..189: Control('|'), 190..194: Ident("math"), 194..195: Control('.'), 195..200: Ident("round"), 201..202: Literal(Integer(2)), 203..204: Control('|'), 205..209: Ident("math"), 209..210: Control('.'), 210..213: Ident("abs"), 213..214: Control(')'), 214..215: Control(','), 215..216: NewLine, 220..231: Ident("total_floor"), 232..233: Control('='), 234..235: Control('('), 235..239: Ident("math"), 239..240: Control('.'), 240..245: Ident("floor"), 246..251: Ident("total"), 251..252: Control(')'), 252..253: Control(','), 253..254: NewLine, 258..268: Ident("total_ceil"), 269..270: Control('='), 271..272: Control('('), 272..276: Ident("math"), 276..277: Control('.'), 277..281: Ident("ceil"), 282..287: Ident("total"), 287..288: Control(')'), 288..289: Control(','), 289..290: NewLine, 294..305: Ident("total_log10"), 306..307: Control('='), 308..309: Control('('), 309..313: Ident("math"), 313..314: Control('.'), 314..319: Ident("log10"), 320..325: Ident("total"), 326..327: Control('|'), 328..332: Ident("math"), 332..333: Control('.'), 333..338: Ident("round"), 339..340: Literal(Integer(3)), 340..341: Control(')'), 341..342: Control(','), 342..343: NewLine, 347..357: Ident("total_log2"), 358..359: Control('='), 360..361: Control('('), 361..365: Ident("math"), 365..366: Control('.'), 366..369: Ident("log"), 370..371: Literal(Integer(2)), 372..377: Ident("total"), 378..379: Control('|'), 380..384: Ident("math"), 384..385: Control('.'), 385..390: Ident("round"), 391..392: Literal(Integer(3)), 392..393: Control(')'), 393..394: Control(','), 394..395: NewLine, 399..409: Ident("total_sqrt"), 410..411: Control('='), 412..413: Control('('), 413..417: Ident("math"), 417..418: Control('.'), 418..422: Ident("sqrt"), 423..428: Ident("total"), 429..430: Control('|'), 431..435: Ident("math"), 435..436: Control('.'), 436..441: Ident("round"), 442..443: Literal(Integer(3)), 443..444: Control(')'), 444..445: Control(','), 445..446: NewLine, 450..458: Ident("total_ln"), 459..460: Control('='), 461..462: Control('('), 462..466: Ident("math"), 466..467: Control('.'), 467..469: Ident("ln"), 470..475: Ident("total"), 476..477: Control('|'), 478..482: Ident("math"), 482..483: Control('.'), 483..486: Ident("exp"), 487..488: Control('|'), 489..493: Ident("math"), 493..494: Control('.'), 494..499: Ident("round"), 500..501: Literal(Integer(2)), 501..502: Control(')'), 502..503: Control(','), 503..504: NewLine, 508..517: Ident("total_cos"), 518..519: Control('='), 520..521: Control('('), 521..525: Ident("math"), 525..526: Control('.'), 526..529: Ident("cos"), 530..535: Ident("total"), 536..537: Control('|'), 538..542: Ident("math"), 542..543: Control('.'), 543..547: Ident("acos"), 548..549: Control('|'), 550..554: Ident("math"), 554..555: Control('.'), 555..560: Ident("round"), 561..562: Literal(Integer(2)), 562..563: Control(')'), 563..564: Control(','), 564..565: NewLine, 569..578: Ident("total_sin"), 579..580: Control('='), 581..582: Control('('), 582..586: Ident("math"), 586..587: Control('.'), 587..590: Ident("sin"), 591..596: Ident("total"), 597..598: Control('|'), 599..603: Ident("math"), 603..604: Control('.'), 604..608: Ident("asin"), 609..610: Control('|'), 611..615: Ident("math"), 615..616: Control('.'), 616..621: Ident("round"), 622..623: Literal(Integer(2)), 623..624: Control(')'), 624..625: Control(','), 625..626: NewLine, 630..639: Ident("total_tan"), 640..641: Control('='), 642..643: Control('('), 643..647: Ident("math"), 647..648: Control('.'), 648..651: Ident("tan"), 652..657: Ident("total"), 658..659: Control('|'), 660..664: Ident("math"), 664..665: Control('.'), 665..669: Ident("atan"), 670..671: Control('|'), 672..676: Ident("math"), 676..677: Control('.'), 677..682: Ident("round"), 683..684: Literal(Integer(2)), 684..685: Control(')'), 685..686: Control(','), 686..687: NewLine, 691..700: Ident("total_deg"), 701..702: Control('='), 703..704: Control('('), 704..709: Ident("total"), 710..711: Control('|'), 712..716: Ident("math"), 716..717: Control('.'), 717..724: Ident("degrees"), 725..726: Control('|'), 727..731: Ident("math"), 731..732: Control('.'), 732..739: Ident("radians"), 740..741: Control('|'), 742..746: Ident("math"), 746..747: Control('.'), 747..752: Ident("round"), 753..754: Literal(Integer(2)), 754..755: Control(')'), 755..756: Control(','), 756..757: NewLine, 761..773: Ident("total_square"), 774..775: Control('='), 776..777: Control('('), 777..782: Ident("total"), 783..784: Control('|'), 785..789: Ident("math"), 789..790: Control('.'), 790..793: Ident("pow"), 794..795: Literal(Integer(2)), 796..797: Control('|'), 798..802: Ident("math"), 802..803: Control('.'), 803..808: Ident("round"), 809..810: Literal(Integer(2)), 810..811: Control(')'), 811..812: Control(','), 812..813: NewLine, 817..832: Ident("total_square_op"), 833..834: Control('='), 835..836: Control('('), 836..837: Control('('), 837..842: Ident("total"), 843..845: Pow, 846..847: Literal(Integer(2)), 847..848: Control(')'), 849..850: Control('|'), 851..855: Ident("math"), 855..856: Control('.'), 856..861: Ident("round"), 862..863: Literal(Integer(2)), 863..864: Control(')'), 864..865: Control(','), 865..866: NewLine, 866..867: Control('}'), 867..868: NewLine, ], )