Diff of the two buildlogs: -- --- b1/build.log 2022-03-18 13:18:22.471034214 +0000 +++ b2/build.log 2022-03-18 13:21:45.213363051 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Mar 18 01:13:19 -12 2022 -I: pbuilder-time-stamp: 1647609199 +I: Current time: Fri Apr 21 09:41:24 +14 2023 +I: pbuilder-time-stamp: 1682019684 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Thu Feb 7 09:01:50 2019 -12 +gpgv: Signature made Fri Feb 8 11:01:50 2019 +14 gpgv: using RSA key 4DEF788779AF46C6BD02839E5DD8E0BF91A3D3DA gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./mtail_3.0.0~rc19-2.dsc @@ -28,136 +28,170 @@ dpkg-source: info: applying 01-Avoid_test_timeout.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3311799/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1176616/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1176616/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1176616/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='f3c1c19ac99e483c8438ddf015a294d6' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='3311799' - PS1='# ' - PS2='> ' + INVOCATION_ID=6fb919ada285408daf4167a30b9d79d8 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1176616 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.s45i83GoTo/pbuilderrc_zaiO --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.s45i83GoTo/b1 --logfile b1/build.log mtail_3.0.0~rc19-2.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.s45i83GoTo/pbuilderrc_sKNf --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.s45i83GoTo/b2 --logfile b2/build.log mtail_3.0.0~rc19-2.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos1-amd64 5.10.0-12-amd64 #1 SMP Debian 5.10.103-1 (2022-03-07) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.16.0-0.bpo.3-amd64 #1 SMP PREEMPT Debian 5.16.11-1~bpo11+1 (2022-03-02) x86_64 GNU/Linux I: ls -l /bin total 5116 - -rwxr-xr-x 1 root root 1168776 Apr 17 2019 bash - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 14328 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 43744 Feb 28 2019 cat - -rwxr-xr-x 1 root root 64320 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 64288 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 72512 Feb 28 2019 chown - -rwxr-xr-x 1 root root 146880 Feb 28 2019 cp - -rwxr-xr-x 1 root root 121464 Jan 17 2019 dash - -rwxr-xr-x 1 root root 109408 Feb 28 2019 date - -rwxr-xr-x 1 root root 76712 Feb 28 2019 dd - -rwxr-xr-x 1 root root 93744 Feb 28 2019 df - -rwxr-xr-x 1 root root 138856 Feb 28 2019 dir - -rwxr-xr-x 1 root root 84288 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 39520 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 35424 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 68880 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 34896 Apr 22 2020 fusermount - -rwxr-xr-x 1 root root 198976 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 98048 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 26696 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 68552 Feb 28 2019 ln - -rwxr-xr-x 1 root root 56760 Jul 26 2018 login - -rwxr-xr-x 1 root root 138856 Feb 28 2019 ls - -rwxr-xr-x 1 root root 108624 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 89088 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 68544 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 43808 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 43008 Jan 9 2019 more - -rwsr-xr-x 1 root root 51280 Jan 9 2019 mount - -rwxr-xr-x 1 root root 14408 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 138728 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 39616 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 47776 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 68416 Feb 28 2019 rm - -rwxr-xr-x 1 root root 47776 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 23312 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Mar 6 20:26 sh -> dash - -rwxr-xr-x 1 root root 39552 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 80672 Feb 28 2019 stty - -rwsr-xr-x 1 root root 63568 Jan 9 2019 su - -rwxr-xr-x 1 root root 35488 Feb 28 2019 sync - -rwxr-xr-x 1 root root 445560 Apr 23 2019 tar - -rwxr-xr-x 1 root root 14440 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 97152 Feb 28 2019 touch - -rwxr-xr-x 1 root root 35424 Feb 28 2019 true - -rwxr-xr-x 1 root root 14328 Apr 22 2020 ulockmgr_server - -rwsr-xr-x 1 root root 34888 Jan 9 2019 umount - -rwxr-xr-x 1 root root 39584 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 138856 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34896 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/3311799/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1168776 Apr 18 2019 bash + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 14328 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 43744 Mar 1 2019 cat + -rwxr-xr-x 1 root root 64320 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 64288 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 72512 Mar 1 2019 chown + -rwxr-xr-x 1 root root 146880 Mar 1 2019 cp + -rwxr-xr-x 1 root root 121464 Jan 18 2019 dash + -rwxr-xr-x 1 root root 109408 Mar 1 2019 date + -rwxr-xr-x 1 root root 76712 Mar 1 2019 dd + -rwxr-xr-x 1 root root 93744 Mar 1 2019 df + -rwxr-xr-x 1 root root 138856 Mar 1 2019 dir + -rwxr-xr-x 1 root root 84288 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 39520 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 35424 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 68880 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 34896 Apr 23 2020 fusermount + -rwxr-xr-x 1 root root 198976 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 98048 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 26696 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 68552 Mar 1 2019 ln + -rwxr-xr-x 1 root root 56760 Jul 27 2018 login + -rwxr-xr-x 1 root root 138856 Mar 1 2019 ls + -rwxr-xr-x 1 root root 108624 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 89088 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 68544 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 43808 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 43008 Jan 10 2019 more + -rwsr-xr-x 1 root root 51280 Jan 10 2019 mount + -rwxr-xr-x 1 root root 14408 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 138728 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 39616 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 47776 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 68416 Mar 1 2019 rm + -rwxr-xr-x 1 root root 47776 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 23312 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Apr 21 09:41 sh -> bash + lrwxrwxrwx 1 root root 4 Apr 10 04:46 sh.distrib -> dash + -rwxr-xr-x 1 root root 39552 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 80672 Mar 1 2019 stty + -rwsr-xr-x 1 root root 63568 Jan 10 2019 su + -rwxr-xr-x 1 root root 35488 Mar 1 2019 sync + -rwxr-xr-x 1 root root 445560 Apr 24 2019 tar + -rwxr-xr-x 1 root root 14440 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 97152 Mar 1 2019 touch + -rwxr-xr-x 1 root root 35424 Mar 1 2019 true + -rwxr-xr-x 1 root root 14328 Apr 23 2020 ulockmgr_server + -rwsr-xr-x 1 root root 34888 Jan 10 2019 umount + -rwxr-xr-x 1 root root 39584 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 138856 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34896 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/1176616/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -269,7 +303,7 @@ Get: 58 http://deb.debian.org/debian buster/main amd64 libjs-jquery all 3.3.1~dfsg-3+deb10u1 [332 kB] Get: 59 http://deb.debian.org/debian buster/main amd64 libjs-jquery-ui all 1.12.1+dfsg-5 [232 kB] Get: 60 http://deb.debian.org/debian buster/main amd64 golang-golang-x-tools amd64 1:0.0~git20190125.d66bd3c+ds-4+b1 [32.6 MB] -Fetched 118 MB in 4s (30.3 MB/s) +Fetched 118 MB in 2s (67.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19195 files and directories currently installed.) @@ -532,7 +566,8 @@ fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/mtail-3.0.0~rc19/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../mtail_3.0.0~rc19-2_source.changes +hostname: Name or service not known +I: Running cd /build/mtail-3.0.0~rc19/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../mtail_3.0.0~rc19-2_source.changes dpkg-buildpackage: info: source package mtail dpkg-buildpackage: info: source version 3.0.0~rc19-2 dpkg-buildpackage: info: source distribution unstable @@ -626,27 +661,27 @@ src/github.com/google/mtail/internal/watcher/log_watcher.go src/github.com/google/mtail/internal/watcher/log_watcher_test.go src/github.com/google/mtail/internal/watcher/watcher.go - cd build && go install -gcflags=all=\"-trimpath=/build/mtail-3.0.0\~rc19/build/src\" -asmflags=all=\"-trimpath=/build/mtail-3.0.0\~rc19/build/src\" -v -p 15 -ldflags " -X main.Version=3.0.0~rc19 -X main.Revision=3.0.0~rc19-2" github.com/google/mtail/cmd/mtail github.com/google/mtail/internal/exporter github.com/google/mtail/internal/logline github.com/google/mtail/internal/metrics github.com/google/mtail/internal/metrics/datum github.com/google/mtail/internal/mtail github.com/google/mtail/internal/mtail/golden github.com/google/mtail/internal/tailer github.com/google/mtail/internal/testutil github.com/google/mtail/internal/vm github.com/google/mtail/internal/vm/ast github.com/google/mtail/internal/vm/checker github.com/google/mtail/internal/vm/code github.com/google/mtail/internal/vm/codegen github.com/google/mtail/internal/vm/errors github.com/google/mtail/internal/vm/object github.com/google/mtail/internal/vm/parser github.com/google/mtail/internal/vm/position github.com/google/mtail/internal/vm/symbol github.com/google/mtail/internal/vm/types github.com/google/mtail/internal/watcher + cd build && go install -gcflags=all=\"-trimpath=/build/mtail-3.0.0\~rc19/build/src\" -asmflags=all=\"-trimpath=/build/mtail-3.0.0\~rc19/build/src\" -v -p 16 -ldflags " -X main.Version=3.0.0~rc19 -X main.Revision=3.0.0~rc19-2" github.com/google/mtail/cmd/mtail github.com/google/mtail/internal/exporter github.com/google/mtail/internal/logline github.com/google/mtail/internal/metrics github.com/google/mtail/internal/metrics/datum github.com/google/mtail/internal/mtail github.com/google/mtail/internal/mtail/golden github.com/google/mtail/internal/tailer github.com/google/mtail/internal/testutil github.com/google/mtail/internal/vm github.com/google/mtail/internal/vm/ast github.com/google/mtail/internal/vm/checker github.com/google/mtail/internal/vm/code github.com/google/mtail/internal/vm/codegen github.com/google/mtail/internal/vm/errors github.com/google/mtail/internal/vm/object github.com/google/mtail/internal/vm/parser github.com/google/mtail/internal/vm/position github.com/google/mtail/internal/vm/symbol github.com/google/mtail/internal/vm/types github.com/google/mtail/internal/watcher errors +crypto/subtle +unicode/utf16 +crypto/internal/subtle internal/race runtime/internal/sys -math/bits unicode/utf8 +vendor/golang_org/x/crypto/cryptobyte/asn1 +math/bits sync/atomic -unicode -runtime/cgo +runtime/internal/atomic encoding -vendor/golang_org/x/crypto/cryptobyte/asn1 -unicode/utf16 -crypto/subtle -crypto/internal/subtle +runtime/cgo container/list -vendor/golang_org/x/net/dns/dnsmessage internal/cpu -runtime/internal/atomic internal/nettrace -vendor/golang_org/x/crypto/curve25519 +vendor/golang_org/x/net/dns/dnsmessage +unicode github.com/google/mtail/internal/logline +vendor/golang_org/x/crypto/curve25519 github.com/google/go-cmp/cmp/internal/diff internal/testlog internal/bytealg @@ -657,104 +692,104 @@ crypto/rc4 sync io -syscall -math/rand internal/singleflight +math/rand reflect -strings +syscall hash bytes +strings crypto/cipher crypto/internal/randutil text/tabwriter hash/crc32 crypto crypto/hmac -crypto/sha512 crypto/md5 +crypto/sha512 crypto/sha1 crypto/sha256 crypto/aes -bufio vendor/golang_org/x/text/transform +bufio path html internal/syscall/unix time internal/poll -github.com/google/go-cmp/cmp/internal/function sort encoding/binary -os +github.com/google/go-cmp/cmp/internal/function regexp/syntax +os encoding/base64 crypto/des vendor/golang_org/x/crypto/internal/chacha20 vendor/golang_org/x/crypto/poly1305 -encoding/pem vendor/golang_org/x/crypto/chacha20poly1305 -fmt -path/filepath +encoding/pem runtime/debug os/signal +path/filepath +fmt io/ioutil regexp log -os/user -github.com/pkg/errors +flag context +github.com/pkg/errors encoding/hex -encoding/json +os/user net/url -compress/flate -math/big -flag vendor/golang_org/x/net/http2/hpack +encoding/json mime +compress/flate mime/quotedprintable +net/http/internal +math/big vendor/golang_org/x/text/unicode/norm vendor/golang_org/x/text/unicode/bidi -net/http/internal text/template/parse github.com/google/mtail/internal/vm/position github.com/google/mtail/internal/vm/code -net -github.com/google/mtail/internal/vm/errors -runtime/trace github.com/google/go-cmp/cmp/internal/value +runtime/trace +github.com/google/mtail/internal/vm/errors +net testing -vendor/golang_org/x/text/secure/bidirule github.com/google/go-cmp/cmp compress/gzip +vendor/golang_org/x/text/secure/bidirule runtime/pprof -vendor/golang_org/x/net/idna -github.com/google/mtail/internal/metrics/datum text/template +github.com/google/mtail/internal/metrics/datum +vendor/golang_org/x/net/idna github.com/google/go-cmp/cmp/cmpopts github.com/google/mtail/internal/testutil crypto/rand crypto/dsa -encoding/asn1 crypto/elliptic -github.com/golang/glog -html/template +encoding/asn1 crypto/rsa +html/template +github.com/golang/glog +crypto/ecdsa +crypto/x509/pkix +vendor/golang_org/x/crypto/cryptobyte github.com/google/mtail/internal/metrics github.com/google/mtail/internal/vm/types github.com/google/mtail/internal/vm/object github.com/google/mtail/internal/mtail/golden github.com/google/mtail/internal/vm/symbol github.com/google/mtail/internal/vm/ast -crypto/ecdsa -crypto/x509/pkix -vendor/golang_org/x/crypto/cryptobyte github.com/google/mtail/internal/vm/parser github.com/google/mtail/internal/vm/checker github.com/google/mtail/internal/vm/codegen -net/textproto vendor/golang_org/x/net/http/httpproxy -golang.org/x/sys/unix +net/textproto crypto/x509 +golang.org/x/sys/unix vendor/golang_org/x/net/http/httpguts mime/multipart crypto/tls @@ -763,8 +798,8 @@ net/http expvar net/http/pprof -github.com/google/mtail/internal/exporter github.com/google/mtail/internal/watcher +github.com/google/mtail/internal/exporter github.com/google/mtail/internal/tailer github.com/google/mtail/internal/vm github.com/google/mtail/internal/mtail @@ -773,7 +808,7 @@ debian/rules override_dh_auto_test make[1]: Entering directory '/build/mtail-3.0.0~rc19' dh_auto_test - cd build && go test -vet=off -v -p 15 github.com/google/mtail/cmd/mtail github.com/google/mtail/internal/exporter github.com/google/mtail/internal/logline github.com/google/mtail/internal/metrics github.com/google/mtail/internal/metrics/datum github.com/google/mtail/internal/mtail github.com/google/mtail/internal/mtail/golden github.com/google/mtail/internal/tailer github.com/google/mtail/internal/testutil github.com/google/mtail/internal/vm github.com/google/mtail/internal/vm/ast github.com/google/mtail/internal/vm/checker github.com/google/mtail/internal/vm/code github.com/google/mtail/internal/vm/codegen github.com/google/mtail/internal/vm/errors github.com/google/mtail/internal/vm/object github.com/google/mtail/internal/vm/parser github.com/google/mtail/internal/vm/position github.com/google/mtail/internal/vm/symbol github.com/google/mtail/internal/vm/types github.com/google/mtail/internal/watcher + cd build && go test -vet=off -v -p 16 github.com/google/mtail/cmd/mtail github.com/google/mtail/internal/exporter github.com/google/mtail/internal/logline github.com/google/mtail/internal/metrics github.com/google/mtail/internal/metrics/datum github.com/google/mtail/internal/mtail github.com/google/mtail/internal/mtail/golden github.com/google/mtail/internal/tailer github.com/google/mtail/internal/testutil github.com/google/mtail/internal/vm github.com/google/mtail/internal/vm/ast github.com/google/mtail/internal/vm/checker github.com/google/mtail/internal/vm/code github.com/google/mtail/internal/vm/codegen github.com/google/mtail/internal/vm/errors github.com/google/mtail/internal/vm/object github.com/google/mtail/internal/vm/parser github.com/google/mtail/internal/vm/position github.com/google/mtail/internal/vm/symbol github.com/google/mtail/internal/vm/types github.com/google/mtail/internal/watcher ? github.com/google/mtail/cmd/mtail [no test files] === RUN TestCreateExporter --- PASS: TestCreateExporter (0.00s) @@ -862,7 +897,7 @@ --- PASS: TestHandleVarz/dimensioned (0.00s) --- PASS: TestHandleVarz/single (0.00s) PASS -ok github.com/google/mtail/internal/exporter 0.050s +ok github.com/google/mtail/internal/exporter 0.012s ? github.com/google/mtail/internal/logline [no test files] === RUN TestKindType --- PASS: TestKindType (0.00s) @@ -883,7 +918,7 @@ === RUN TestFindLabelValueOrNil --- PASS: TestFindLabelValueOrNil (0.00s) === RUN TestMetricJSONRoundTrip ---- PASS: TestMetricJSONRoundTrip (0.08s) +--- PASS: TestMetricJSONRoundTrip (0.09s) === RUN TestTimer --- PASS: TestTimer (0.00s) === RUN TestRemoveMetricLabelValue @@ -897,7 +932,7 @@ === RUN TestExpireMetric --- PASS: TestExpireMetric (0.00s) PASS -ok github.com/google/mtail/internal/metrics 0.113s +ok github.com/google/mtail/internal/metrics 0.109s === RUN TestDatumSetAndValue --- PASS: TestDatumSetAndValue (0.00s) === RUN TestMarshalJSON @@ -905,35 +940,35 @@ === RUN TestDecrementScalarInt --- PASS: TestDecrementScalarInt (0.00s) PASS -ok github.com/google/mtail/internal/metrics/datum 0.021s +ok github.com/google/mtail/internal/metrics/datum 0.007s === RUN TestDoOrTimeout --- PASS: TestDoOrTimeout (0.02s) === RUN TestHandleLogUpdates --- PASS: TestHandleLogUpdates (0.04s) === RUN TestHandleLogRotation ---- PASS: TestHandleLogRotation (1.24s) +--- PASS: TestHandleLogRotation (1.21s) === RUN TestHandleNewLogAfterStart ---- PASS: TestHandleNewLogAfterStart (0.03s) +--- PASS: TestHandleNewLogAfterStart (0.04s) === RUN TestHandleNewLogIgnored --- PASS: TestHandleNewLogIgnored (0.01s) === RUN TestHandleSoftLinkChange ---- PASS: TestHandleSoftLinkChange (0.03s) +--- PASS: TestHandleSoftLinkChange (0.04s) === RUN TestGlob --- PASS: TestGlob (0.11s) === RUN TestGlobAfterStart ---- PASS: TestGlobAfterStart (0.21s) +--- PASS: TestGlobAfterStart (0.22s) === RUN TestHandleLogTruncate --- PASS: TestHandleLogTruncate (0.03s) === RUN TestHandleRelativeLogAppend ---- PASS: TestHandleRelativeLogAppend (0.05s) +--- PASS: TestHandleRelativeLogAppend (0.04s) === RUN TestProgramReloadNoDuplicateMetrics --- PASS: TestProgramReloadNoDuplicateMetrics (0.14s) PASS -ok github.com/google/mtail/internal/mtail 1.924s +ok github.com/google/mtail/internal/mtail 1.876s === RUN TestReadTestData --- PASS: TestReadTestData (0.00s) PASS -ok github.com/google/mtail/internal/mtail/golden 0.060s +ok github.com/google/mtail/internal/mtail/golden 0.008s === RUN TestReadPartial --- PASS: TestReadPartial (0.00s) === RUN TestOpenRetries @@ -953,9 +988,9 @@ === RUN TestHandleLogRotate --- PASS: TestHandleLogRotate (0.00s) === RUN TestHandleLogRotateSignalsWrong ---- PASS: TestHandleLogRotateSignalsWrong (0.01s) +--- PASS: TestHandleLogRotateSignalsWrong (0.00s) PASS -ok github.com/google/mtail/internal/tailer 0.050s +ok github.com/google/mtail/internal/tailer 0.013s ? github.com/google/mtail/internal/testutil [no test files] === RUN TestNewLoader --- PASS: TestNewLoader (0.00s) @@ -973,8 +1008,8 @@ === RUN TestProcessEvents/not_exist === PAUSE TestProcessEvents/not_exist === CONT TestProcessEvents/load -=== CONT TestProcessEvents/not_exist === CONT TestProcessEvents/bad_extension +=== CONT TestProcessEvents/not_exist === CONT TestProcessEvents/reload === CONT TestProcessEvents/unload --- PASS: TestProcessEvents (0.00s) @@ -1109,128 +1144,128 @@ === RUN TestInstrs/scmp_eq_false === PAUSE TestInstrs/scmp_eq_false === CONT TestInstrs/match +=== CONT TestInstrs/or +=== CONT TestInstrs/setmatched_true +=== CONT TestInstrs/jm +=== CONT TestInstrs/s2i +=== CONT TestInstrs/imod_2 +=== CONT TestInstrs/cmp_gt_int_float#01 +=== CONT TestInstrs/cmp_gt_float_float +=== CONT TestInstrs/xor_3 +=== CONT TestInstrs/cmp_ge +=== CONT TestInstrs/cmp_gt_float_int#01 === CONT TestInstrs/scmp_eq_false +=== CONT TestInstrs/setmatched_false +=== CONT TestInstrs/neg +=== CONT TestInstrs/cmp_ne +=== CONT TestInstrs/cmp_le === CONT TestInstrs/fcmp_gt_false +=== CONT TestInstrs/imod === CONT TestInstrs/icmp_gt_false === CONT TestInstrs/cat +=== CONT TestInstrs/imul === CONT TestInstrs/f2s -=== CONT TestInstrs/i2s -=== CONT TestInstrs/getfilename -=== CONT TestInstrs/fpow -=== CONT TestInstrs/fmod -=== CONT TestInstrs/fdiv -=== CONT TestInstrs/fmul -=== CONT TestInstrs/fsub -=== CONT TestInstrs/fadd -=== CONT TestInstrs/otherwise -=== CONT TestInstrs/setmatched_true -=== CONT TestInstrs/setmatched_false +=== CONT TestInstrs/iadd === CONT TestInstrs/push_float === CONT TestInstrs/push_int === CONT TestInstrs/settime -=== CONT TestInstrs/i2f -=== CONT TestInstrs/s2f -=== CONT TestInstrs/s2i -=== CONT TestInstrs/s2i_pop -=== CONT TestInstrs/pow -=== CONT TestInstrs/not -=== CONT TestInstrs/neg -=== CONT TestInstrs/xor_3 === CONT TestInstrs/xor_2 -=== CONT TestInstrs/xor -=== CONT TestInstrs/or +=== CONT TestInstrs/shl === CONT TestInstrs/and -=== CONT TestInstrs/jnm === CONT TestInstrs/shr -=== CONT TestInstrs/cmp_gt_int_float#01 -=== CONT TestInstrs/shl -=== CONT TestInstrs/cmp_gt_float_int#01 +=== CONT TestInstrs/fmod +=== CONT TestInstrs/jmp +=== CONT TestInstrs/xor +=== CONT TestInstrs/jnm +=== CONT TestInstrs/cmp_gt +=== CONT TestInstrs/fpow +=== CONT TestInstrs/i2s +=== CONT TestInstrs/idiv +=== CONT TestInstrs/isub +=== CONT TestInstrs/cmp_eq +=== CONT TestInstrs/getfilename +=== CONT TestInstrs/strptime +=== CONT TestInstrs/fmul +=== CONT TestInstrs/fdiv +=== CONT TestInstrs/cmp_lt +=== CONT TestInstrs/i2f +=== CONT TestInstrs/length === CONT TestInstrs/length_0 +=== CONT TestInstrs/pow +=== CONT TestInstrs/not +=== CONT TestInstrs/s2i_pop +=== CONT TestInstrs/s2f +=== CONT TestInstrs/tolower +=== CONT TestInstrs/fadd +=== CONT TestInstrs/fsub +=== CONT TestInstrs/otherwise +=== CONT TestInstrs/cmp_eq_string_string_false === CONT TestInstrs/cmp_gt_float_float#01 === CONT TestInstrs/cmp_eq_string_string_true -=== CONT TestInstrs/length -=== CONT TestInstrs/cmp_eq_string_string_false -=== CONT TestInstrs/tolower -=== CONT TestInstrs/cmp_gt_int_float -=== CONT TestInstrs/imod_2 === CONT TestInstrs/cmp_gt_float_int -=== CONT TestInstrs/imod -=== CONT TestInstrs/cmp_gt_float_float -=== CONT TestInstrs/cmp_ge -=== CONT TestInstrs/imul -=== CONT TestInstrs/cmp_ne -=== CONT TestInstrs/isub -=== CONT TestInstrs/cmp_le -=== CONT TestInstrs/iadd -=== CONT TestInstrs/cmp_gt -=== CONT TestInstrs/strptime -=== CONT TestInstrs/cmp_eq -=== CONT TestInstrs/jmp -=== CONT TestInstrs/cmp_lt -=== CONT TestInstrs/jm -=== CONT TestInstrs/idiv ---- PASS: TestInstrs (0.01s) +=== CONT TestInstrs/cmp_gt_int_float +--- PASS: TestInstrs (0.00s) + --- PASS: TestInstrs/or (0.00s) + --- PASS: TestInstrs/cmp_gt_int_float#01 (0.00s) + --- PASS: TestInstrs/setmatched_true (0.00s) + --- PASS: TestInstrs/cmp_gt_float_float (0.00s) + --- PASS: TestInstrs/jm (0.00s) + --- PASS: TestInstrs/s2i (0.00s) + --- PASS: TestInstrs/xor_3 (0.00s) --- PASS: TestInstrs/match (0.00s) + --- PASS: TestInstrs/imod_2 (0.00s) + --- PASS: TestInstrs/cmp_ge (0.00s) + --- PASS: TestInstrs/cmp_gt_float_int#01 (0.00s) + --- PASS: TestInstrs/cmp_ne (0.00s) + --- PASS: TestInstrs/cmp_le (0.00s) + --- PASS: TestInstrs/setmatched_false (0.00s) --- PASS: TestInstrs/scmp_eq_false (0.00s) - --- PASS: TestInstrs/fcmp_gt_false (0.00s) + --- PASS: TestInstrs/imod (0.00s) --- PASS: TestInstrs/icmp_gt_false (0.00s) + --- PASS: TestInstrs/imul (0.00s) --- PASS: TestInstrs/cat (0.00s) + --- PASS: TestInstrs/neg (0.00s) --- PASS: TestInstrs/f2s (0.00s) - --- PASS: TestInstrs/i2s (0.00s) - --- PASS: TestInstrs/getfilename (0.00s) - --- PASS: TestInstrs/fpow (0.00s) - --- PASS: TestInstrs/fmod (0.00s) - --- PASS: TestInstrs/fdiv (0.00s) - --- PASS: TestInstrs/fmul (0.00s) - --- PASS: TestInstrs/fsub (0.00s) - --- PASS: TestInstrs/fadd (0.00s) - --- PASS: TestInstrs/otherwise (0.00s) - --- PASS: TestInstrs/setmatched_true (0.00s) - --- PASS: TestInstrs/setmatched_false (0.00s) + --- PASS: TestInstrs/fcmp_gt_false (0.00s) --- PASS: TestInstrs/push_float (0.00s) --- PASS: TestInstrs/push_int (0.00s) - --- PASS: TestInstrs/settime (0.00s) - --- PASS: TestInstrs/i2f (0.00s) - --- PASS: TestInstrs/s2f (0.00s) - --- PASS: TestInstrs/s2i (0.00s) - --- PASS: TestInstrs/s2i_pop (0.00s) - --- PASS: TestInstrs/pow (0.00s) - --- PASS: TestInstrs/not (0.00s) - --- PASS: TestInstrs/neg (0.00s) - --- PASS: TestInstrs/xor_3 (0.00s) --- PASS: TestInstrs/xor_2 (0.00s) - --- PASS: TestInstrs/xor (0.00s) - --- PASS: TestInstrs/or (0.00s) - --- PASS: TestInstrs/jnm (0.00s) + --- PASS: TestInstrs/settime (0.00s) + --- PASS: TestInstrs/shl (0.00s) --- PASS: TestInstrs/and (0.00s) + --- PASS: TestInstrs/fmod (0.00s) --- PASS: TestInstrs/shr (0.00s) - --- PASS: TestInstrs/cmp_gt_int_float#01 (0.00s) - --- PASS: TestInstrs/shl (0.00s) - --- PASS: TestInstrs/cmp_gt_float_int#01 (0.00s) - --- PASS: TestInstrs/length_0 (0.00s) - --- PASS: TestInstrs/cmp_gt_float_float#01 (0.00s) - --- PASS: TestInstrs/cmp_eq_string_string_true (0.00s) - --- PASS: TestInstrs/length (0.00s) - --- PASS: TestInstrs/cmp_eq_string_string_false (0.00s) - --- PASS: TestInstrs/tolower (0.00s) - --- PASS: TestInstrs/cmp_gt_int_float (0.00s) - --- PASS: TestInstrs/imod_2 (0.00s) - --- PASS: TestInstrs/cmp_gt_float_int (0.00s) - --- PASS: TestInstrs/cmp_gt_float_float (0.00s) - --- PASS: TestInstrs/imod (0.00s) - --- PASS: TestInstrs/cmp_ge (0.00s) - --- PASS: TestInstrs/imul (0.00s) - --- PASS: TestInstrs/cmp_ne (0.00s) - --- PASS: TestInstrs/isub (0.00s) - --- PASS: TestInstrs/cmp_le (0.00s) + --- PASS: TestInstrs/jmp (0.00s) --- PASS: TestInstrs/iadd (0.00s) + --- PASS: TestInstrs/xor (0.00s) + --- PASS: TestInstrs/jnm (0.00s) --- PASS: TestInstrs/cmp_gt (0.00s) - --- PASS: TestInstrs/strptime (0.00s) + --- PASS: TestInstrs/fpow (0.00s) + --- PASS: TestInstrs/i2s (0.00s) + --- PASS: TestInstrs/idiv (0.00s) + --- PASS: TestInstrs/isub (0.00s) --- PASS: TestInstrs/cmp_eq (0.00s) - --- PASS: TestInstrs/jmp (0.00s) + --- PASS: TestInstrs/getfilename (0.00s) + --- PASS: TestInstrs/strptime (0.00s) + --- PASS: TestInstrs/fmul (0.00s) + --- PASS: TestInstrs/fdiv (0.00s) --- PASS: TestInstrs/cmp_lt (0.00s) - --- PASS: TestInstrs/jm (0.00s) - --- PASS: TestInstrs/idiv (0.00s) + --- PASS: TestInstrs/i2f (0.00s) + --- PASS: TestInstrs/length (0.00s) + --- PASS: TestInstrs/length_0 (0.00s) + --- PASS: TestInstrs/pow (0.00s) + --- PASS: TestInstrs/not (0.00s) + --- PASS: TestInstrs/s2i_pop (0.00s) + --- PASS: TestInstrs/s2f (0.00s) + --- PASS: TestInstrs/tolower (0.00s) + --- PASS: TestInstrs/fadd (0.00s) + --- PASS: TestInstrs/fsub (0.00s) + --- PASS: TestInstrs/otherwise (0.00s) + --- PASS: TestInstrs/cmp_eq_string_string_false (0.00s) + --- PASS: TestInstrs/cmp_gt_float_float#01 (0.00s) + --- PASS: TestInstrs/cmp_eq_string_string_true (0.00s) + --- PASS: TestInstrs/cmp_gt_float_int (0.00s) + --- PASS: TestInstrs/cmp_gt_int_float (0.00s) === RUN TestDatumSetInstrs --- PASS: TestDatumSetInstrs (0.00s) === RUN TestStrptimeWithTimezone @@ -1244,13 +1279,13 @@ === RUN TestTimestampInstr --- PASS: TestTimestampInstr (0.00s) PASS -ok github.com/google/mtail/internal/vm 0.039s +ok github.com/google/mtail/internal/vm 0.023s === RUN TestWalkPanicsOnUnknown --- PASS: TestWalkPanicsOnUnknown (0.00s) === RUN TestAstReplacement --- PASS: TestAstReplacement (0.00s) PASS -ok github.com/google/mtail/internal/vm/ast 0.039s +ok github.com/google/mtail/internal/vm/ast 0.007s === RUN TestCheckInvalidPrograms === RUN TestCheckInvalidPrograms/undefined_named_capture_group === PAUSE TestCheckInvalidPrograms/undefined_named_capture_group @@ -1289,42 +1324,42 @@ === RUN TestCheckInvalidPrograms/def_with_two_nexts === PAUSE TestCheckInvalidPrograms/def_with_two_nexts === CONT TestCheckInvalidPrograms/undefined_named_capture_group +=== CONT TestCheckInvalidPrograms/indexedExpr_binary_expression +=== CONT TestCheckInvalidPrograms/indexedExpr_parameter_count +=== CONT TestCheckInvalidPrograms/duplicate_declaration === CONT TestCheckInvalidPrograms/def_with_two_nexts -=== CONT TestCheckInvalidPrograms/def_without_next -=== CONT TestCheckInvalidPrograms/def_without_usage -=== CONT TestCheckInvalidPrograms/invalid_del_index_count -=== CONT TestCheckInvalidPrograms/unused_symbols -=== CONT TestCheckInvalidPrograms/undefined_const_regex -=== CONT TestCheckInvalidPrograms/bad_strptime_format === CONT TestCheckInvalidPrograms/invalid_regex_3 -=== CONT TestCheckInvalidPrograms/undefined_identifier -=== CONT TestCheckInvalidPrograms/builtin_parameter_mismatch -=== CONT TestCheckInvalidPrograms/indexedExpr_binary_expression +=== CONT TestCheckInvalidPrograms/def_without_next === CONT TestCheckInvalidPrograms/invalid_regex_2 === CONT TestCheckInvalidPrograms/invalid_regex_1 -=== CONT TestCheckInvalidPrograms/indexedExpr_parameter_count +=== CONT TestCheckInvalidPrograms/undefined_const_regex +=== CONT TestCheckInvalidPrograms/undefined_identifier +=== CONT TestCheckInvalidPrograms/unused_symbols === CONT TestCheckInvalidPrograms/undefined_decorator -=== CONT TestCheckInvalidPrograms/duplicate_declaration +=== CONT TestCheckInvalidPrograms/def_without_usage === CONT TestCheckInvalidPrograms/out_of_bounds_capref +=== CONT TestCheckInvalidPrograms/invalid_del_index_count +=== CONT TestCheckInvalidPrograms/bad_strptime_format +=== CONT TestCheckInvalidPrograms/builtin_parameter_mismatch --- PASS: TestCheckInvalidPrograms (0.00s) --- PASS: TestCheckInvalidPrograms/undefined_named_capture_group (0.00s) + --- PASS: TestCheckInvalidPrograms/indexedExpr_parameter_count (0.00s) + --- PASS: TestCheckInvalidPrograms/indexedExpr_binary_expression (0.00s) + --- PASS: TestCheckInvalidPrograms/duplicate_declaration (0.00s) --- PASS: TestCheckInvalidPrograms/def_with_two_nexts (0.00s) + --- PASS: TestCheckInvalidPrograms/invalid_regex_3 (0.00s) --- PASS: TestCheckInvalidPrograms/def_without_next (0.00s) - --- PASS: TestCheckInvalidPrograms/def_without_usage (0.00s) - --- PASS: TestCheckInvalidPrograms/invalid_del_index_count (0.00s) - --- PASS: TestCheckInvalidPrograms/unused_symbols (0.00s) - --- PASS: TestCheckInvalidPrograms/undefined_const_regex (0.00s) - --- PASS: TestCheckInvalidPrograms/invalid_regex_3 (0.01s) - --- PASS: TestCheckInvalidPrograms/builtin_parameter_mismatch (0.00s) - --- PASS: TestCheckInvalidPrograms/undefined_identifier (0.00s) --- PASS: TestCheckInvalidPrograms/invalid_regex_2 (0.00s) - --- PASS: TestCheckInvalidPrograms/indexedExpr_binary_expression (0.00s) --- PASS: TestCheckInvalidPrograms/invalid_regex_1 (0.00s) - --- PASS: TestCheckInvalidPrograms/indexedExpr_parameter_count (0.00s) + --- PASS: TestCheckInvalidPrograms/undefined_identifier (0.00s) --- PASS: TestCheckInvalidPrograms/undefined_decorator (0.00s) - --- PASS: TestCheckInvalidPrograms/duplicate_declaration (0.00s) - --- PASS: TestCheckInvalidPrograms/bad_strptime_format (0.02s) - --- PASS: TestCheckInvalidPrograms/out_of_bounds_capref (0.01s) + --- PASS: TestCheckInvalidPrograms/unused_symbols (0.00s) + --- PASS: TestCheckInvalidPrograms/def_without_usage (0.00s) + --- PASS: TestCheckInvalidPrograms/invalid_del_index_count (0.00s) + --- PASS: TestCheckInvalidPrograms/builtin_parameter_mismatch (0.00s) + --- PASS: TestCheckInvalidPrograms/undefined_const_regex (0.00s) + --- PASS: TestCheckInvalidPrograms/out_of_bounds_capref (0.00s) + --- PASS: TestCheckInvalidPrograms/bad_strptime_format (0.00s) === RUN TestCheckValidPrograms === RUN TestCheckValidPrograms/capture_group === PAUSE TestCheckValidPrograms/capture_group @@ -1378,33 +1413,123 @@ === PAUSE TestCheckValidPrograms/decrement === RUN TestCheckValidPrograms/stop === PAUSE TestCheckValidPrograms/stop -=== CONT TestCheckValidPrograms/capture_group === CONT TestCheckValidPrograms/stop +=== CONT TestCheckValidPrograms/namespace +=== CONT TestCheckValidPrograms/conversions +=== CONT TestCheckValidPrograms/odd_indexes +=== CONT TestCheckValidPrograms/capture_group +=== CONT TestCheckValidPrograms/string_concat === CONT TestCheckValidPrograms/decrement +=== CONT TestCheckValidPrograms/function_return_value === CONT TestCheckValidPrograms/concat_with_add_assign +=== CONT TestCheckValidPrograms/paren_expr +=== CONT TestCheckValidPrograms/implicit_int === CONT TestCheckValidPrograms/decorator_scopes +=== CONT TestCheckValidPrograms/nested_binary_conditional +=== CONT TestCheckValidPrograms/sibling_positionals +=== CONT TestCheckValidPrograms/logical_operators === CONT TestCheckValidPrograms/match_expr_4 +=== CONT TestCheckValidPrograms/index_expression === CONT TestCheckValidPrograms/match_expression_3 -=== CONT TestCheckValidPrograms/paren_expr +=== CONT TestCheckValidPrograms/shadowed_positionals === CONT TestCheckValidPrograms/concat_expr_2 -=== CONT TestCheckValidPrograms/concat_expr_1 -=== CONT TestCheckValidPrograms/binop_arith_type_conversion === CONT TestCheckValidPrograms/binop_compare_type_conversion -=== CONT TestCheckValidPrograms/implicit_int -=== CONT TestCheckValidPrograms/capref_used_in_def === CONT TestCheckValidPrograms/match_expr_1 -=== CONT TestCheckValidPrograms/nested_binary_conditional -=== CONT TestCheckValidPrograms/namespace -=== CONT TestCheckValidPrograms/logical_operators -=== CONT TestCheckValidPrograms/string_concat -=== CONT TestCheckValidPrograms/conversions +=== CONT TestCheckValidPrograms/concat_expr_1 === CONT TestCheckValidPrograms/strptime_format -=== CONT TestCheckValidPrograms/function_return_value -=== CONT TestCheckValidPrograms/index_expression -=== CONT TestCheckValidPrograms/odd_indexes -=== CONT TestCheckValidPrograms/sibling_positionals -=== CONT TestCheckValidPrograms/shadowed_positionals +=== CONT TestCheckValidPrograms/capref_used_in_def +=== CONT TestCheckValidPrograms/binop_arith_type_conversion --- PASS: TestCheckValidPrograms (0.00s) + --- PASS: TestCheckValidPrograms/stop (0.00s) + checker_test.go:367: Typed AST: + ( ;;*ast.StmtList @ stop:2:1-4 + ( ;;*ast.StopStmt @ stop:2:1-4 + stop) + ( ;;*ast.CondStmt @ stop:3:1-2 + ( ;;*ast.PatternExpr @ stop:3:1-2 + ( ;;*ast.PatternLit @ stop:3:1-2 + "") + ) + ( ;;*ast.StmtList @ stop:4:1-4 + ( ;;*ast.StopStmt @ stop:4:1-4 + stop) + ) + ) + ) + + --- PASS: TestCheckValidPrograms/namespace (0.00s) + checker_test.go:367: Typed AST: + ( ;;*ast.StmtList @ namespace:2:9-12 + ( ;;*ast.VarDecl @ namespace:2:9-12 + counter test) + ( ;;*ast.CondStmt @ namespace:4:1-14 + ( ;;*ast.PatternExpr @ namespace:4:1-14 + ( ;;*ast.PatternLit @ namespace:4:1-14 + "(?P.*)") + ) + ( ;;*ast.StmtList @ namespace:5:5-10 + ( ;;*ast.UnaryExpr @ namespace:5:5-10 + ++ + ( ;;*ast.IndexedExpr @ namespace:5:5-8 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ namespace:5:5-8 + "test") + ) + ) + ) + ) + ) + + --- PASS: TestCheckValidPrograms/conversions (0.00s) + checker_test.go:367: Typed AST: + ( ;;*ast.StmtList @ conversions:1:9 + ( ;;*ast.VarDecl @ conversions:1:9 + counter i) + ( ;;*ast.VarDecl @ conversions:2:10 + counter f) + ( ;;*ast.CondStmt @ conversions:3:2-7 + ( ;;*ast.PatternExpr @ conversions:3:2-7 + ( ;;*ast.PatternLit @ conversions:3:2-7 + "(.*)") + ) + ( ;;*ast.StmtList @ conversions:4:4-14 + ( ;;*ast.BinaryExpr @ conversions:4:4-14 + = + ( ;;*ast.IndexedExpr @ conversions:4:4 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ conversions:4:4 + "i") + ) + ( ;;*ast.BuiltinExpr @ conversions:4:14 + "int" + ( ;;*ast.ExprList <⨯ String> @ conversions:4:12-13 + ( ;;*ast.CaprefTerm @ conversions:4:12-13 + "1") + ) + ) + ) + ( ;;*ast.BinaryExpr @ conversions:5:4-16 + = + ( ;;*ast.IndexedExpr @ conversions:5:4 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ conversions:5:4 + "f") + ) + ( ;;*ast.BuiltinExpr @ conversions:5:16 + "float" + ( ;;*ast.ExprList <⨯ String> @ conversions:5:14-15 + ( ;;*ast.CaprefTerm @ conversions:5:14-15 + "1") + ) + ) + ) + ) + ) + ) + --- PASS: TestCheckValidPrograms/capture_group (0.00s) checker_test.go:367: Typed AST: ( ;;*ast.StmtList @ capture group:1:9-11 @@ -1431,22 +1556,35 @@ ) ) - --- PASS: TestCheckValidPrograms/stop (0.00s) + --- PASS: TestCheckValidPrograms/odd_indexes (0.00s) checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ stop:2:1-4 - ( ;;*ast.StopStmt @ stop:2:1-4 - stop) - ( ;;*ast.CondStmt @ stop:3:1-2 - ( ;;*ast.PatternExpr @ stop:3:1-2 - ( ;;*ast.PatternLit @ stop:3:1-2 - "") + ( ;;*ast.StmtList @ odd indexes:1:9-11 + ( ;;*ast.VarDecl @ odd indexes:1:9-11 + counter foo (a b c)) + ( ;;*ast.CondStmt @ odd indexes:2:2-12 + ( ;;*ast.PatternExpr @ odd indexes:2:2-12 + ( ;;*ast.PatternLit @ odd indexes:2:2-12 + "(\\d) (\\d)") ) - ( ;;*ast.StmtList @ stop:4:1-4 - ( ;;*ast.StopStmt @ stop:4:1-4 - stop) + ( ;;*ast.StmtList @ odd indexes:3:4-18 + ( ;;*ast.UnaryExpr @ odd indexes:3:4-18 + ++ + ( ;;*ast.IndexedExpr @ odd indexes:3:4-15 + ( ;;*ast.ExprList @ odd indexes:3:8-15 + ( ;;*ast.CaprefTerm @ odd indexes:3:8-9 + "1") + ( ;;*ast.CaprefTerm @ odd indexes:3:11-12 + "2") + ( ;;*ast.IntLit @ odd indexes:3:15 + 0) + ) + ( ;;*ast.IdTerm @ odd indexes:3:4-6 + "foo") + ) + ) + ) ) ) - ) --- PASS: TestCheckValidPrograms/decrement (0.00s) checker_test.go:367: Typed AST: @@ -1472,6 +1610,58 @@ ) ) + --- PASS: TestCheckValidPrograms/string_concat (0.00s) + checker_test.go:367: Typed AST: + ( ;;*ast.StmtList @ string concat:2:9 + ( ;;*ast.VarDecl @ string concat:2:9 + counter f (s)) + ( ;;*ast.CondStmt @ string concat:3:1-12 + ( ;;*ast.PatternExpr @ string concat:3:1-12 + ( ;;*ast.PatternLit @ string concat:3:1-12 + "(.*), (.*)") + ) + ( ;;*ast.StmtList @ string concat:4:3-14 + ( ;;*ast.UnaryExpr @ string concat:4:3-14 + ++ + ( ;;*ast.IndexedExpr @ string concat:4:3-11 + ( ;;*ast.ExprList <⨯ String> @ string concat:4:5-11 + ( ;;*ast.BinaryExpr @ string concat:4:5-11 + + + ( ;;*ast.CaprefTerm @ string concat:4:5-6 + "1") + ( ;;*ast.CaprefTerm @ string concat:4:10-11 + "2") + ) + ) + ( ;;*ast.IdTerm @ string concat:4:3 + "f") + ) + ) + ) + ) + ) + + --- PASS: TestCheckValidPrograms/function_return_value (0.00s) + checker_test.go:367: Typed AST: + ( ;;*ast.StmtList @ function return value:1:10-14 + ( ;;*ast.CondStmt @ function return value:1:10-14 + ( ;;*ast.BinaryExpr @ function return value:1:10-14 + > + ( ;;*ast.BuiltinExpr @ function return value:1:10 + "len" + ( ;;*ast.ExprList <⨯ String> @ function return value:1:5-9 + ( ;;*ast.StringLit @ function return value:1:5-9 + "foo") + ) + ) + ( ;;*ast.IntLit @ function return value:1:14 + 0) + ) + ( ;;*ast.StmtList @ + ) + ) + ) + --- PASS: TestCheckValidPrograms/concat_with_add_assign (0.00s) checker_test.go:367: Typed AST: ( ;;*ast.StmtList @ concat with add_assign:2:6-8 @@ -1498,75 +1688,6 @@ ) ) - --- PASS: TestCheckValidPrograms/decorator_scopes (0.00s) - checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ decorator scopes:2:9 - ( ;;*ast.VarDecl @ decorator scopes:2:9 - counter a) - ( ;;*ast.DecoDecl @ decorator scopes:4:3-9 - ( ;;*ast.StmtList @ decorator scopes:4:3-9 - ( ;;*ast.CondStmt @ decorator scopes:4:3-9 - ( ;;*ast.PatternExpr @ decorator scopes:4:3-9 - ( ;;*ast.PatternLit @ decorator scopes:4:3-9 - "(.).*") - ) - ( ;;*ast.StmtList @ decorator scopes:5:5-8 - ( ;;*ast.NextStmt @ decorator scopes:5:5-8 - next) - ) - ) - ) - ) - ( ;;*ast.DecoStmt @ decorator scopes:8:1-10 - ( ;;*ast.StmtList @ decorator scopes:9:3-11 - ( ;;*ast.CondStmt @ decorator scopes:9:3-11 - ( ;;*ast.BinaryExpr @ decorator scopes:9:3-11 - == - ( ;;*ast.CaprefTerm @ decorator scopes:9:3-4 - "1") - ( ;;*ast.StringLit @ decorator scopes:9:9-11 - "A") - ) - ( ;;*ast.StmtList @ decorator scopes:10:5-7 - ( ;;*ast.UnaryExpr @ decorator scopes:10:5-7 - ++ - ( ;;*ast.IndexedExpr @ decorator scopes:10:5 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ decorator scopes:10:5 - "a") - ) - ) - ) - ) - ) - ) - ) - - --- PASS: TestCheckValidPrograms/match_expr_4 (0.00s) - checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ match expr 4:2:1-27 - ( ;;*ast.CondStmt @ match expr 4:2:1-27 - ( ;;*ast.PatternExpr @ match expr 4:2:1-27 - ( ;;*ast.PatternLit @ match expr 4:2:1-27 - "(?P.{6}) (?P.*)") - ) - ( ;;*ast.StmtList @ match expr 4:3:3-14 - ( ;;*ast.CondStmt @ match expr 4:3:3-14 - ( ;;*ast.BinaryExpr @ match expr 4:3:3-14 - =~ - ( ;;*ast.CaprefTerm @ match expr 4:3:3-6 - "foo") - ( ;;*ast.CaprefTerm @ match expr 4:3:11-14 - "bar") - ) - ( ;;*ast.StmtList @ - ) - ) - ) - ) - ) - --- PASS: TestCheckValidPrograms/paren_expr (0.00s) checker_test.go:367: Typed AST: ( ;;*ast.StmtList @ paren expr:2:2-14 @@ -1590,138 +1711,6 @@ ) ) - --- PASS: TestCheckValidPrograms/concat_expr_2 (0.00s) - checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ concat expr 2:2:7 - ( ;;*ast.PatternFragment @ concat expr 2:2:7 - const ( ;;*ast.IdTerm @ concat expr 2:2:7 - "X") - ) - ( ;;*ast.CondStmt @ concat expr 2:3:1 - ( ;;*ast.IndexedExpr @ concat expr 2:3:1 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ concat expr 2:3:1 - "X") - ) - ( ;;*ast.StmtList @ - ) - ) - ) - - --- PASS: TestCheckValidPrograms/concat_expr_1 (0.00s) - checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ concat expr 1:2:7 - ( ;;*ast.PatternFragment @ concat expr 1:2:7 - const ( ;;*ast.IdTerm @ concat expr 1:2:7 - "X") - ) - ( ;;*ast.CondStmt @ concat expr 1:3:1-9 - ( ;;*ast.PatternExpr @ concat expr 1:3:1-9 - ( ;;*ast.BinaryExpr @ concat expr 1:3:1-9 - ++ - ( ;;*ast.PatternLit @ concat expr 1:3:1-5 - "bar") - ( ;;*ast.IdTerm @ concat expr 1:3:9 - "X") - ) - ) - ( ;;*ast.StmtList @ - ) - ) - ) - - --- PASS: TestCheckValidPrograms/binop_arith_type_conversion (0.00s) - checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ binop arith type conversion:2:7-9 - ( ;;*ast.VarDecl @ binop arith type conversion:2:7-9 - gauge var) - ( ;;*ast.CondStmt @ binop arith type conversion:3:1-23 - ( ;;*ast.PatternExpr @ binop arith type conversion:3:1-23 - ( ;;*ast.PatternLit @ binop arith type conversion:3:1-23 - "(?P\\d+) (\\d+\\.\\d+)") - ) - ( ;;*ast.StmtList @ binop arith type conversion:4:3-15 - ( ;;*ast.BinaryExpr @ binop arith type conversion:4:3-15 - = - ( ;;*ast.IndexedExpr @ binop arith type conversion:4:3-5 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ binop arith type conversion:4:3-5 - "var") - ) - ( ;;*ast.BinaryExpr @ binop arith type conversion:4:9-15 - + - ( ;;*ast.ConvExpr @ binop arith type conversion:4:9-10 - conv( ;;*ast.CaprefTerm @ binop arith type conversion:4:9-10 - "x") - ) - ( ;;*ast.CaprefTerm @ binop arith type conversion:4:14-15 - "2") - ) - ) - ) - ) - ) - - --- PASS: TestCheckValidPrograms/binop_compare_type_conversion (0.00s) - checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ binop compare type conversion:2:7-9 - ( ;;*ast.VarDecl @ binop compare type conversion:2:7-9 - gauge var) - ( ;;*ast.CondStmt @ binop compare type conversion:3:1-23 - ( ;;*ast.PatternExpr @ binop compare type conversion:3:1-23 - ( ;;*ast.PatternLit @ binop compare type conversion:3:1-23 - "(?P\\d+) (\\d+\\.\\d+)") - ) - ( ;;*ast.StmtList @ binop compare type conversion:4:3-15 - ( ;;*ast.BinaryExpr @ binop compare type conversion:4:3-15 - = - ( ;;*ast.IndexedExpr @ binop compare type conversion:4:3-5 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ binop compare type conversion:4:3-5 - "var") - ) - ( ;;*ast.BinaryExpr @ binop compare type conversion:4:9-15 - + - ( ;;*ast.ConvExpr @ binop compare type conversion:4:9-10 - conv( ;;*ast.CaprefTerm @ binop compare type conversion:4:9-10 - "x") - ) - ( ;;*ast.CaprefTerm @ binop compare type conversion:4:14-15 - "2") - ) - ) - ) - ) - ) - - --- PASS: TestCheckValidPrograms/capref_used_in_def (0.00s) - checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ capref used in def:2:1-22 - ( ;;*ast.CondStmt @ capref used in def:2:1-22 - ( ;;*ast.BinaryExpr @ capref used in def:2:1-22 - && - ( ;;*ast.ConvExpr @ capref used in def:2:1-12 - conv( ;;*ast.PatternExpr @ capref used in def:2:1-12 - ( ;;*ast.PatternLit @ capref used in def:2:1-12 - "(?P\\d+)") - ) - ) - ( ;;*ast.BinaryExpr @ capref used in def:2:17-22 - > - ( ;;*ast.CaprefTerm @ capref used in def:2:17-18 - "x") - ( ;;*ast.IntLit @ capref used in def:2:22 - 0) - ) - ) - ( ;;*ast.StmtList @ - ) - ) - ) - --- PASS: TestCheckValidPrograms/implicit_int (0.00s) checker_test.go:367: Typed AST: ( ;;*ast.StmtList @ implicit int:1:9-11 @@ -1746,32 +1735,6 @@ ) ) - --- PASS: TestCheckValidPrograms/match_expr_1 (0.00s) - checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ match expr 1:2:1-13 - ( ;;*ast.CondStmt @ match expr 1:2:1-13 - ( ;;*ast.PatternExpr @ match expr 1:2:1-13 - ( ;;*ast.PatternLit @ match expr 1:2:1-13 - "(?P.*)") - ) - ( ;;*ast.StmtList @ match expr 1:3:3-15 - ( ;;*ast.CondStmt @ match expr 1:3:3-15 - ( ;;*ast.BinaryExpr @ match expr 1:3:3-15 - =~ - ( ;;*ast.CaprefTerm @ match expr 1:3:3-6 - "foo") - ( ;;*ast.PatternExpr @ match expr 1:3:11-15 - ( ;;*ast.PatternLit @ match expr 1:3:11-15 - "bar") - ) - ) - ( ;;*ast.StmtList @ - ) - ) - ) - ) - ) - --- PASS: TestCheckValidPrograms/nested_binary_conditional (0.00s) checker_test.go:367: Typed AST: ( ;;*ast.StmtList @ nested binary conditional:1:1-16 @@ -1798,165 +1761,140 @@ ) ) - --- PASS: TestCheckValidPrograms/namespace (0.00s) + --- PASS: TestCheckValidPrograms/decorator_scopes (0.00s) checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ namespace:2:9-12 - ( ;;*ast.VarDecl @ namespace:2:9-12 - counter test) - ( ;;*ast.CondStmt @ namespace:4:1-14 - ( ;;*ast.PatternExpr @ namespace:4:1-14 - ( ;;*ast.PatternLit @ namespace:4:1-14 - "(?P.*)") - ) - ( ;;*ast.StmtList @ namespace:5:5-10 - ( ;;*ast.UnaryExpr @ namespace:5:5-10 - ++ - ( ;;*ast.IndexedExpr @ namespace:5:5-8 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ namespace:5:5-8 - "test") - ) + ( ;;*ast.StmtList @ decorator scopes:2:9 + ( ;;*ast.VarDecl @ decorator scopes:2:9 + counter a) + ( ;;*ast.DecoDecl @ decorator scopes:4:3-9 + ( ;;*ast.StmtList @ decorator scopes:4:3-9 + ( ;;*ast.CondStmt @ decorator scopes:4:3-9 + ( ;;*ast.PatternExpr @ decorator scopes:4:3-9 + ( ;;*ast.PatternLit @ decorator scopes:4:3-9 + "(.).*") + ) + ( ;;*ast.StmtList @ decorator scopes:5:5-8 + ( ;;*ast.NextStmt @ decorator scopes:5:5-8 + next) ) ) ) ) - - --- PASS: TestCheckValidPrograms/logical_operators (0.00s) - checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ logical operators:1:1-6 - ( ;;*ast.CondStmt @ logical operators:1:1-6 - ( ;;*ast.BinaryExpr @ logical operators:1:1-6 - || - ( ;;*ast.IntLit @ logical operators:1:1 - 0) - ( ;;*ast.IntLit @ logical operators:1:6 - 1) - ) - ( ;;*ast.StmtList @ - ) - ) - ( ;;*ast.CondStmt @ logical operators:3:1-6 - ( ;;*ast.BinaryExpr @ logical operators:3:1-6 - && - ( ;;*ast.IntLit @ logical operators:3:1 - 1) - ( ;;*ast.IntLit @ logical operators:3:6 - 0) - ) - ( ;;*ast.StmtList @ - ) - ) - ) - - --- PASS: TestCheckValidPrograms/string_concat (0.00s) - checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ string concat:2:9 - ( ;;*ast.VarDecl @ string concat:2:9 - counter f (s)) - ( ;;*ast.CondStmt @ string concat:3:1-12 - ( ;;*ast.PatternExpr @ string concat:3:1-12 - ( ;;*ast.PatternLit @ string concat:3:1-12 - "(.*), (.*)") - ) - ( ;;*ast.StmtList @ string concat:4:3-14 - ( ;;*ast.UnaryExpr @ string concat:4:3-14 - ++ - ( ;;*ast.IndexedExpr @ string concat:4:3-11 - ( ;;*ast.ExprList <⨯ String> @ string concat:4:5-11 - ( ;;*ast.BinaryExpr @ string concat:4:5-11 - + - ( ;;*ast.CaprefTerm @ string concat:4:5-6 - "1") - ( ;;*ast.CaprefTerm @ string concat:4:10-11 - "2") + ( ;;*ast.DecoStmt @ decorator scopes:8:1-10 + ( ;;*ast.StmtList @ decorator scopes:9:3-11 + ( ;;*ast.CondStmt @ decorator scopes:9:3-11 + ( ;;*ast.BinaryExpr @ decorator scopes:9:3-11 + == + ( ;;*ast.CaprefTerm @ decorator scopes:9:3-4 + "1") + ( ;;*ast.StringLit @ decorator scopes:9:9-11 + "A") + ) + ( ;;*ast.StmtList @ decorator scopes:10:5-7 + ( ;;*ast.UnaryExpr @ decorator scopes:10:5-7 + ++ + ( ;;*ast.IndexedExpr @ decorator scopes:10:5 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ decorator scopes:10:5 + "a") ) ) - ( ;;*ast.IdTerm @ string concat:4:3 - "f") ) ) ) ) ) - --- PASS: TestCheckValidPrograms/conversions (0.00s) + --- PASS: TestCheckValidPrograms/sibling_positionals (0.00s) checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ conversions:1:9 - ( ;;*ast.VarDecl @ conversions:1:9 - counter i) - ( ;;*ast.VarDecl @ conversions:2:10 - counter f) - ( ;;*ast.CondStmt @ conversions:3:2-7 - ( ;;*ast.PatternExpr @ conversions:3:2-7 - ( ;;*ast.PatternLit @ conversions:3:2-7 + ( ;;*ast.StmtList @ sibling positionals:1:9-11 + ( ;;*ast.VarDecl @ sibling positionals:1:9-11 + counter foo) + ( ;;*ast.CondStmt @ sibling positionals:2:1-6 + ( ;;*ast.PatternExpr @ sibling positionals:2:1-6 + ( ;;*ast.PatternLit @ sibling positionals:2:1-6 "(.*)") ) - ( ;;*ast.StmtList @ conversions:4:4-14 - ( ;;*ast.BinaryExpr @ conversions:4:4-14 - = - ( ;;*ast.IndexedExpr @ conversions:4:4 + ( ;;*ast.StmtList @ sibling positionals:3:3-11 + ( ;;*ast.BinaryExpr @ sibling positionals:3:3-11 + += + ( ;;*ast.IndexedExpr @ sibling positionals:3:3-5 ( ;;*ast.ExprList <⨯> @ ) - ( ;;*ast.IdTerm @ conversions:4:4 - "i") - ) - ( ;;*ast.BuiltinExpr @ conversions:4:14 - "int" - ( ;;*ast.ExprList <⨯ String> @ conversions:4:12-13 - ( ;;*ast.CaprefTerm @ conversions:4:12-13 - "1") - ) + ( ;;*ast.IdTerm @ sibling positionals:3:3-5 + "foo") ) + ( ;;*ast.CaprefTerm @ sibling positionals:3:10-11 + "1") ) - ( ;;*ast.BinaryExpr @ conversions:5:4-16 - = - ( ;;*ast.IndexedExpr @ conversions:5:4 + ) + ) + ( ;;*ast.CondStmt @ sibling positionals:5:1-10 + ( ;;*ast.PatternExpr @ sibling positionals:5:1-10 + ( ;;*ast.PatternLit @ sibling positionals:5:1-10 + "bar(\\d+)") + ) + ( ;;*ast.StmtList @ sibling positionals:6:4-12 + ( ;;*ast.BinaryExpr @ sibling positionals:6:4-12 + += + ( ;;*ast.IndexedExpr @ sibling positionals:6:4-6 ( ;;*ast.ExprList <⨯> @ ) - ( ;;*ast.IdTerm @ conversions:5:4 - "f") - ) - ( ;;*ast.BuiltinExpr @ conversions:5:16 - "float" - ( ;;*ast.ExprList <⨯ String> @ conversions:5:14-15 - ( ;;*ast.CaprefTerm @ conversions:5:14-15 - "1") - ) + ( ;;*ast.IdTerm @ sibling positionals:6:4-6 + "foo") ) + ( ;;*ast.CaprefTerm @ sibling positionals:6:11-12 + "1") ) ) ) ) - --- PASS: TestCheckValidPrograms/strptime_format (0.00s) + --- PASS: TestCheckValidPrograms/match_expr_4 (0.00s) checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ strptime format:2:54 - ( ;;*ast.BuiltinExpr @ strptime format:2:54 - "strptime" - ( ;;*ast.ExprList @ strptime format:2:10-53 - ( ;;*ast.StringLit @ strptime format:2:10-30 - "2006-01-02 15:04:05") - ( ;;*ast.StringLit @ strptime format:2:33-53 - "2006-01-02 15:04:05") + ( ;;*ast.StmtList @ match expr 4:2:1-27 + ( ;;*ast.CondStmt @ match expr 4:2:1-27 + ( ;;*ast.PatternExpr @ match expr 4:2:1-27 + ( ;;*ast.PatternLit @ match expr 4:2:1-27 + "(?P.{6}) (?P.*)") + ) + ( ;;*ast.StmtList @ match expr 4:3:3-14 + ( ;;*ast.CondStmt @ match expr 4:3:3-14 + ( ;;*ast.BinaryExpr @ match expr 4:3:3-14 + =~ + ( ;;*ast.CaprefTerm @ match expr 4:3:3-6 + "foo") + ( ;;*ast.CaprefTerm @ match expr 4:3:11-14 + "bar") + ) + ( ;;*ast.StmtList @ + ) + ) ) ) ) - --- PASS: TestCheckValidPrograms/function_return_value (0.00s) + --- PASS: TestCheckValidPrograms/logical_operators (0.00s) checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ function return value:1:10-14 - ( ;;*ast.CondStmt @ function return value:1:10-14 - ( ;;*ast.BinaryExpr @ function return value:1:10-14 - > - ( ;;*ast.BuiltinExpr @ function return value:1:10 - "len" - ( ;;*ast.ExprList <⨯ String> @ function return value:1:5-9 - ( ;;*ast.StringLit @ function return value:1:5-9 - "foo") - ) - ) - ( ;;*ast.IntLit @ function return value:1:14 + ( ;;*ast.StmtList @ logical operators:1:1-6 + ( ;;*ast.CondStmt @ logical operators:1:1-6 + ( ;;*ast.BinaryExpr @ logical operators:1:1-6 + || + ( ;;*ast.IntLit @ logical operators:1:1 + 0) + ( ;;*ast.IntLit @ logical operators:1:6 + 1) + ) + ( ;;*ast.StmtList @ + ) + ) + ( ;;*ast.CondStmt @ logical operators:3:1-6 + ( ;;*ast.BinaryExpr @ logical operators:3:1-6 + && + ( ;;*ast.IntLit @ logical operators:3:1 + 1) + ( ;;*ast.IntLit @ logical operators:3:6 0) ) ( ;;*ast.StmtList @ @@ -2018,77 +1956,21 @@ ) ) - --- PASS: TestCheckValidPrograms/odd_indexes (0.00s) - checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ odd indexes:1:9-11 - ( ;;*ast.VarDecl @ odd indexes:1:9-11 - counter foo (a b c)) - ( ;;*ast.CondStmt @ odd indexes:2:2-12 - ( ;;*ast.PatternExpr @ odd indexes:2:2-12 - ( ;;*ast.PatternLit @ odd indexes:2:2-12 - "(\\d) (\\d)") - ) - ( ;;*ast.StmtList @ odd indexes:3:4-18 - ( ;;*ast.UnaryExpr @ odd indexes:3:4-18 - ++ - ( ;;*ast.IndexedExpr @ odd indexes:3:4-15 - ( ;;*ast.ExprList @ odd indexes:3:8-15 - ( ;;*ast.CaprefTerm @ odd indexes:3:8-9 - "1") - ( ;;*ast.CaprefTerm @ odd indexes:3:11-12 - "2") - ( ;;*ast.IntLit @ odd indexes:3:15 - 0) - ) - ( ;;*ast.IdTerm @ odd indexes:3:4-6 - "foo") - ) - ) - ) - ) - ) - - --- PASS: TestCheckValidPrograms/sibling_positionals (0.00s) + --- PASS: TestCheckValidPrograms/concat_expr_2 (0.00s) checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ sibling positionals:1:9-11 - ( ;;*ast.VarDecl @ sibling positionals:1:9-11 - counter foo) - ( ;;*ast.CondStmt @ sibling positionals:2:1-6 - ( ;;*ast.PatternExpr @ sibling positionals:2:1-6 - ( ;;*ast.PatternLit @ sibling positionals:2:1-6 - "(.*)") - ) - ( ;;*ast.StmtList @ sibling positionals:3:3-11 - ( ;;*ast.BinaryExpr @ sibling positionals:3:3-11 - += - ( ;;*ast.IndexedExpr @ sibling positionals:3:3-5 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ sibling positionals:3:3-5 - "foo") - ) - ( ;;*ast.CaprefTerm @ sibling positionals:3:10-11 - "1") + ( ;;*ast.StmtList @ concat expr 2:2:7 + ( ;;*ast.PatternFragment @ concat expr 2:2:7 + const ( ;;*ast.IdTerm @ concat expr 2:2:7 + "X") + ) + ( ;;*ast.CondStmt @ concat expr 2:3:1 + ( ;;*ast.IndexedExpr @ concat expr 2:3:1 + ( ;;*ast.ExprList <⨯> @ ) + ( ;;*ast.IdTerm @ concat expr 2:3:1 + "X") ) - ) - ( ;;*ast.CondStmt @ sibling positionals:5:1-10 - ( ;;*ast.PatternExpr @ sibling positionals:5:1-10 - ( ;;*ast.PatternLit @ sibling positionals:5:1-10 - "bar(\\d+)") - ) - ( ;;*ast.StmtList @ sibling positionals:6:4-12 - ( ;;*ast.BinaryExpr @ sibling positionals:6:4-12 - += - ( ;;*ast.IndexedExpr @ sibling positionals:6:4-6 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ sibling positionals:6:4-6 - "foo") - ) - ( ;;*ast.CaprefTerm @ sibling positionals:6:11-12 - "1") - ) + ( ;;*ast.StmtList @ ) ) ) @@ -2138,6 +2020,159 @@ ) ) + --- PASS: TestCheckValidPrograms/binop_compare_type_conversion (0.00s) + checker_test.go:367: Typed AST: + ( ;;*ast.StmtList @ binop compare type conversion:2:7-9 + ( ;;*ast.VarDecl @ binop compare type conversion:2:7-9 + gauge var) + ( ;;*ast.CondStmt @ binop compare type conversion:3:1-23 + ( ;;*ast.PatternExpr @ binop compare type conversion:3:1-23 + ( ;;*ast.PatternLit @ binop compare type conversion:3:1-23 + "(?P\\d+) (\\d+\\.\\d+)") + ) + ( ;;*ast.StmtList @ binop compare type conversion:4:3-15 + ( ;;*ast.BinaryExpr @ binop compare type conversion:4:3-15 + = + ( ;;*ast.IndexedExpr @ binop compare type conversion:4:3-5 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ binop compare type conversion:4:3-5 + "var") + ) + ( ;;*ast.BinaryExpr @ binop compare type conversion:4:9-15 + + + ( ;;*ast.ConvExpr @ binop compare type conversion:4:9-10 + conv( ;;*ast.CaprefTerm @ binop compare type conversion:4:9-10 + "x") + ) + ( ;;*ast.CaprefTerm @ binop compare type conversion:4:14-15 + "2") + ) + ) + ) + ) + ) + + --- PASS: TestCheckValidPrograms/concat_expr_1 (0.00s) + checker_test.go:367: Typed AST: + ( ;;*ast.StmtList @ concat expr 1:2:7 + ( ;;*ast.PatternFragment @ concat expr 1:2:7 + const ( ;;*ast.IdTerm @ concat expr 1:2:7 + "X") + ) + ( ;;*ast.CondStmt @ concat expr 1:3:1-9 + ( ;;*ast.PatternExpr @ concat expr 1:3:1-9 + ( ;;*ast.BinaryExpr @ concat expr 1:3:1-9 + ++ + ( ;;*ast.PatternLit @ concat expr 1:3:1-5 + "bar") + ( ;;*ast.IdTerm @ concat expr 1:3:9 + "X") + ) + ) + ( ;;*ast.StmtList @ + ) + ) + ) + + --- PASS: TestCheckValidPrograms/match_expr_1 (0.00s) + checker_test.go:367: Typed AST: + ( ;;*ast.StmtList @ match expr 1:2:1-13 + ( ;;*ast.CondStmt @ match expr 1:2:1-13 + ( ;;*ast.PatternExpr @ match expr 1:2:1-13 + ( ;;*ast.PatternLit @ match expr 1:2:1-13 + "(?P.*)") + ) + ( ;;*ast.StmtList @ match expr 1:3:3-15 + ( ;;*ast.CondStmt @ match expr 1:3:3-15 + ( ;;*ast.BinaryExpr @ match expr 1:3:3-15 + =~ + ( ;;*ast.CaprefTerm @ match expr 1:3:3-6 + "foo") + ( ;;*ast.PatternExpr @ match expr 1:3:11-15 + ( ;;*ast.PatternLit @ match expr 1:3:11-15 + "bar") + ) + ) + ( ;;*ast.StmtList @ + ) + ) + ) + ) + ) + + --- PASS: TestCheckValidPrograms/strptime_format (0.00s) + checker_test.go:367: Typed AST: + ( ;;*ast.StmtList @ strptime format:2:54 + ( ;;*ast.BuiltinExpr @ strptime format:2:54 + "strptime" + ( ;;*ast.ExprList @ strptime format:2:10-53 + ( ;;*ast.StringLit @ strptime format:2:10-30 + "2006-01-02 15:04:05") + ( ;;*ast.StringLit @ strptime format:2:33-53 + "2006-01-02 15:04:05") + ) + ) + ) + + --- PASS: TestCheckValidPrograms/binop_arith_type_conversion (0.00s) + checker_test.go:367: Typed AST: + ( ;;*ast.StmtList @ binop arith type conversion:2:7-9 + ( ;;*ast.VarDecl @ binop arith type conversion:2:7-9 + gauge var) + ( ;;*ast.CondStmt @ binop arith type conversion:3:1-23 + ( ;;*ast.PatternExpr @ binop arith type conversion:3:1-23 + ( ;;*ast.PatternLit @ binop arith type conversion:3:1-23 + "(?P\\d+) (\\d+\\.\\d+)") + ) + ( ;;*ast.StmtList @ binop arith type conversion:4:3-15 + ( ;;*ast.BinaryExpr @ binop arith type conversion:4:3-15 + = + ( ;;*ast.IndexedExpr @ binop arith type conversion:4:3-5 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ binop arith type conversion:4:3-5 + "var") + ) + ( ;;*ast.BinaryExpr @ binop arith type conversion:4:9-15 + + + ( ;;*ast.ConvExpr @ binop arith type conversion:4:9-10 + conv( ;;*ast.CaprefTerm @ binop arith type conversion:4:9-10 + "x") + ) + ( ;;*ast.CaprefTerm @ binop arith type conversion:4:14-15 + "2") + ) + ) + ) + ) + ) + + --- PASS: TestCheckValidPrograms/capref_used_in_def (0.00s) + checker_test.go:367: Typed AST: + ( ;;*ast.StmtList @ capref used in def:2:1-22 + ( ;;*ast.CondStmt @ capref used in def:2:1-22 + ( ;;*ast.BinaryExpr @ capref used in def:2:1-22 + && + ( ;;*ast.ConvExpr @ capref used in def:2:1-12 + conv( ;;*ast.PatternExpr @ capref used in def:2:1-12 + ( ;;*ast.PatternLit @ capref used in def:2:1-12 + "(?P\\d+)") + ) + ) + ( ;;*ast.BinaryExpr @ capref used in def:2:17-22 + > + ( ;;*ast.CaprefTerm @ capref used in def:2:17-18 + "x") + ( ;;*ast.IntLit @ capref used in def:2:22 + 0) + ) + ) + ( ;;*ast.StmtList @ + ) + ) + ) + === RUN TestCheckTypeExpressions === RUN TestCheckTypeExpressions/Int_+_Int_->_Int === PAUSE TestCheckTypeExpressions/Int_+_Int_->_Int @@ -2149,17 +2184,17 @@ === CONT TestCheckTypeExpressions/⍺_+_Float_->_Float === CONT TestCheckTypeExpressions/Int_+_Float_->_Float --- PASS: TestCheckTypeExpressions (0.00s) + --- PASS: TestCheckTypeExpressions/Int_+_Int_->_Int (0.00s) --- PASS: TestCheckTypeExpressions/⍺_+_Float_->_Float (0.00s) --- PASS: TestCheckTypeExpressions/Int_+_Float_->_Float (0.00s) - --- PASS: TestCheckTypeExpressions/Int_+_Int_->_Int (0.00s) PASS -ok github.com/google/mtail/internal/vm/checker 0.055s +ok github.com/google/mtail/internal/vm/checker 0.020s === RUN TestOpcodeHasString --- PASS: TestOpcodeHasString (0.00s) === RUN TestInstrString --- PASS: TestInstrString (0.00s) PASS -ok github.com/google/mtail/internal/vm/code 0.046s +ok github.com/google/mtail/internal/vm/code 0.014s === RUN TestCodegen === RUN TestCodegen/simple_line_counter === PAUSE TestCodegen/simple_line_counter @@ -2256,52 +2291,52 @@ === RUN TestCodegen/stop_inside === PAUSE TestCodegen/stop_inside === CONT TestCodegen/simple_line_counter -=== CONT TestCodegen/stop_inside +=== CONT TestCodegen/types +=== CONT TestCodegen/negative_match_expression +=== CONT TestCodegen/float_to_string === CONT TestCodegen/del_after -=== CONT TestCodegen/del -=== CONT TestCodegen/mod -=== CONT TestCodegen/cond_else +=== CONT TestCodegen/deco +=== CONT TestCodegen/stop_inside +=== CONT TestCodegen/string_to_float +=== CONT TestCodegen/cond_expr_gt +=== CONT TestCodegen/cond_expr_lt === CONT TestCodegen/stop +=== CONT TestCodegen/int_to_float +=== CONT TestCodegen/nested_comparisons === CONT TestCodegen/cast_to_self +=== CONT TestCodegen/string_concat === CONT TestCodegen/capref_and_settime +=== CONT TestCodegen/string_to_int +=== CONT TestCodegen/cond_expr_ge +=== CONT TestCodegen/cond_expr_eq +=== CONT TestCodegen/inc_by_and_set === CONT TestCodegen/decrement +=== CONT TestCodegen/int_to_string +=== CONT TestCodegen/dimensioned_counter +=== CONT TestCodegen/nested_cond === CONT TestCodegen/concat_to_text -=== CONT TestCodegen/otherwise +=== CONT TestCodegen/match_expression +=== CONT TestCodegen/strptime_and_named_capref +=== CONT TestCodegen/strptime_and_capref +=== CONT TestCodegen/getfilename === CONT TestCodegen/set_string +=== CONT TestCodegen/binop_arith_type_conversion +=== CONT TestCodegen/add_assign_float +=== CONT TestCodegen/cond_expr_ne +=== CONT TestCodegen/capref_used_in_def === CONT TestCodegen/float -=== CONT TestCodegen/binop_compare_type_conversion -=== CONT TestCodegen/strtol +=== CONT TestCodegen/del === CONT TestCodegen/indexed_expr -=== CONT TestCodegen/binop_arith_type_conversion +=== CONT TestCodegen/mod === CONT TestCodegen/pow -=== CONT TestCodegen/capref_used_in_def -=== CONT TestCodegen/bitwise -=== CONT TestCodegen/negative_match_expression -=== CONT TestCodegen/match_expression -=== CONT TestCodegen/nested_cond -=== CONT TestCodegen/cond_expr_ne -=== CONT TestCodegen/cond_expr_ge === CONT TestCodegen/cond_expr_le -=== CONT TestCodegen/add_assign_float -=== CONT TestCodegen/inc_by_and_set -=== CONT TestCodegen/cond_expr_lt -=== CONT TestCodegen/cond_expr_gt -=== CONT TestCodegen/strptime_and_capref -=== CONT TestCodegen/strptime_and_named_capref +=== CONT TestCodegen/strtol +=== CONT TestCodegen/cond_else +=== CONT TestCodegen/otherwise +=== CONT TestCodegen/bitwise +=== CONT TestCodegen/binop_compare_type_conversion === CONT TestCodegen/count_a -=== CONT TestCodegen/string_concat -=== CONT TestCodegen/nested_comparisons -=== CONT TestCodegen/int_to_string -=== CONT TestCodegen/float_to_string -=== CONT TestCodegen/string_to_float -=== CONT TestCodegen/int_to_float -=== CONT TestCodegen/string_to_int -=== CONT TestCodegen/dimensioned_counter -=== CONT TestCodegen/getfilename -=== CONT TestCodegen/types -=== CONT TestCodegen/cond_expr_eq === CONT TestCodegen/length -=== CONT TestCodegen/deco --- PASS: TestCodegen (0.00s) --- PASS: TestCodegen/simple_line_counter (0.00s) codegen_test.go:867: Typed AST: @@ -2327,17 +2362,86 @@ ) ) - --- PASS: TestCodegen/stop_inside (0.00s) + --- PASS: TestCodegen/negative_match_expression (0.00s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ stop inside:2:1-2 - ( ;;*ast.CondStmt @ stop inside:2:1-2 - ( ;;*ast.PatternExpr @ stop inside:2:1-2 - ( ;;*ast.PatternLit @ stop inside:2:1-2 - "") + ( ;;*ast.StmtList @ negative match expression:2:10-12 + ( ;;*ast.VarDecl @ negative match expression:2:10-12 + counter foo) + ( ;;*ast.CondStmt @ negative match expression:3:2-7 + ( ;;*ast.PatternExpr @ negative match expression:3:2-7 + ( ;;*ast.PatternLit @ negative match expression:3:2-7 + "(.*)") ) - ( ;;*ast.StmtList @ stop inside:3:1-4 - ( ;;*ast.StopStmt @ stop inside:3:1-4 - stop) + ( ;;*ast.StmtList @ negative match expression:4:4-15 + ( ;;*ast.CondStmt @ negative match expression:4:4-15 + ( ;;*ast.BinaryExpr @ negative match expression:4:4-15 + !~ + ( ;;*ast.CaprefTerm @ negative match expression:4:4-5 + "1") + ( ;;*ast.PatternExpr @ negative match expression:4:10-15 + ( ;;*ast.PatternLit @ negative match expression:4:10-15 + "asdf") + ) + ) + ( ;;*ast.StmtList @ negative match expression:5:6-10 + ( ;;*ast.UnaryExpr @ negative match expression:5:6-10 + ++ + ( ;;*ast.IndexedExpr @ negative match expression:5:6-8 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ negative match expression:5:6-8 + "foo") + ) + ) + ) + ) + ) + ) + ) + + --- PASS: TestCodegen/types (0.00s) + codegen_test.go:867: Typed AST: + ( ;;*ast.StmtList @ types:2:7 + ( ;;*ast.VarDecl @ types:2:7 + gauge i) + ( ;;*ast.VarDecl @ types:3:7 + gauge f) + ( ;;*ast.CondStmt @ types:4:1-7 + ( ;;*ast.PatternExpr @ types:4:1-7 + ( ;;*ast.PatternLit @ types:4:1-7 + "(\\d+)") + ) + ( ;;*ast.StmtList @ types:5:2-7 + ( ;;*ast.BinaryExpr @ types:5:2-7 + = + ( ;;*ast.IndexedExpr @ types:5:2 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ types:5:2 + "i") + ) + ( ;;*ast.CaprefTerm @ types:5:6-7 + "1") + ) + ) + ) + ( ;;*ast.CondStmt @ types:7:1-12 + ( ;;*ast.PatternExpr @ types:7:1-12 + ( ;;*ast.PatternLit @ types:7:1-12 + "(\\d+\\.\\d+)") + ) + ( ;;*ast.StmtList @ types:8:2-7 + ( ;;*ast.BinaryExpr @ types:8:2-7 + = + ( ;;*ast.IndexedExpr @ types:8:2 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ types:8:2 + "f") + ) + ( ;;*ast.CaprefTerm @ types:8:6-7 + "1") + ) ) ) ) @@ -2345,31 +2449,87 @@ --- PASS: TestCodegen/del_after (0.00s) codegen_test.go:867: Typed AST: ( ;;*ast.StmtList @ del after:2:9 - ( ;;*ast.VarDecl @ del after:2:9 + ( ;;*ast.VarDecl @ del after:2:9 counter a (b)) ( ;;*ast.DelStmt @ del after:3:23-24 del after 1h0m0s) ) - --- PASS: TestCodegen/mod (0.00s) + --- PASS: TestCodegen/stop_inside (0.00s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ mod:2:1-5 - ( ;;*ast.BinaryExpr @ mod:2:1-5 - % - ( ;;*ast.IntLit @ mod:2:1 - 3) - ( ;;*ast.IntLit @ mod:2:5 - 1) + ( ;;*ast.StmtList @ stop inside:2:1-2 + ( ;;*ast.CondStmt @ stop inside:2:1-2 + ( ;;*ast.PatternExpr @ stop inside:2:1-2 + ( ;;*ast.PatternLit @ stop inside:2:1-2 + "") + ) + ( ;;*ast.StmtList @ stop inside:3:1-4 + ( ;;*ast.StopStmt @ stop inside:3:1-4 + stop) + ) ) ) - --- PASS: TestCodegen/del (0.00s) + --- PASS: TestCodegen/float_to_string (0.00s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ del:2:9 - ( ;;*ast.VarDecl @ del:2:9 - counter a (b)) - ( ;;*ast.DelStmt @ del:4:16 - del) + ( ;;*ast.StmtList @ float to string:1:9 + ( ;;*ast.VarDecl @ float to string:1:9 + counter c (a)) + ( ;;*ast.CondStmt @ float to string:2:1-12 + ( ;;*ast.PatternExpr @ float to string:2:1-12 + ( ;;*ast.PatternLit @ float to string:2:1-12 + "(\\d+\\.\\d+)") + ) + ( ;;*ast.StmtList @ float to string:3:3-18 + ( ;;*ast.UnaryExpr @ float to string:3:3-18 + ++ + ( ;;*ast.IndexedExpr @ float to string:3:3-14 + ( ;;*ast.ExprList <⨯ String> @ float to string:3:14 + ( ;;*ast.BuiltinExpr @ float to string:3:14 + "string" + ( ;;*ast.ExprList <⨯ Float> @ float to string:3:12-13 + ( ;;*ast.CaprefTerm @ float to string:3:12-13 + "1") + ) + ) + ) + ( ;;*ast.IdTerm @ float to string:3:3 + "c") + ) + ) + ) + ) + ) + + --- PASS: TestCodegen/string_to_float (0.00s) + codegen_test.go:867: Typed AST: + ( ;;*ast.StmtList @ string to float:1:9 + ( ;;*ast.VarDecl @ string to float:1:9 + counter c) + ( ;;*ast.CondStmt @ string to float:2:1-6 + ( ;;*ast.PatternExpr @ string to float:2:1-6 + ( ;;*ast.PatternLit @ string to float:2:1-6 + "(.*)") + ) + ( ;;*ast.StmtList @ string to float:3:3-15 + ( ;;*ast.BinaryExpr @ string to float:3:3-15 + = + ( ;;*ast.IndexedExpr @ string to float:3:3 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ string to float:3:3 + "c") + ) + ( ;;*ast.BuiltinExpr @ string to float:3:15 + "float" + ( ;;*ast.ExprList <⨯ String> @ string to float:3:13-14 + ( ;;*ast.CaprefTerm @ string to float:3:13-14 + "1") + ) + ) + ) + ) + ) ) --- PASS: TestCodegen/stop (0.00s) @@ -2379,6 +2539,33 @@ stop) ) + --- PASS: TestCodegen/cond_expr_gt (0.00s) + codegen_test.go:867: Typed AST: + ( ;;*ast.StmtList @ cond expr gt:1:9-11 + ( ;;*ast.VarDecl @ cond expr gt:1:9-11 + counter foo) + ( ;;*ast.CondStmt @ cond expr gt:2:1-5 + ( ;;*ast.BinaryExpr @ cond expr gt:2:1-5 + > + ( ;;*ast.IntLit @ cond expr gt:2:1 + 1) + ( ;;*ast.IntLit @ cond expr gt:2:5 + 0) + ) + ( ;;*ast.StmtList @ cond expr gt:3:3-7 + ( ;;*ast.UnaryExpr @ cond expr gt:3:3-7 + ++ + ( ;;*ast.IndexedExpr @ cond expr gt:3:3-5 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ cond expr gt:3:3-5 + "foo") + ) + ) + ) + ) + ) + --- PASS: TestCodegen/cast_to_self (0.00s) codegen_test.go:867: Typed AST: ( ;;*ast.StmtList @ cast to self:2:1-7 @@ -2404,6 +2591,82 @@ ) ) + --- PASS: TestCodegen/int_to_float (0.00s) + codegen_test.go:867: Typed AST: + ( ;;*ast.StmtList @ int to float:1:9 + ( ;;*ast.VarDecl @ int to float:1:9 + counter c) + ( ;;*ast.CondStmt @ int to float:2:1-6 + ( ;;*ast.PatternExpr @ int to float:2:1-6 + ( ;;*ast.PatternLit @ int to float:2:1-6 + "(\\d)") + ) + ( ;;*ast.StmtList @ int to float:3:3-15 + ( ;;*ast.BinaryExpr @ int to float:3:3-15 + = + ( ;;*ast.IndexedExpr @ int to float:3:3 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ int to float:3:3 + "c") + ) + ( ;;*ast.BuiltinExpr @ int to float:3:15 + "float" + ( ;;*ast.ExprList <⨯ Int> @ int to float:3:13-14 + ( ;;*ast.CaprefTerm @ int to float:3:13-14 + "1") + ) + ) + ) + ) + ) + ) + + --- PASS: TestCodegen/nested_comparisons (0.00s) + codegen_test.go:867: Typed AST: + ( ;;*ast.StmtList @ nested comparisons:1:9-11 + ( ;;*ast.VarDecl @ nested comparisons:1:9-11 + counter foo) + ( ;;*ast.CondStmt @ nested comparisons:2:1-6 + ( ;;*ast.PatternExpr @ nested comparisons:2:1-6 + ( ;;*ast.PatternLit @ nested comparisons:2:1-6 + "(.*)") + ) + ( ;;*ast.StmtList @ nested comparisons:3:3-28 + ( ;;*ast.CondStmt @ nested comparisons:3:3-28 + ( ;;*ast.BinaryExpr @ nested comparisons:3:3-28 + || + ( ;;*ast.BinaryExpr @ nested comparisons:3:3-13 + == + ( ;;*ast.CaprefTerm @ nested comparisons:3:3-4 + "1") + ( ;;*ast.StringLit @ nested comparisons:3:9-13 + "foo") + ) + ( ;;*ast.BinaryExpr @ nested comparisons:3:18-28 + == + ( ;;*ast.CaprefTerm @ nested comparisons:3:18-19 + "1") + ( ;;*ast.StringLit @ nested comparisons:3:24-28 + "bar") + ) + ) + ( ;;*ast.StmtList @ nested comparisons:4:5-9 + ( ;;*ast.UnaryExpr @ nested comparisons:4:5-9 + ++ + ( ;;*ast.IndexedExpr @ nested comparisons:4:5-7 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ nested comparisons:4:5-7 + "foo") + ) + ) + ) + ) + ) + ) + ) + --- PASS: TestCodegen/capref_and_settime (0.00s) codegen_test.go:867: Typed AST: ( ;;*ast.StmtList @ capref and settime:2:1-7 @@ -2424,6 +2687,91 @@ ) ) + --- PASS: TestCodegen/string_to_int (0.00s) + codegen_test.go:867: Typed AST: + ( ;;*ast.StmtList @ string to int:1:9 + ( ;;*ast.VarDecl @ string to int:1:9 + counter c) + ( ;;*ast.CondStmt @ string to int:2:1-6 + ( ;;*ast.PatternExpr @ string to int:2:1-6 + ( ;;*ast.PatternLit @ string to int:2:1-6 + "(.*)") + ) + ( ;;*ast.StmtList @ string to int:3:3-13 + ( ;;*ast.BinaryExpr @ string to int:3:3-13 + = + ( ;;*ast.IndexedExpr @ string to int:3:3 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ string to int:3:3 + "c") + ) + ( ;;*ast.BuiltinExpr @ string to int:3:13 + "int" + ( ;;*ast.ExprList <⨯ String> @ string to int:3:11-12 + ( ;;*ast.CaprefTerm @ string to int:3:11-12 + "1") + ) + ) + ) + ) + ) + ) + + --- PASS: TestCodegen/cond_expr_eq (0.00s) + codegen_test.go:867: Typed AST: + ( ;;*ast.StmtList @ cond expr eq:1:9-11 + ( ;;*ast.VarDecl @ cond expr eq:1:9-11 + counter foo) + ( ;;*ast.CondStmt @ cond expr eq:2:1-6 + ( ;;*ast.BinaryExpr @ cond expr eq:2:1-6 + == + ( ;;*ast.IntLit @ cond expr eq:2:1 + 1) + ( ;;*ast.IntLit @ cond expr eq:2:6 + 0) + ) + ( ;;*ast.StmtList @ cond expr eq:3:3-7 + ( ;;*ast.UnaryExpr @ cond expr eq:3:3-7 + ++ + ( ;;*ast.IndexedExpr @ cond expr eq:3:3-5 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ cond expr eq:3:3-5 + "foo") + ) + ) + ) + ) + ) + + --- PASS: TestCodegen/cond_expr_lt (0.00s) + codegen_test.go:867: Typed AST: + ( ;;*ast.StmtList @ cond expr lt:1:9-11 + ( ;;*ast.VarDecl @ cond expr lt:1:9-11 + counter foo) + ( ;;*ast.CondStmt @ cond expr lt:2:1-5 + ( ;;*ast.BinaryExpr @ cond expr lt:2:1-5 + < + ( ;;*ast.IntLit @ cond expr lt:2:1 + 1) + ( ;;*ast.IntLit @ cond expr lt:2:5 + 0) + ) + ( ;;*ast.StmtList @ cond expr lt:3:3-7 + ( ;;*ast.UnaryExpr @ cond expr lt:3:3-7 + ++ + ( ;;*ast.IndexedExpr @ cond expr lt:3:3-5 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ cond expr lt:3:3-5 + "foo") + ) + ) + ) + ) + ) + --- PASS: TestCodegen/decrement (0.00s) codegen_test.go:867: Typed AST: ( ;;*ast.StmtList @ decrement:2:9 @@ -2448,47 +2796,109 @@ ) ) - --- PASS: TestCodegen/cond_else (0.00s) + --- PASS: TestCodegen/dimensioned_counter (0.00s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ cond else:1:9-11 - ( ;;*ast.VarDecl @ cond else:1:9-11 + ( ;;*ast.StmtList @ dimensioned counter:1:9 + ( ;;*ast.VarDecl @ dimensioned counter:1:9 + counter c (a b c)) + ( ;;*ast.CondStmt @ dimensioned counter:2:1-16 + ( ;;*ast.PatternExpr @ dimensioned counter:2:1-16 + ( ;;*ast.PatternLit @ dimensioned counter:2:1-16 + "(\\d) (\\d) (\\d)") + ) + ( ;;*ast.StmtList @ dimensioned counter:3:3-16 + ( ;;*ast.UnaryExpr @ dimensioned counter:3:3-16 + ++ + ( ;;*ast.IndexedExpr @ dimensioned counter:3:3-13 + ( ;;*ast.ExprList @ dimensioned counter:3:5-13 + ( ;;*ast.CaprefTerm @ dimensioned counter:3:5-6 + "1") + ( ;;*ast.CaprefTerm @ dimensioned counter:3:8-9 + "2") + ( ;;*ast.CaprefTerm @ dimensioned counter:3:12-13 + "3") + ) + ( ;;*ast.IdTerm @ dimensioned counter:3:3 + "c") + ) + ) + ) + ) + ) + + --- PASS: TestCodegen/inc_by_and_set (0.00s) + codegen_test.go:867: Typed AST: + ( ;;*ast.StmtList @ inc by and set:1:9-11 + ( ;;*ast.VarDecl @ inc by and set:1:9-11 counter foo) - ( ;;*ast.VarDecl @ cond else:2:9-11 + ( ;;*ast.VarDecl @ inc by and set:2:9-11 counter bar) - ( ;;*ast.CondStmt @ cond else:3:1-5 - ( ;;*ast.BinaryExpr @ cond else:3:1-5 - > - ( ;;*ast.IntLit @ cond else:3:1 - 1) - ( ;;*ast.IntLit @ cond else:3:5 - 0) + ( ;;*ast.CondStmt @ inc by and set:3:1-10 + ( ;;*ast.PatternExpr @ inc by and set:3:1-10 + ( ;;*ast.PatternLit @ inc by and set:3:1-10 + "([0-9]+)") ) - ( ;;*ast.StmtList @ cond else:4:3-7 - ( ;;*ast.UnaryExpr @ cond else:4:3-7 - ++ - ( ;;*ast.IndexedExpr @ cond else:4:3-5 + ( ;;*ast.StmtList @ inc by and set:4:1-9 + ( ;;*ast.BinaryExpr @ inc by and set:4:1-9 + += + ( ;;*ast.IndexedExpr @ inc by and set:4:1-3 ( ;;*ast.ExprList <⨯> @ ) - ( ;;*ast.IdTerm @ cond else:4:3-5 + ( ;;*ast.IdTerm @ inc by and set:4:1-3 "foo") ) + ( ;;*ast.CaprefTerm @ inc by and set:4:8-9 + "1") + ) + ( ;;*ast.BinaryExpr @ inc by and set:5:1-8 + = + ( ;;*ast.IndexedExpr @ inc by and set:5:1-3 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ inc by and set:5:1-3 + "bar") + ) + ( ;;*ast.CaprefTerm @ inc by and set:5:7-8 + "1") + ) + ) + ) + ) + + --- PASS: TestCodegen/strptime_and_named_capref (0.00s) + codegen_test.go:867: Typed AST: + ( ;;*ast.StmtList @ strptime and named capref:1:9-11 + ( ;;*ast.VarDecl @ strptime and named capref:1:9-11 + counter foo) + ( ;;*ast.CondStmt @ strptime and named capref:2:1-55 + ( ;;*ast.PatternExpr @ strptime and named capref:2:1-14 + ( ;;*ast.PatternLit @ strptime and named capref:2:1-14 + "(?P.*)") + ) + ( ;;*ast.StmtList @ strptime and named capref:2:55 + ( ;;*ast.BuiltinExpr @ strptime and named capref:2:55 + "strptime" + ( ;;*ast.ExprList @ strptime and named capref:2:27-54 + ( ;;*ast.CaprefTerm @ strptime and named capref:2:27-31 + "date") + ( ;;*ast.StringLit @ strptime and named capref:2:34-54 + "2006-01-02T15:04:05") ) ) - ( ;;*ast.StmtList @ cond else:6:3-7 - ( ;;*ast.UnaryExpr @ cond else:6:3-7 - ++ - ( ;;*ast.IndexedExpr @ cond else:6:3-5 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ cond else:6:3-5 - "bar") + ( ;;*ast.UnaryExpr @ strptime and named capref:3:1-5 + ++ + ( ;;*ast.IndexedExpr @ strptime and named capref:3:1-3 + ( ;;*ast.ExprList <⨯> @ ) + ( ;;*ast.IdTerm @ strptime and named capref:3:1-3 + "foo") ) ) ) ) + ) - --- PASS: TestCodegen/concat_to_text (0.00s) + --- PASS: TestCodegen/concat_to_text (0.01s) codegen_test.go:867: Typed AST: ( ;;*ast.StmtList @ concat to text:2:6-8 ( ;;*ast.VarDecl @ concat to text:2:6-8 @@ -2514,22 +2924,76 @@ ) ) - --- PASS: TestCodegen/otherwise (0.00s) + --- PASS: TestCodegen/getfilename (0.00s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ otherwise:2:9 - ( ;;*ast.VarDecl @ otherwise:2:9 - counter a) - ( ;;*ast.CondStmt @ otherwise:5:1 - ( ;;*ast.OtherwiseStmt @ otherwise:5:1 - otherwise) - ( ;;*ast.StmtList @ otherwise:4:2-4 - ( ;;*ast.UnaryExpr @ otherwise:4:2-4 + ( ;;*ast.StmtList @ getfilename:2:13 + ( ;;*ast.BuiltinExpr @ getfilename:2:13 + "getfilename" + ) + ) + + --- PASS: TestCodegen/int_to_string (0.01s) + codegen_test.go:867: Typed AST: + ( ;;*ast.StmtList @ int to string:1:9 + ( ;;*ast.VarDecl @ int to string:1:9 + counter c (a)) + ( ;;*ast.CondStmt @ int to string:2:1-7 + ( ;;*ast.PatternExpr @ int to string:2:1-7 + ( ;;*ast.PatternLit @ int to string:2:1-7 + "(\\d+)") + ) + ( ;;*ast.StmtList @ int to string:3:3-18 + ( ;;*ast.UnaryExpr @ int to string:3:3-18 ++ - ( ;;*ast.IndexedExpr @ otherwise:4:2 - ( ;;*ast.ExprList <⨯> @ + ( ;;*ast.IndexedExpr @ int to string:3:3-14 + ( ;;*ast.ExprList <⨯ String> @ int to string:3:14 + ( ;;*ast.BuiltinExpr @ int to string:3:14 + "string" + ( ;;*ast.ExprList <⨯ Int> @ int to string:3:12-13 + ( ;;*ast.CaprefTerm @ int to string:3:12-13 + "1") + ) + ) + ) + ( ;;*ast.IdTerm @ int to string:3:3 + "c") + ) + ) + ) + ) + ) + + --- PASS: TestCodegen/match_expression (0.01s) + codegen_test.go:867: Typed AST: + ( ;;*ast.StmtList @ match expression:2:10-12 + ( ;;*ast.VarDecl @ match expression:2:10-12 + counter foo) + ( ;;*ast.CondStmt @ match expression:3:2-7 + ( ;;*ast.PatternExpr @ match expression:3:2-7 + ( ;;*ast.PatternLit @ match expression:3:2-7 + "(.*)") + ) + ( ;;*ast.StmtList @ match expression:4:4-15 + ( ;;*ast.CondStmt @ match expression:4:4-15 + ( ;;*ast.BinaryExpr @ match expression:4:4-15 + =~ + ( ;;*ast.CaprefTerm @ match expression:4:4-5 + "1") + ( ;;*ast.PatternExpr @ match expression:4:10-15 + ( ;;*ast.PatternLit @ match expression:4:10-15 + "asdf") + ) + ) + ( ;;*ast.StmtList @ match expression:5:6-10 + ( ;;*ast.UnaryExpr @ match expression:5:6-10 + ++ + ( ;;*ast.IndexedExpr @ match expression:5:6-8 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ match expression:5:6-8 + "foo") + ) ) - ( ;;*ast.IdTerm @ otherwise:4:2 - "a") ) ) ) @@ -2562,6 +3026,33 @@ ) ) + --- PASS: TestCodegen/cond_expr_ne (0.00s) + codegen_test.go:867: Typed AST: + ( ;;*ast.StmtList @ cond expr ne:1:9-11 + ( ;;*ast.VarDecl @ cond expr ne:1:9-11 + counter foo) + ( ;;*ast.CondStmt @ cond expr ne:2:1-6 + ( ;;*ast.BinaryExpr @ cond expr ne:2:1-6 + != + ( ;;*ast.IntLit @ cond expr ne:2:1 + 1) + ( ;;*ast.IntLit @ cond expr ne:2:6 + 0) + ) + ( ;;*ast.StmtList @ cond expr ne:3:3-7 + ( ;;*ast.UnaryExpr @ cond expr ne:3:3-7 + ++ + ( ;;*ast.IndexedExpr @ cond expr ne:3:3-5 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ cond expr ne:3:3-5 + "foo") + ) + ) + ) + ) + ) + --- PASS: TestCodegen/float (0.00s) codegen_test.go:867: Typed AST: ( ;;*ast.StmtList @ float:2:1-4 @@ -2569,74 +3060,56 @@ 20) ) - --- PASS: TestCodegen/strtol (0.00s) - codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ strtol:2:22 - ( ;;*ast.BuiltinExpr @ strtol:2:22 - "strtol" - ( ;;*ast.ExprList @ strtol:2:8-21 - ( ;;*ast.StringLit @ strtol:2:8-17 - "deadbeef") - ( ;;*ast.IntLit @ strtol:2:20-21 - 16) - ) - ) - ) - - --- PASS: TestCodegen/binop_compare_type_conversion (0.00s) + --- PASS: TestCodegen/add_assign_float (0.00s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ binop compare type conversion:2:9-11 - ( ;;*ast.VarDecl @ binop compare type conversion:2:9-11 - counter var) - ( ;;*ast.CondStmt @ binop compare type conversion:3:1-23 - ( ;;*ast.PatternExpr @ binop compare type conversion:3:1-23 - ( ;;*ast.PatternLit @ binop compare type conversion:3:1-23 - "(?P\\d+) (\\d+\\.\\d+)") + ( ;;*ast.StmtList @ add assign float:2:7-9 + ( ;;*ast.VarDecl @ add assign float:2:7-9 + gauge foo) + ( ;;*ast.CondStmt @ add assign float:3:1-12 + ( ;;*ast.PatternExpr @ add assign float:3:1-12 + ( ;;*ast.PatternLit @ add assign float:3:1-12 + "(\\d+\\.\\d+)") ) - ( ;;*ast.StmtList @ binop compare type conversion:4:3-9 - ( ;;*ast.CondStmt @ binop compare type conversion:4:3-9 - ( ;;*ast.BinaryExpr @ binop compare type conversion:4:3-9 - > - ( ;;*ast.ConvExpr @ binop compare type conversion:4:3-4 - conv( ;;*ast.CaprefTerm @ binop compare type conversion:4:3-4 - "x") - ) - ( ;;*ast.CaprefTerm @ binop compare type conversion:4:8-9 - "2") - ) - ( ;;*ast.StmtList @ binop compare type conversion:5:5-9 - ( ;;*ast.UnaryExpr @ binop compare type conversion:5:5-9 - ++ - ( ;;*ast.IndexedExpr @ binop compare type conversion:5:5-7 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ binop compare type conversion:5:5-7 - "var") - ) + ( ;;*ast.StmtList @ add assign float:4:3-11 + ( ;;*ast.BinaryExpr @ add assign float:4:3-11 + += + ( ;;*ast.IndexedExpr @ add assign float:4:3-5 + ( ;;*ast.ExprList <⨯> @ ) + ( ;;*ast.IdTerm @ add assign float:4:3-5 + "foo") ) - ) + ( ;;*ast.CaprefTerm @ add assign float:4:10-11 + "1") ) ) ) + ) - --- PASS: TestCodegen/indexed_expr (0.00s) + --- PASS: TestCodegen/capref_used_in_def (0.00s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ indexed expr:2:9 - ( ;;*ast.VarDecl @ indexed expr:2:9 - counter a (b)) - ( ;;*ast.UnaryExpr @ indexed expr:3:1-13 - ++ - ( ;;*ast.IndexedExpr @ indexed expr:3:1-10 - ( ;;*ast.ExprList <⨯ String> @ indexed expr:3:3-10 - ( ;;*ast.StringLit @ indexed expr:3:3-10 - "string") + ( ;;*ast.StmtList @ capref used in def:2:1-22 + ( ;;*ast.CondStmt @ capref used in def:2:1-22 + ( ;;*ast.BinaryExpr @ capref used in def:2:1-22 + && + ( ;;*ast.ConvExpr @ capref used in def:2:1-12 + conv( ;;*ast.PatternExpr @ capref used in def:2:1-12 + ( ;;*ast.PatternLit @ capref used in def:2:1-12 + "(?P\\d+)") + ) + ) + ( ;;*ast.BinaryExpr @ capref used in def:2:17-22 + > + ( ;;*ast.CaprefTerm @ capref used in def:2:17-18 + "x") + ( ;;*ast.IntLit @ capref used in def:2:22 + 5) ) - ( ;;*ast.IdTerm @ indexed expr:3:1 - "a") - ) + ) + ( ;;*ast.StmtList @ ) ) + ) --- PASS: TestCodegen/binop_arith_type_conversion (0.00s) codegen_test.go:867: Typed AST: @@ -2671,50 +3144,54 @@ ) ) - --- PASS: TestCodegen/pow (0.00s) + --- PASS: TestCodegen/otherwise (0.00s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ pow:2:1-13 - ( ;;*ast.CondStmt @ pow:2:1-13 - ( ;;*ast.PatternExpr @ pow:2:1-13 - ( ;;*ast.PatternLit @ pow:2:1-13 - "(\\d+) (\\d+)") - ) - ( ;;*ast.StmtList @ pow:3:1-8 - ( ;;*ast.BinaryExpr @ pow:3:1-8 - ** - ( ;;*ast.CaprefTerm @ pow:3:1-2 - "1") - ( ;;*ast.CaprefTerm @ pow:3:7-8 - "2") + ( ;;*ast.StmtList @ otherwise:2:9 + ( ;;*ast.VarDecl @ otherwise:2:9 + counter a) + ( ;;*ast.CondStmt @ otherwise:5:1 + ( ;;*ast.OtherwiseStmt @ otherwise:5:1 + otherwise) + ( ;;*ast.StmtList @ otherwise:4:2-4 + ( ;;*ast.UnaryExpr @ otherwise:4:2-4 + ++ + ( ;;*ast.IndexedExpr @ otherwise:4:2 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ otherwise:4:2 + "a") + ) + ) ) ) ) + + --- PASS: TestCodegen/del (0.00s) + codegen_test.go:867: Typed AST: + ( ;;*ast.StmtList @ del:2:9 + ( ;;*ast.VarDecl @ del:2:9 + counter a (b)) + ( ;;*ast.DelStmt @ del:4:16 + del) ) - --- PASS: TestCodegen/capref_used_in_def (0.00s) + --- PASS: TestCodegen/indexed_expr (0.00s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ capref used in def:2:1-22 - ( ;;*ast.CondStmt @ capref used in def:2:1-22 - ( ;;*ast.BinaryExpr @ capref used in def:2:1-22 - && - ( ;;*ast.ConvExpr @ capref used in def:2:1-12 - conv( ;;*ast.PatternExpr @ capref used in def:2:1-12 - ( ;;*ast.PatternLit @ capref used in def:2:1-12 - "(?P\\d+)") - ) - ) - ( ;;*ast.BinaryExpr @ capref used in def:2:17-22 - > - ( ;;*ast.CaprefTerm @ capref used in def:2:17-18 - "x") - ( ;;*ast.IntLit @ capref used in def:2:22 - 5) + ( ;;*ast.StmtList @ indexed expr:2:9 + ( ;;*ast.VarDecl @ indexed expr:2:9 + counter a (b)) + ( ;;*ast.UnaryExpr @ indexed expr:3:1-13 + ++ + ( ;;*ast.IndexedExpr @ indexed expr:3:1-10 + ( ;;*ast.ExprList <⨯ String> @ indexed expr:3:3-10 + ( ;;*ast.StringLit @ indexed expr:3:3-10 + "string") ) - ) - ( ;;*ast.StmtList @ + ( ;;*ast.IdTerm @ indexed expr:3:1 + "a") + ) ) ) - ) --- PASS: TestCodegen/bitwise (0.00s) codegen_test.go:867: Typed AST: @@ -2755,35 +3232,35 @@ ) ) - --- PASS: TestCodegen/negative_match_expression (0.00s) + --- PASS: TestCodegen/binop_compare_type_conversion (0.00s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ negative match expression:2:10-12 - ( ;;*ast.VarDecl @ negative match expression:2:10-12 - counter foo) - ( ;;*ast.CondStmt @ negative match expression:3:2-7 - ( ;;*ast.PatternExpr @ negative match expression:3:2-7 - ( ;;*ast.PatternLit @ negative match expression:3:2-7 - "(.*)") + ( ;;*ast.StmtList @ binop compare type conversion:2:9-11 + ( ;;*ast.VarDecl @ binop compare type conversion:2:9-11 + counter var) + ( ;;*ast.CondStmt @ binop compare type conversion:3:1-23 + ( ;;*ast.PatternExpr @ binop compare type conversion:3:1-23 + ( ;;*ast.PatternLit @ binop compare type conversion:3:1-23 + "(?P\\d+) (\\d+\\.\\d+)") ) - ( ;;*ast.StmtList @ negative match expression:4:4-15 - ( ;;*ast.CondStmt @ negative match expression:4:4-15 - ( ;;*ast.BinaryExpr @ negative match expression:4:4-15 - !~ - ( ;;*ast.CaprefTerm @ negative match expression:4:4-5 - "1") - ( ;;*ast.PatternExpr @ negative match expression:4:10-15 - ( ;;*ast.PatternLit @ negative match expression:4:10-15 - "asdf") + ( ;;*ast.StmtList @ binop compare type conversion:4:3-9 + ( ;;*ast.CondStmt @ binop compare type conversion:4:3-9 + ( ;;*ast.BinaryExpr @ binop compare type conversion:4:3-9 + > + ( ;;*ast.ConvExpr @ binop compare type conversion:4:3-4 + conv( ;;*ast.CaprefTerm @ binop compare type conversion:4:3-4 + "x") ) + ( ;;*ast.CaprefTerm @ binop compare type conversion:4:8-9 + "2") ) - ( ;;*ast.StmtList @ negative match expression:5:6-10 - ( ;;*ast.UnaryExpr @ negative match expression:5:6-10 + ( ;;*ast.StmtList @ binop compare type conversion:5:5-9 + ( ;;*ast.UnaryExpr @ binop compare type conversion:5:5-9 ++ - ( ;;*ast.IndexedExpr @ negative match expression:5:6-8 + ( ;;*ast.IndexedExpr @ binop compare type conversion:5:5-7 ( ;;*ast.ExprList <⨯> @ ) - ( ;;*ast.IdTerm @ negative match expression:5:6-8 - "foo") + ( ;;*ast.IdTerm @ binop compare type conversion:5:5-7 + "var") ) ) ) @@ -2792,106 +3269,52 @@ ) ) - --- PASS: TestCodegen/match_expression (0.00s) + --- PASS: TestCodegen/count_a (0.00s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ match expression:2:10-12 - ( ;;*ast.VarDecl @ match expression:2:10-12 - counter foo) - ( ;;*ast.CondStmt @ match expression:3:2-7 - ( ;;*ast.PatternExpr @ match expression:3:2-7 - ( ;;*ast.PatternLit @ match expression:3:2-7 - "(.*)") + ( ;;*ast.StmtList @ count a:1:9-15 + ( ;;*ast.VarDecl @ count a:1:9-15 + counter a_count) + ( ;;*ast.CondStmt @ count a:2:1-16 + ( ;;*ast.PatternExpr @ count a:2:1-4 + ( ;;*ast.PatternLit @ count a:2:1-4 + "a$") ) - ( ;;*ast.StmtList @ match expression:4:4-15 - ( ;;*ast.CondStmt @ match expression:4:4-15 - ( ;;*ast.BinaryExpr @ match expression:4:4-15 - =~ - ( ;;*ast.CaprefTerm @ match expression:4:4-5 - "1") - ( ;;*ast.PatternExpr @ match expression:4:10-15 - ( ;;*ast.PatternLit @ match expression:4:10-15 - "asdf") - ) - ) - ( ;;*ast.StmtList @ match expression:5:6-10 - ( ;;*ast.UnaryExpr @ match expression:5:6-10 - ++ - ( ;;*ast.IndexedExpr @ match expression:5:6-8 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ match expression:5:6-8 - "foo") - ) + ( ;;*ast.StmtList @ count a:2:8-16 + ( ;;*ast.UnaryExpr @ count a:2:8-16 + ++ + ( ;;*ast.IndexedExpr @ count a:2:8-14 + ( ;;*ast.ExprList <⨯> @ ) + ( ;;*ast.IdTerm @ count a:2:8-14 + "a_count") ) ) ) ) ) - --- PASS: TestCodegen/nested_cond (0.00s) + --- PASS: TestCodegen/length (0.00s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ nested cond:1:9-11 - ( ;;*ast.VarDecl @ nested cond:1:9-11 - counter foo) - ( ;;*ast.CondStmt @ nested cond:2:1-7 - ( ;;*ast.PatternExpr @ nested cond:2:1-7 - ( ;;*ast.PatternLit @ nested cond:2:1-7 - "(\\d+)") - ) - ( ;;*ast.StmtList @ nested cond:3:3-9 - ( ;;*ast.CondStmt @ nested cond:3:3-9 - ( ;;*ast.BinaryExpr @ nested cond:3:3-9 - <= - ( ;;*ast.CaprefTerm @ nested cond:3:3-4 - "1") - ( ;;*ast.IntLit @ nested cond:3:9 - 1) - ) - ( ;;*ast.StmtList @ nested cond:4:5-9 - ( ;;*ast.UnaryExpr @ nested cond:4:5-9 - ++ - ( ;;*ast.IndexedExpr @ nested cond:4:5-7 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ nested cond:4:5-7 - "foo") - ) - ) + ( ;;*ast.StmtList @ length:1:10-14 + ( ;;*ast.CondStmt @ length:1:10-14 + ( ;;*ast.BinaryExpr @ length:1:10-14 + > + ( ;;*ast.BuiltinExpr @ length:1:10 + "len" + ( ;;*ast.ExprList <⨯ String> @ length:1:5-9 + ( ;;*ast.StringLit @ length:1:5-9 + "foo") ) ) - ) - ) - ) - - --- PASS: TestCodegen/cond_expr_ne (0.00s) - codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ cond expr ne:1:9-11 - ( ;;*ast.VarDecl @ cond expr ne:1:9-11 - counter foo) - ( ;;*ast.CondStmt @ cond expr ne:2:1-6 - ( ;;*ast.BinaryExpr @ cond expr ne:2:1-6 - != - ( ;;*ast.IntLit @ cond expr ne:2:1 - 1) - ( ;;*ast.IntLit @ cond expr ne:2:6 + ( ;;*ast.IntLit @ length:1:14 0) ) - ( ;;*ast.StmtList @ cond expr ne:3:3-7 - ( ;;*ast.UnaryExpr @ cond expr ne:3:3-7 - ++ - ( ;;*ast.IndexedExpr @ cond expr ne:3:3-5 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ cond expr ne:3:3-5 - "foo") - ) - ) - ) + ( ;;*ast.StmtList @ ) ) + ) - --- PASS: TestCodegen/cond_expr_ge (0.00s) + --- PASS: TestCodegen/cond_expr_ge (0.01s) codegen_test.go:867: Typed AST: ( ;;*ast.StmtList @ cond expr ge:1:9-11 ( ;;*ast.VarDecl @ cond expr ge:1:9-11 @@ -2918,127 +3341,7 @@ ) ) - --- PASS: TestCodegen/cond_expr_le (0.00s) - codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ cond expr le:1:9-11 - ( ;;*ast.VarDecl @ cond expr le:1:9-11 - counter foo) - ( ;;*ast.CondStmt @ cond expr le:2:1-6 - ( ;;*ast.BinaryExpr @ cond expr le:2:1-6 - <= - ( ;;*ast.IntLit @ cond expr le:2:1 - 1) - ( ;;*ast.IntLit @ cond expr le:2:6 - 0) - ) - ( ;;*ast.StmtList @ cond expr le:3:3-7 - ( ;;*ast.UnaryExpr @ cond expr le:3:3-7 - ++ - ( ;;*ast.IndexedExpr @ cond expr le:3:3-5 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ cond expr le:3:3-5 - "foo") - ) - ) - ) - ) - ) - - --- PASS: TestCodegen/inc_by_and_set (0.00s) - codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ inc by and set:1:9-11 - ( ;;*ast.VarDecl @ inc by and set:1:9-11 - counter foo) - ( ;;*ast.VarDecl @ inc by and set:2:9-11 - counter bar) - ( ;;*ast.CondStmt @ inc by and set:3:1-10 - ( ;;*ast.PatternExpr @ inc by and set:3:1-10 - ( ;;*ast.PatternLit @ inc by and set:3:1-10 - "([0-9]+)") - ) - ( ;;*ast.StmtList @ inc by and set:4:1-9 - ( ;;*ast.BinaryExpr @ inc by and set:4:1-9 - += - ( ;;*ast.IndexedExpr @ inc by and set:4:1-3 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ inc by and set:4:1-3 - "foo") - ) - ( ;;*ast.CaprefTerm @ inc by and set:4:8-9 - "1") - ) - ( ;;*ast.BinaryExpr @ inc by and set:5:1-8 - = - ( ;;*ast.IndexedExpr @ inc by and set:5:1-3 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ inc by and set:5:1-3 - "bar") - ) - ( ;;*ast.CaprefTerm @ inc by and set:5:7-8 - "1") - ) - ) - ) - ) - - --- PASS: TestCodegen/cond_expr_lt (0.00s) - codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ cond expr lt:1:9-11 - ( ;;*ast.VarDecl @ cond expr lt:1:9-11 - counter foo) - ( ;;*ast.CondStmt @ cond expr lt:2:1-5 - ( ;;*ast.BinaryExpr @ cond expr lt:2:1-5 - < - ( ;;*ast.IntLit @ cond expr lt:2:1 - 1) - ( ;;*ast.IntLit @ cond expr lt:2:5 - 0) - ) - ( ;;*ast.StmtList @ cond expr lt:3:3-7 - ( ;;*ast.UnaryExpr @ cond expr lt:3:3-7 - ++ - ( ;;*ast.IndexedExpr @ cond expr lt:3:3-5 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ cond expr lt:3:3-5 - "foo") - ) - ) - ) - ) - ) - - --- PASS: TestCodegen/cond_expr_gt (0.00s) - codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ cond expr gt:1:9-11 - ( ;;*ast.VarDecl @ cond expr gt:1:9-11 - counter foo) - ( ;;*ast.CondStmt @ cond expr gt:2:1-5 - ( ;;*ast.BinaryExpr @ cond expr gt:2:1-5 - > - ( ;;*ast.IntLit @ cond expr gt:2:1 - 1) - ( ;;*ast.IntLit @ cond expr gt:2:5 - 0) - ) - ( ;;*ast.StmtList @ cond expr gt:3:3-7 - ( ;;*ast.UnaryExpr @ cond expr gt:3:3-7 - ++ - ( ;;*ast.IndexedExpr @ cond expr gt:3:3-5 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ cond expr gt:3:3-5 - "foo") - ) - ) - ) - ) - ) - - --- PASS: TestCodegen/strptime_and_capref (0.00s) + --- PASS: TestCodegen/strptime_and_capref (0.01s) codegen_test.go:867: Typed AST: ( ;;*ast.StmtList @ strptime and capref:1:9-11 ( ;;*ast.VarDecl @ strptime and capref:1:9-11 @@ -3071,64 +3374,7 @@ ) ) - --- PASS: TestCodegen/strptime_and_named_capref (0.00s) - codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ strptime and named capref:1:9-11 - ( ;;*ast.VarDecl @ strptime and named capref:1:9-11 - counter foo) - ( ;;*ast.CondStmt @ strptime and named capref:2:1-55 - ( ;;*ast.PatternExpr @ strptime and named capref:2:1-14 - ( ;;*ast.PatternLit @ strptime and named capref:2:1-14 - "(?P.*)") - ) - ( ;;*ast.StmtList @ strptime and named capref:2:55 - ( ;;*ast.BuiltinExpr @ strptime and named capref:2:55 - "strptime" - ( ;;*ast.ExprList @ strptime and named capref:2:27-54 - ( ;;*ast.CaprefTerm @ strptime and named capref:2:27-31 - "date") - ( ;;*ast.StringLit @ strptime and named capref:2:34-54 - "2006-01-02T15:04:05") - ) - ) - ( ;;*ast.UnaryExpr @ strptime and named capref:3:1-5 - ++ - ( ;;*ast.IndexedExpr @ strptime and named capref:3:1-3 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ strptime and named capref:3:1-3 - "foo") - ) - ) - ) - ) - ) - - --- PASS: TestCodegen/count_a (0.00s) - codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ count a:1:9-15 - ( ;;*ast.VarDecl @ count a:1:9-15 - counter a_count) - ( ;;*ast.CondStmt @ count a:2:1-16 - ( ;;*ast.PatternExpr @ count a:2:1-4 - ( ;;*ast.PatternLit @ count a:2:1-4 - "a$") - ) - ( ;;*ast.StmtList @ count a:2:8-16 - ( ;;*ast.UnaryExpr @ count a:2:8-16 - ++ - ( ;;*ast.IndexedExpr @ count a:2:8-14 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ count a:2:8-14 - "a_count") - ) - ) - ) - ) - ) - - --- PASS: TestCodegen/string_concat (0.00s) + --- PASS: TestCodegen/string_concat (0.01s) codegen_test.go:867: Typed AST: ( ;;*ast.StmtList @ string concat:2:9 ( ;;*ast.VarDecl @ string concat:2:9 @@ -3159,337 +3405,138 @@ ) ) - --- PASS: TestCodegen/add_assign_float (0.01s) - codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ add assign float:2:7-9 - ( ;;*ast.VarDecl @ add assign float:2:7-9 - gauge foo) - ( ;;*ast.CondStmt @ add assign float:3:1-12 - ( ;;*ast.PatternExpr @ add assign float:3:1-12 - ( ;;*ast.PatternLit @ add assign float:3:1-12 - "(\\d+\\.\\d+)") - ) - ( ;;*ast.StmtList @ add assign float:4:3-11 - ( ;;*ast.BinaryExpr @ add assign float:4:3-11 - += - ( ;;*ast.IndexedExpr @ add assign float:4:3-5 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ add assign float:4:3-5 - "foo") - ) - ( ;;*ast.CaprefTerm @ add assign float:4:10-11 - "1") - ) - ) - ) - ) - - --- PASS: TestCodegen/nested_comparisons (0.00s) + --- PASS: TestCodegen/deco (0.01s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ nested comparisons:1:9-11 - ( ;;*ast.VarDecl @ nested comparisons:1:9-11 + ( ;;*ast.StmtList @ deco:1:9-11 + ( ;;*ast.VarDecl @ deco:1:9-11 counter foo) - ( ;;*ast.CondStmt @ nested comparisons:2:1-6 - ( ;;*ast.PatternExpr @ nested comparisons:2:1-6 - ( ;;*ast.PatternLit @ nested comparisons:2:1-6 - "(.*)") - ) - ( ;;*ast.StmtList @ nested comparisons:3:3-28 - ( ;;*ast.CondStmt @ nested comparisons:3:3-28 - ( ;;*ast.BinaryExpr @ nested comparisons:3:3-28 - || - ( ;;*ast.BinaryExpr @ nested comparisons:3:3-13 - == - ( ;;*ast.CaprefTerm @ nested comparisons:3:3-4 - "1") - ( ;;*ast.StringLit @ nested comparisons:3:9-13 - "foo") - ) - ( ;;*ast.BinaryExpr @ nested comparisons:3:18-28 - == - ( ;;*ast.CaprefTerm @ nested comparisons:3:18-19 - "1") - ( ;;*ast.StringLit @ nested comparisons:3:24-28 - "bar") - ) + ( ;;*ast.VarDecl @ deco:2:9-11 + counter bar) + ( ;;*ast.DecoDecl @ deco:4:3-6 + ( ;;*ast.StmtList @ deco:4:3-6 + ( ;;*ast.CondStmt @ deco:4:3-6 + ( ;;*ast.PatternExpr @ deco:4:3-6 + ( ;;*ast.PatternLit @ deco:4:3-6 + ".*") ) - ( ;;*ast.StmtList @ nested comparisons:4:5-9 - ( ;;*ast.UnaryExpr @ nested comparisons:4:5-9 + ( ;;*ast.StmtList @ deco:5:5-9 + ( ;;*ast.UnaryExpr @ deco:5:5-9 ++ - ( ;;*ast.IndexedExpr @ nested comparisons:4:5-7 + ( ;;*ast.IndexedExpr @ deco:5:5-7 ( ;;*ast.ExprList <⨯> @ ) - ( ;;*ast.IdTerm @ nested comparisons:4:5-7 + ( ;;*ast.IdTerm @ deco:5:5-7 "foo") ) ) + ( ;;*ast.NextStmt @ deco:6:5-8 + next) ) ) ) ) - ) - - --- PASS: TestCodegen/int_to_string (0.00s) - codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ int to string:1:9 - ( ;;*ast.VarDecl @ int to string:1:9 - counter c (a)) - ( ;;*ast.CondStmt @ int to string:2:1-7 - ( ;;*ast.PatternExpr @ int to string:2:1-7 - ( ;;*ast.PatternLit @ int to string:2:1-7 - "(\\d+)") - ) - ( ;;*ast.StmtList @ int to string:3:3-18 - ( ;;*ast.UnaryExpr @ int to string:3:3-18 - ++ - ( ;;*ast.IndexedExpr @ int to string:3:3-14 - ( ;;*ast.ExprList <⨯ String> @ int to string:3:14 - ( ;;*ast.BuiltinExpr @ int to string:3:14 - "string" - ( ;;*ast.ExprList <⨯ Int> @ int to string:3:12-13 - ( ;;*ast.CaprefTerm @ int to string:3:12-13 - "1") - ) - ) - ) - ( ;;*ast.IdTerm @ int to string:3:3 - "c") - ) - ) - ) - ) - ) - - --- PASS: TestCodegen/float_to_string (0.00s) - codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ float to string:1:9 - ( ;;*ast.VarDecl @ float to string:1:9 - counter c (a)) - ( ;;*ast.CondStmt @ float to string:2:1-12 - ( ;;*ast.PatternExpr @ float to string:2:1-12 - ( ;;*ast.PatternLit @ float to string:2:1-12 - "(\\d+\\.\\d+)") - ) - ( ;;*ast.StmtList @ float to string:3:3-18 - ( ;;*ast.UnaryExpr @ float to string:3:3-18 - ++ - ( ;;*ast.IndexedExpr @ float to string:3:3-14 - ( ;;*ast.ExprList <⨯ String> @ float to string:3:14 - ( ;;*ast.BuiltinExpr @ float to string:3:14 - "string" - ( ;;*ast.ExprList <⨯ Float> @ float to string:3:12-13 - ( ;;*ast.CaprefTerm @ float to string:3:12-13 - "1") - ) + ( ;;*ast.DecoStmt @ deco:9:1-16 + ( ;;*ast.StmtList @ deco:9:12-16 + ( ;;*ast.UnaryExpr @ deco:9:12-16 + ++ + ( ;;*ast.IndexedExpr @ deco:9:12-14 + ( ;;*ast.ExprList <⨯> @ ) + ( ;;*ast.IdTerm @ deco:9:12-14 + "bar") ) - ( ;;*ast.IdTerm @ float to string:3:3 - "c") ) ) ) ) - ) - - --- PASS: TestCodegen/string_to_float (0.00s) - codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ string to float:1:9 - ( ;;*ast.VarDecl @ string to float:1:9 - counter c) - ( ;;*ast.CondStmt @ string to float:2:1-6 - ( ;;*ast.PatternExpr @ string to float:2:1-6 - ( ;;*ast.PatternLit @ string to float:2:1-6 - "(.*)") - ) - ( ;;*ast.StmtList @ string to float:3:3-15 - ( ;;*ast.BinaryExpr @ string to float:3:3-15 - = - ( ;;*ast.IndexedExpr @ string to float:3:3 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ string to float:3:3 - "c") - ) - ( ;;*ast.BuiltinExpr @ string to float:3:15 - "float" - ( ;;*ast.ExprList <⨯ String> @ string to float:3:13-14 - ( ;;*ast.CaprefTerm @ string to float:3:13-14 - "1") - ) - ) - ) - ) - ) - ) - - --- PASS: TestCodegen/int_to_float (0.00s) - codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ int to float:1:9 - ( ;;*ast.VarDecl @ int to float:1:9 - counter c) - ( ;;*ast.CondStmt @ int to float:2:1-6 - ( ;;*ast.PatternExpr @ int to float:2:1-6 - ( ;;*ast.PatternLit @ int to float:2:1-6 - "(\\d)") - ) - ( ;;*ast.StmtList @ int to float:3:3-15 - ( ;;*ast.BinaryExpr @ int to float:3:3-15 - = - ( ;;*ast.IndexedExpr @ int to float:3:3 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ int to float:3:3 - "c") - ) - ( ;;*ast.BuiltinExpr @ int to float:3:15 - "float" - ( ;;*ast.ExprList <⨯ Int> @ int to float:3:13-14 - ( ;;*ast.CaprefTerm @ int to float:3:13-14 - "1") - ) - ) - ) - ) - ) - ) - --- PASS: TestCodegen/string_to_int (0.00s) + --- PASS: TestCodegen/mod (0.01s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ string to int:1:9 - ( ;;*ast.VarDecl @ string to int:1:9 - counter c) - ( ;;*ast.CondStmt @ string to int:2:1-6 - ( ;;*ast.PatternExpr @ string to int:2:1-6 - ( ;;*ast.PatternLit @ string to int:2:1-6 - "(.*)") - ) - ( ;;*ast.StmtList @ string to int:3:3-13 - ( ;;*ast.BinaryExpr @ string to int:3:3-13 - = - ( ;;*ast.IndexedExpr @ string to int:3:3 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ string to int:3:3 - "c") - ) - ( ;;*ast.BuiltinExpr @ string to int:3:13 - "int" - ( ;;*ast.ExprList <⨯ String> @ string to int:3:11-12 - ( ;;*ast.CaprefTerm @ string to int:3:11-12 - "1") - ) - ) - ) - ) + ( ;;*ast.StmtList @ mod:2:1-5 + ( ;;*ast.BinaryExpr @ mod:2:1-5 + % + ( ;;*ast.IntLit @ mod:2:1 + 3) + ( ;;*ast.IntLit @ mod:2:5 + 1) ) ) - --- PASS: TestCodegen/dimensioned_counter (0.00s) + --- PASS: TestCodegen/nested_cond (0.01s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ dimensioned counter:1:9 - ( ;;*ast.VarDecl @ dimensioned counter:1:9 - counter c (a b c)) - ( ;;*ast.CondStmt @ dimensioned counter:2:1-16 - ( ;;*ast.PatternExpr @ dimensioned counter:2:1-16 - ( ;;*ast.PatternLit @ dimensioned counter:2:1-16 - "(\\d) (\\d) (\\d)") + ( ;;*ast.StmtList @ nested cond:1:9-11 + ( ;;*ast.VarDecl @ nested cond:1:9-11 + counter foo) + ( ;;*ast.CondStmt @ nested cond:2:1-7 + ( ;;*ast.PatternExpr @ nested cond:2:1-7 + ( ;;*ast.PatternLit @ nested cond:2:1-7 + "(\\d+)") ) - ( ;;*ast.StmtList @ dimensioned counter:3:3-16 - ( ;;*ast.UnaryExpr @ dimensioned counter:3:3-16 - ++ - ( ;;*ast.IndexedExpr @ dimensioned counter:3:3-13 - ( ;;*ast.ExprList @ dimensioned counter:3:5-13 - ( ;;*ast.CaprefTerm @ dimensioned counter:3:5-6 - "1") - ( ;;*ast.CaprefTerm @ dimensioned counter:3:8-9 - "2") - ( ;;*ast.CaprefTerm @ dimensioned counter:3:12-13 - "3") + ( ;;*ast.StmtList @ nested cond:3:3-9 + ( ;;*ast.CondStmt @ nested cond:3:3-9 + ( ;;*ast.BinaryExpr @ nested cond:3:3-9 + <= + ( ;;*ast.CaprefTerm @ nested cond:3:3-4 + "1") + ( ;;*ast.IntLit @ nested cond:3:9 + 1) + ) + ( ;;*ast.StmtList @ nested cond:4:5-9 + ( ;;*ast.UnaryExpr @ nested cond:4:5-9 + ++ + ( ;;*ast.IndexedExpr @ nested cond:4:5-7 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ nested cond:4:5-7 + "foo") + ) ) - ( ;;*ast.IdTerm @ dimensioned counter:3:3 - "c") ) ) ) ) ) - --- PASS: TestCodegen/getfilename (0.00s) - codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ getfilename:2:13 - ( ;;*ast.BuiltinExpr @ getfilename:2:13 - "getfilename" - ) - ) - - --- PASS: TestCodegen/types (0.00s) + --- PASS: TestCodegen/pow (0.01s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ types:2:7 - ( ;;*ast.VarDecl @ types:2:7 - gauge i) - ( ;;*ast.VarDecl @ types:3:7 - gauge f) - ( ;;*ast.CondStmt @ types:4:1-7 - ( ;;*ast.PatternExpr @ types:4:1-7 - ( ;;*ast.PatternLit @ types:4:1-7 - "(\\d+)") - ) - ( ;;*ast.StmtList @ types:5:2-7 - ( ;;*ast.BinaryExpr @ types:5:2-7 - = - ( ;;*ast.IndexedExpr @ types:5:2 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ types:5:2 - "i") - ) - ( ;;*ast.CaprefTerm @ types:5:6-7 - "1") - ) - ) - ) - ( ;;*ast.CondStmt @ types:7:1-12 - ( ;;*ast.PatternExpr @ types:7:1-12 - ( ;;*ast.PatternLit @ types:7:1-12 - "(\\d+\\.\\d+)") + ( ;;*ast.StmtList @ pow:2:1-13 + ( ;;*ast.CondStmt @ pow:2:1-13 + ( ;;*ast.PatternExpr @ pow:2:1-13 + ( ;;*ast.PatternLit @ pow:2:1-13 + "(\\d+) (\\d+)") ) - ( ;;*ast.StmtList @ types:8:2-7 - ( ;;*ast.BinaryExpr @ types:8:2-7 - = - ( ;;*ast.IndexedExpr @ types:8:2 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ types:8:2 - "f") - ) - ( ;;*ast.CaprefTerm @ types:8:6-7 + ( ;;*ast.StmtList @ pow:3:1-8 + ( ;;*ast.BinaryExpr @ pow:3:1-8 + ** + ( ;;*ast.CaprefTerm @ pow:3:1-2 "1") + ( ;;*ast.CaprefTerm @ pow:3:7-8 + "2") ) ) ) ) - --- PASS: TestCodegen/cond_expr_eq (0.00s) + --- PASS: TestCodegen/cond_expr_le (0.01s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ cond expr eq:1:9-11 - ( ;;*ast.VarDecl @ cond expr eq:1:9-11 + ( ;;*ast.StmtList @ cond expr le:1:9-11 + ( ;;*ast.VarDecl @ cond expr le:1:9-11 counter foo) - ( ;;*ast.CondStmt @ cond expr eq:2:1-6 - ( ;;*ast.BinaryExpr @ cond expr eq:2:1-6 - == - ( ;;*ast.IntLit @ cond expr eq:2:1 + ( ;;*ast.CondStmt @ cond expr le:2:1-6 + ( ;;*ast.BinaryExpr @ cond expr le:2:1-6 + <= + ( ;;*ast.IntLit @ cond expr le:2:1 1) - ( ;;*ast.IntLit @ cond expr eq:2:6 + ( ;;*ast.IntLit @ cond expr le:2:6 0) ) - ( ;;*ast.StmtList @ cond expr eq:3:3-7 - ( ;;*ast.UnaryExpr @ cond expr eq:3:3-7 + ( ;;*ast.StmtList @ cond expr le:3:3-7 + ( ;;*ast.UnaryExpr @ cond expr le:3:3-7 ++ - ( ;;*ast.IndexedExpr @ cond expr eq:3:3-5 + ( ;;*ast.IndexedExpr @ cond expr le:3:3-5 ( ;;*ast.ExprList <⨯> @ ) - ( ;;*ast.IdTerm @ cond expr eq:3:3-5 + ( ;;*ast.IdTerm @ cond expr le:3:3-5 "foo") ) ) @@ -3497,65 +3544,53 @@ ) ) - --- PASS: TestCodegen/length (0.00s) + --- PASS: TestCodegen/strtol (0.01s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ length:1:10-14 - ( ;;*ast.CondStmt @ length:1:10-14 - ( ;;*ast.BinaryExpr @ length:1:10-14 - > - ( ;;*ast.BuiltinExpr @ length:1:10 - "len" - ( ;;*ast.ExprList <⨯ String> @ length:1:5-9 - ( ;;*ast.StringLit @ length:1:5-9 - "foo") - ) - ) - ( ;;*ast.IntLit @ length:1:14 - 0) - ) - ( ;;*ast.StmtList @ + ( ;;*ast.StmtList @ strtol:2:22 + ( ;;*ast.BuiltinExpr @ strtol:2:22 + "strtol" + ( ;;*ast.ExprList @ strtol:2:8-21 + ( ;;*ast.StringLit @ strtol:2:8-17 + "deadbeef") + ( ;;*ast.IntLit @ strtol:2:20-21 + 16) ) ) ) - --- PASS: TestCodegen/deco (0.00s) + --- PASS: TestCodegen/cond_else (0.01s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ deco:1:9-11 - ( ;;*ast.VarDecl @ deco:1:9-11 + ( ;;*ast.StmtList @ cond else:1:9-11 + ( ;;*ast.VarDecl @ cond else:1:9-11 counter foo) - ( ;;*ast.VarDecl @ deco:2:9-11 + ( ;;*ast.VarDecl @ cond else:2:9-11 counter bar) - ( ;;*ast.DecoDecl @ deco:4:3-6 - ( ;;*ast.StmtList @ deco:4:3-6 - ( ;;*ast.CondStmt @ deco:4:3-6 - ( ;;*ast.PatternExpr @ deco:4:3-6 - ( ;;*ast.PatternLit @ deco:4:3-6 - ".*") - ) - ( ;;*ast.StmtList @ deco:5:5-9 - ( ;;*ast.UnaryExpr @ deco:5:5-9 - ++ - ( ;;*ast.IndexedExpr @ deco:5:5-7 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ deco:5:5-7 - "foo") - ) + ( ;;*ast.CondStmt @ cond else:3:1-5 + ( ;;*ast.BinaryExpr @ cond else:3:1-5 + > + ( ;;*ast.IntLit @ cond else:3:1 + 1) + ( ;;*ast.IntLit @ cond else:3:5 + 0) + ) + ( ;;*ast.StmtList @ cond else:4:3-7 + ( ;;*ast.UnaryExpr @ cond else:4:3-7 + ++ + ( ;;*ast.IndexedExpr @ cond else:4:3-5 + ( ;;*ast.ExprList <⨯> @ ) - ( ;;*ast.NextStmt @ deco:6:5-8 - next) + ( ;;*ast.IdTerm @ cond else:4:3-5 + "foo") ) ) ) - ) - ( ;;*ast.DecoStmt @ deco:9:1-16 - ( ;;*ast.StmtList @ deco:9:12-16 - ( ;;*ast.UnaryExpr @ deco:9:12-16 + ( ;;*ast.StmtList @ cond else:6:3-7 + ( ;;*ast.UnaryExpr @ cond else:6:3-7 ++ - ( ;;*ast.IndexedExpr @ deco:9:12-14 + ( ;;*ast.IndexedExpr @ cond else:6:3-5 ( ;;*ast.ExprList <⨯> @ ) - ( ;;*ast.IdTerm @ deco:9:12-14 + ( ;;*ast.IdTerm @ cond else:6:3-5 "bar") ) ) @@ -3564,7 +3599,7 @@ ) PASS -ok github.com/google/mtail/internal/vm/codegen 0.047s +ok github.com/google/mtail/internal/vm/codegen 0.033s ? github.com/google/mtail/internal/vm/errors [no test files] ? github.com/google/mtail/internal/vm/object [no test files] === RUN TestLex @@ -3619,56 +3654,56 @@ === RUN TestLex/unterminated_quoted_string === PAUSE TestLex/unterminated_quoted_string === CONT TestLex/empty +=== CONT TestLex/regex_with_escape_and_special_char +=== CONT TestLex/operators === CONT TestLex/unterminated_quoted_string -=== CONT TestLex/unterminated_regex -=== CONT TestLex/unexpected_char -=== CONT TestLex/linecount -=== CONT TestLex/large_program -=== CONT TestLex/decorator +=== CONT TestLex/keywords === CONT TestLex/escaped_quote_in_quoted_string === CONT TestLex/quoted_string +=== CONT TestLex/decorator === CONT TestLex/capref_with_trailing_punc -=== CONT TestLex/numerical_capref +=== CONT TestLex/spaces +=== CONT TestLex/punctuation === CONT TestLex/capref -=== CONT TestLex/regex_with_escape_and_special_char +=== CONT TestLex/comment_not_at_col_1 +=== CONT TestLex/unterminated_regex +=== CONT TestLex/linecount +=== CONT TestLex/comment === CONT TestLex/regex_with_escape === CONT TestLex/regex -=== CONT TestLex/identifier === CONT TestLex/numbers -=== CONT TestLex/builtins -=== CONT TestLex/keywords -=== CONT TestLex/operators -=== CONT TestLex/punctuation +=== CONT TestLex/numerical_capref === CONT TestLex/newlines -=== CONT TestLex/comment -=== CONT TestLex/spaces -=== CONT TestLex/comment_not_at_col_1 +=== CONT TestLex/builtins +=== CONT TestLex/large_program +=== CONT TestLex/identifier +=== CONT TestLex/unexpected_char --- PASS: TestLex (0.00s) --- PASS: TestLex/empty (0.00s) + --- PASS: TestLex/regex_with_escape_and_special_char (0.00s) --- PASS: TestLex/unterminated_quoted_string (0.00s) - --- PASS: TestLex/unterminated_regex (0.00s) - --- PASS: TestLex/unexpected_char (0.00s) - --- PASS: TestLex/linecount (0.00s) - --- PASS: TestLex/large_program (0.00s) - --- PASS: TestLex/decorator (0.00s) --- PASS: TestLex/escaped_quote_in_quoted_string (0.00s) --- PASS: TestLex/quoted_string (0.00s) + --- PASS: TestLex/operators (0.00s) + --- PASS: TestLex/spaces (0.00s) --- PASS: TestLex/capref_with_trailing_punc (0.00s) - --- PASS: TestLex/numerical_capref (0.00s) --- PASS: TestLex/capref (0.00s) - --- PASS: TestLex/regex_with_escape_and_special_char (0.00s) + --- PASS: TestLex/decorator (0.00s) + --- PASS: TestLex/punctuation (0.00s) + --- PASS: TestLex/comment_not_at_col_1 (0.00s) + --- PASS: TestLex/keywords (0.00s) + --- PASS: TestLex/unterminated_regex (0.00s) + --- PASS: TestLex/comment (0.00s) + --- PASS: TestLex/linecount (0.00s) --- PASS: TestLex/regex_with_escape (0.00s) --- PASS: TestLex/regex (0.00s) - --- PASS: TestLex/identifier (0.00s) + --- PASS: TestLex/numerical_capref (0.00s) + --- PASS: TestLex/newlines (0.00s) --- PASS: TestLex/numbers (0.00s) --- PASS: TestLex/builtins (0.00s) - --- PASS: TestLex/keywords (0.00s) - --- PASS: TestLex/operators (0.00s) - --- PASS: TestLex/punctuation (0.00s) - --- PASS: TestLex/newlines (0.00s) - --- PASS: TestLex/comment (0.00s) - --- PASS: TestLex/spaces (0.00s) - --- PASS: TestLex/comment_not_at_col_1 (0.00s) + --- PASS: TestLex/large_program (0.00s) + --- PASS: TestLex/identifier (0.00s) + --- PASS: TestLex/unexpected_char (0.00s) === RUN TestParserRoundTrip === RUN TestParserRoundTrip/empty === PAUSE TestParserRoundTrip/empty @@ -4788,62 +4823,23 @@ lex $end(0) reduce 1 in: state-2 -=== CONT TestParserRoundTrip/additive_and_mem_storage +=== CONT TestParserRoundTrip/concat_expr_2 reduce 2 in: state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 -lex BY(57353) +lex CONST(57354) lex ID(57367) -reduce 99 in: - state-154 -lex NL(57406) -reduce 98 in: - state-153 -reduce 90 in: - state-132 -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex DIV(57374) +reduce 83 in: + state-45 reduce 108 in: - state-2 + state-46 +lex DIV(57374) reduce 109 in: state-59 lex REGEX(57363) @@ -4852,16 +4848,11 @@ state-157 reduce 55 in: state-42 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 lex NL(57406) +reduce 11 in: + state-101 +reduce 3 in: + state-3 reduce 17 in: state-16 reduce 5 in: @@ -4873,49 +4864,16 @@ state-45 reduce 81 in: state-43 -lex ADD_ASSIGN(57394) +lex LCURLY(57399) reduce 72 in: state-31 reduce 68 in: state-27 -reduce 66 in: - state-39 -lex BUILTIN(57362) -reduce 110 in: - state-79 -lex LPAREN(57401) -lex RPAREN(57402) -reduce 73 in: - state-123 -lex MINUS(57377) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 59 in: - state-95 -lex ID(57367) -reduce 110 in: - state-93 -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex LSQUARE(57403) -lex CAPREF_NAMED(57366) -reduce 76 in: - state-34 -reduce 68 in: - state-63 -lex RSQUARE(57404) +=== CONT TestParserRoundTrip/multiplicative reduce 66 in: state-39 reduce 60 in: - state-122 + state-28 reduce 47 in: state-44 reduce 43 in: @@ -4924,58 +4882,17 @@ state-29 reduce 30 in: state-25 -reduce 84 in: - state-121 -reduce 82 in: - state-148 -lex NL(57406) -reduce 72 in: - state-31 -reduce 68 in: - state-63 -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 48 in: - state-151 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 reduce 24 in: state-21 -reduce 23 in: - state-144 -reduce 20 in: - state-23 -reduce 18 in: - state-53 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 +reduce 2 in: + state-49 lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 reduce 2 in: state-0 lex COUNTER(57347) @@ -5004,18 +4921,12 @@ state-2 reduce 94 in: state-55 +lex RCURLY(57400) +=== CONT TestParserRoundTrip/additive lex ID(57367) reduce 92 in: state-107 -lex BY(57353) -lex ID(57367) -reduce 99 in: - state-154 lex NL(57406) -reduce 98 in: - state-153 -reduce 90 in: - state-132 reduce 87 in: state-106 reduce 6 in: @@ -5060,61 +4971,24 @@ state-45 reduce 81 in: state-43 -lex ADD_ASSIGN(57394) +lex MUL(57376) reduce 72 in: state-31 reduce 68 in: state-27 reduce 66 in: state-39 -lex BUILTIN(57362) -reduce 110 in: - state-79 -lex LPAREN(57401) -lex RPAREN(57402) -reduce 73 in: - state-123 -lex MINUS(57377) -reduce 68 in: - state-27 -reduce 66 in: - state-39 reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 59 in: - state-95 + state-28 +reduce 62 in: + state-97 lex ID(57367) reduce 110 in: - state-93 + state-96 reduce 83 in: state-45 reduce 81 in: state-43 -lex LSQUARE(57403) -lex CAPREF_NAMED(57366) -reduce 76 in: - state-34 -reduce 68 in: - state-63 -lex RSQUARE(57404) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 84 in: - state-121 -reduce 82 in: - state-148 lex NL(57406) reduce 72 in: state-31 @@ -5122,10 +4996,10 @@ state-63 reduce 66 in: state-39 -reduce 60 in: - state-122 -reduce 48 in: - state-151 +reduce 61 in: + state-152 +reduce 47 in: + state-44 reduce 43 in: state-41 reduce 35 in: @@ -5134,8 +5008,8 @@ state-25 reduce 24 in: state-21 -reduce 23 in: - state-144 +reduce 21 in: + state-14 reduce 20 in: state-23 reduce 18 in: @@ -5144,86 +5018,38 @@ state-5 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex $end(0) -reduce 1 in: - state-2 -=== CONT TestParserRoundTrip/logical -reduce 2 in: - state-0 -lex INTLITERAL(57369) -reduce 79 in: - state-37 -lex OR(57393) +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex POW(57379) +reduce 72 in: + state-31 reduce 68 in: state-27 reduce 66 in: state-39 reduce 60 in: state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 29 in: - state-51 -lex INTLITERAL(57369) -reduce 110 in: - state-48 -reduce 79 in: - state-37 -lex AND(57392) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 26 in: - state-129 -reduce 28 in: - state-50 -lex INTLITERAL(57369) +reduce 65 in: + state-100 +lex ID(57367) reduce 110 in: - state-48 -reduce 79 in: - state-37 -lex LCURLY(57399) + state-96 +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex NL(57406) +reduce 72 in: + state-31 reduce 68 in: - state-27 + state-63 reduce 66 in: state-39 -reduce 60 in: - state-122 +reduce 61 in: + state-152 reduce 47 in: state-44 reduce 43 in: @@ -5232,13 +5058,14 @@ state-29 reduce 30 in: state-25 -reduce 26 in: - state-129 -reduce 2 in: - state-49 -lex NL(57406) -reduce 17 in: - state-16 +reduce 24 in: + state-21 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 reduce 5 in: state-5 reduce 3 in: @@ -5264,91 +5091,41 @@ state-2 reduce 2 in: state-0 -lex INTLITERAL(57369) -reduce 79 in: - state-37 -lex OR(57393) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 29 in: - state-51 -lex INTLITERAL(57369) -reduce 110 in: - state-48 -reduce 79 in: - state-37 -lex AND(57392) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 26 in: - state-129 -reduce 28 in: - state-50 -lex INTLITERAL(57369) -reduce 110 in: - state-48 -reduce 79 in: - state-37 -lex LCURLY(57399) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 26 in: - state-129 -reduce 2 in: - state-49 +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 +lex ID(57367) +reduce 92 in: + state-107 lex NL(57406) +reduce 87 in: + state-106 +reduce 6 in: + state-6 +reduce 3 in: + state-3 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 +=== CONT TestParserRoundTrip/incby_operator +lex ID(57367) +reduce 92 in: + state-107 lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 +reduce 87 in: + state-106 +reduce 6 in: + state-6 reduce 3 in: state-3 reduce 17 in: @@ -5357,12 +5134,6 @@ state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 -=== CONT TestParserRoundTrip/bitwise -reduce 2 in: - state-0 lex DIV(57374) reduce 108 in: state-2 @@ -5375,207 +5146,38 @@ reduce 55 in: state-42 lex LCURLY(57399) +reduce 2 in: + state-0 reduce 54 in: state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex CAPREF(57365) -reduce 75 in: - state-33 -lex BITAND(57388) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 32 in: - state-65 -lex INTLITERAL(57369) -reduce 110 in: - state-64 -reduce 79 in: - state-37 -reduce 68 in: - state-63 -lex NL(57406) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 31 in: - state-139 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex CAPREF(57365) -reduce 75 in: - state-33 -lex BITOR(57390) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 33 in: - state-66 -lex INTLITERAL(57369) -reduce 110 in: - state-64 -reduce 79 in: - state-37 -reduce 68 in: - state-63 +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 +lex ID(57367) +reduce 92 in: + state-107 lex NL(57406) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 31 in: - state-139 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 -reduce 5 in: - state-5 +reduce 87 in: + state-106 +reduce 6 in: + state-6 reduce 3 in: state-3 -lex CAPREF(57365) -reduce 75 in: - state-33 -lex SHL(57380) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -=== CONT TestParserRoundTrip/concat_expr_2 -reduce 2 in: - state-0 -lex NL(57406) reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex CONST(57354) -lex ID(57367) -reduce 83 in: - state-45 -reduce 108 in: - state-46 lex DIV(57374) +reduce 108 in: + state-2 reduce 109 in: state-59 lex REGEX(57363) lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex NL(57406) -reduce 11 in: - state-101 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex LCURLY(57399) -reduce 72 in: - state-31 -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 2 in: - state-49 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex RCURLY(57400) reduce 19 in: state-131 lex $end(0) @@ -5587,6 +5189,10 @@ state-3 reduce 1 in: state-2 +reduce 86 in: + state-157 +reduce 55 in: + state-42 reduce 2 in: state-0 lex ID(57367) @@ -5629,6 +5235,7 @@ reduce 81 in: state-43 lex LCURLY(57399) +=== CONT TestParserRoundTrip/increment_operator reduce 72 in: state-31 reduce 68 in: @@ -5645,8 +5252,40 @@ state-29 reduce 30 in: state-25 +reduce 2 in: + state-0 +=== CONT TestParserRoundTrip/assignment +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 +reduce 2 in: + state-0 +lex ID(57367) +reduce 92 in: + state-107 +reduce 2 in: + state-0 +lex NL(57406) +lex COUNTER(57347) reduce 24 in: state-21 +reduce 88 in: + state-2 +reduce 2 in: + state-49 +lex COUNTER(57347) +reduce 88 in: + state-2 +=== CONT TestParserRoundTrip/comment_then_code +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 25 in: + state-22 reduce 2 in: state-49 lex NL(57406) @@ -5654,16 +5293,11 @@ state-16 reduce 5 in: state-5 -reduce 3 in: - state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 +reduce 87 in: + state-106 +=== CONT TestParserRoundTrip/nested_scope +reduce 6 in: + state-6 reduce 3 in: state-3 reduce 17 in: @@ -5672,19 +5306,46 @@ state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 -=== CONT TestParserRoundTrip/const +lex DIV(57374) +=== CONT TestParserRoundTrip/nested_match_conditions reduce 2 in: state-0 -lex CONST(57354) +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 lex ID(57367) -reduce 83 in: - state-45 -reduce 108 in: - state-46 +reduce 49 in: + state-26 +reduce 92 in: + state-107 +lex NL(57406) +lex NL(57406) +reduce 2 in: + state-0 +reduce 87 in: + state-106 +lex COUNTER(57347) +reduce 6 in: + state-6 +reduce 88 in: + state-2 +reduce 17 in: + state-16 +reduce 25 in: + state-22 +reduce 3 in: + state-3 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 2 in: + state-0 lex DIV(57374) +reduce 108 in: + state-2 reduce 109 in: state-59 lex REGEX(57363) @@ -5693,29 +5354,92 @@ state-157 reduce 55 in: state-42 -lex $end(0) -reduce 11 in: - state-101 +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +reduce 2 in: + state-49 +lex NL(57406) +reduce 17 in: + state-16 +lex BUILTIN(57362) +reduce 94 in: + state-55 +lex LPAREN(57401) +lex ID(57367) +reduce 94 in: + state-55 +lex ID(57367) +reduce 92 in: + state-107 +lex NL(57406) +reduce 87 in: + state-106 +reduce 6 in: + state-6 reduce 3 in: state-3 -reduce 1 in: +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex DIV(57374) +reduce 108 in: state-2 +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 55 in: + state-42 +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 25 in: + state-22 reduce 2 in: - state-0 + state-49 +lex NL(57406) +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 lex ID(57367) reduce 83 in: state-45 reduce 81 in: state-43 -lex NL(57406) +lex ASSIGN(57395) reduce 72 in: state-31 reduce 68 in: state-27 reduce 66 in: state-39 +lex CAPREF_NAMED(57366) +reduce 110 in: + state-78 +reduce 76 in: + state-34 +lex NL(57406) +reduce 68 in: + state-27 +reduce 66 in: + state-39 reduce 60 in: - state-28 + state-122 reduce 47 in: state-44 reduce 43 in: @@ -5726,8 +5450,8 @@ state-25 reduce 24 in: state-21 -reduce 21 in: - state-14 +reduce 22 in: + state-143 reduce 20 in: state-23 reduce 18 in: @@ -5736,60 +5460,20 @@ state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 -=== CONT TestParserRoundTrip/def_and_next -reduce 2 in: - state-0 -lex DEF(57356) -reduce 108 in: - state-2 -lex ID(57367) -lex LCURLY(57399) -reduce 2 in: - state-49 -lex DIV(57374) -reduce 108 in: - state-105 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 -lex NEXT(57358) -reduce 10 in: - state-10 -reduce 3 in: - state-3 lex RCURLY(57400) reduce 19 in: state-131 -lex RCURLY(57400) +lex NL(57406) reduce 15 in: state-47 reduce 4 in: state-4 reduce 3 in: state-3 -reduce 19 in: - state-131 -reduce 104 in: - state-137 -reduce 7 in: - state-7 +reduce 17 in: + state-16 +reduce 5 in: + state-5 reduce 3 in: state-3 lex $end(0) @@ -5797,14 +5481,21 @@ state-2 reduce 2 in: state-0 -lex DEF(57356) -reduce 108 in: +lex COUNTER(57347) +reduce 88 in: state-2 +reduce 94 in: + state-55 lex ID(57367) -lex LCURLY(57399) -reduce 2 in: - state-49 +reduce 92 in: + state-107 lex NL(57406) +reduce 87 in: + state-106 +reduce 6 in: + state-6 +reduce 3 in: + state-3 reduce 17 in: state-16 reduce 5 in: @@ -5813,7 +5504,7 @@ state-3 lex DIV(57374) reduce 108 in: - state-105 + state-2 reduce 109 in: state-59 lex REGEX(57363) @@ -5838,14 +5529,46 @@ state-5 reduce 3 in: state-3 -lex NEXT(57358) -reduce 10 in: - state-10 -reduce 3 in: - state-3 +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex ASSIGN(57395) +reduce 72 in: + state-31 +reduce 68 in: + state-27 +reduce 66 in: + state-39 +lex CAPREF_NAMED(57366) +reduce 110 in: + state-78 +reduce 76 in: + state-34 lex NL(57406) -reduce 17 in: - state-16 +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 22 in: + state-143 +reduce 20 in: + state-23 +reduce 18 in: + state-53 reduce 5 in: state-5 reduce 3 in: @@ -5866,26 +5589,10 @@ state-5 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -reduce 104 in: - state-137 -reduce 7 in: - state-7 -reduce 3 in: - state-3 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 lex $end(0) reduce 1 in: state-2 -=== CONT TestParserRoundTrip/len +=== CONT TestParserRoundTrip/named_capture_group_reference reduce 2 in: state-0 lex DIV(57374) @@ -5922,7 +5629,7 @@ state-34 reduce 68 in: state-63 -lex RPAREN(57402) +lex COMMA(57405) reduce 66 in: state-39 reduce 60 in: @@ -5937,66 +5644,51 @@ state-25 reduce 84 in: state-121 -reduce 74 in: - state-150 -lex GT(57383) +lex STRING(57364) +reduce 77 in: + state-35 reduce 68 in: - state-27 + state-63 +lex RPAREN(57402) reduce 66 in: state-39 reduce 60 in: - state-28 + state-122 reduce 47 in: state-44 reduce 43 in: state-41 reduce 35 in: state-29 -reduce 38 in: - state-70 -lex INTLITERAL(57369) -reduce 110 in: - state-68 -reduce 79 in: - state-37 +reduce 30 in: + state-25 +reduce 85 in: + state-158 +reduce 74 in: + state-150 +lex NL(57406) reduce 68 in: - state-63 -lex LCURLY(57399) + state-27 reduce 66 in: state-39 reduce 60 in: - state-122 + state-28 reduce 47 in: state-44 reduce 43 in: state-41 -reduce 36 in: - state-140 +reduce 35 in: + state-29 reduce 30 in: state-25 reduce 24 in: state-21 -reduce 2 in: - state-49 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 -reduce 17 in: - state-16 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 reduce 5 in: state-5 reduce 3 in: @@ -6056,7 +5748,7 @@ state-34 reduce 68 in: state-63 -lex RPAREN(57402) +lex COMMA(57405) reduce 66 in: state-39 reduce 60 in: @@ -6071,50 +5763,51 @@ state-25 reduce 84 in: state-121 -reduce 74 in: - state-150 -lex GT(57383) +lex STRING(57364) +reduce 77 in: + state-35 reduce 68 in: - state-27 + state-63 +lex RPAREN(57402) reduce 66 in: state-39 reduce 60 in: - state-28 + state-122 reduce 47 in: state-44 reduce 43 in: state-41 reduce 35 in: state-29 -reduce 38 in: - state-70 -lex INTLITERAL(57369) -reduce 110 in: - state-68 -reduce 79 in: - state-37 +reduce 30 in: + state-25 +reduce 85 in: + state-158 +reduce 74 in: + state-150 +lex NL(57406) reduce 68 in: - state-63 -lex LCURLY(57399) + state-27 reduce 66 in: state-39 reduce 60 in: - state-122 + state-28 reduce 47 in: state-44 reduce 43 in: state-41 -reduce 36 in: - state-140 +reduce 35 in: + state-29 reduce 30 in: state-25 reduce 24 in: state-21 -reduce 2 in: - state-49 -lex NL(57406) -reduce 17 in: - state-16 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 reduce 5 in: state-5 reduce 3 in: @@ -6135,14 +5828,25 @@ state-5 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 +lex $end(0) +reduce 1 in: + state-2 +=== CONT TestParserRoundTrip/declare_timer +reduce 2 in: + state-0 +lex TIMER(57349) +reduce 88 in: + state-2 +reduce 96 in: + state-57 +lex ID(57367) +reduce 92 in: + state-107 lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 +reduce 87 in: + state-106 +reduce 6 in: + state-6 reduce 3 in: state-3 reduce 17 in: @@ -6154,59 +5858,48 @@ lex $end(0) reduce 1 in: state-2 -=== CONT TestParserRoundTrip/multiline_regex reduce 2 in: state-0 -lex DIV(57374) -reduce 108 in: +lex TIMER(57349) +reduce 88 in: state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex PLUS(57378) -lex NL(57406) -reduce 111 in: - state-104 -lex DIV(57374) -reduce 108 in: - state-119 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 56 in: - state-146 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 +reduce 96 in: + state-57 +lex ID(57367) +reduce 92 in: + state-107 lex NL(57406) +reduce 87 in: + state-106 +reduce 6 in: + state-6 +reduce 3 in: + state-3 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 +lex $end(0) +reduce 1 in: + state-2 +=== CONT TestParserRoundTrip/declare_gauge +reduce 2 in: + state-0 +lex GAUGE(57348) +reduce 88 in: + state-2 +reduce 95 in: + state-56 +lex ID(57367) +reduce 92 in: + state-107 lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 +reduce 87 in: + state-106 +reduce 6 in: + state-6 reduce 3 in: state-3 reduce 17 in: @@ -6220,55 +5913,47 @@ state-2 reduce 2 in: state-0 -lex DIV(57374) -reduce 108 in: +lex GAUGE(57348) +reduce 88 in: state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex PLUS(57378) -lex DIV(57374) -reduce 110 in: - state-83 -reduce 108 in: - state-119 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 56 in: - state-146 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 +reduce 95 in: + state-56 +lex ID(57367) +reduce 92 in: + state-107 lex NL(57406) +reduce 87 in: + state-106 +reduce 6 in: + state-6 +reduce 3 in: + state-3 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 +lex $end(0) +reduce 1 in: + state-2 +=== CONT TestParserRoundTrip/declare_hidden_counter +reduce 2 in: + state-0 +lex HIDDEN(57355) +reduce 89 in: + state-24 +lex COUNTER(57347) +reduce 94 in: + state-55 +lex ID(57367) +reduce 92 in: + state-107 lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 +reduce 87 in: + state-106 +reduce 6 in: + state-6 reduce 3 in: state-3 reduce 17 in: @@ -6280,27 +5965,21 @@ lex $end(0) reduce 1 in: state-2 -=== CONT TestParserRoundTrip/const_regex reduce 2 in: state-0 -lex CONST(57354) +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 lex ID(57367) -reduce 83 in: - state-45 -reduce 108 in: - state-46 -lex DIV(57374) -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 +reduce 92 in: + state-107 lex NL(57406) -reduce 11 in: - state-101 +reduce 87 in: + state-106 +reduce 6 in: + state-6 reduce 3 in: state-3 reduce 17 in: @@ -6309,63 +5988,118 @@ state-5 reduce 3 in: state-3 -lex DIV(57374) -reduce 108 in: +lex $end(0) +reduce 1 in: state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex PLUS(57378) +=== CONT TestParserRoundTrip/declare_multi-dimensioned_counter +reduce 2 in: + state-0 +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 lex ID(57367) -reduce 110 in: - state-83 -reduce 83 in: - state-45 -reduce 57 in: - state-147 -lex PLUS(57378) -lex DIV(57374) -reduce 110 in: - state-83 -reduce 108 in: - state-119 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 56 in: - state-146 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 +reduce 92 in: + state-107 +lex BY(57353) +lex ID(57367) +reduce 99 in: + state-154 +lex COMMA(57405) +lex ID(57367) +reduce 101 in: + state-160 +lex COMMA(57405) +lex ID(57367) +reduce 101 in: + state-160 +lex NL(57406) +reduce 98 in: + state-153 +reduce 90 in: + state-132 +reduce 87 in: + state-106 +reduce 6 in: + state-6 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex $end(0) +reduce 1 in: + state-2 reduce 2 in: - state-49 + state-0 +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 +lex ID(57367) +reduce 92 in: + state-107 +lex BY(57353) +lex ID(57367) +reduce 99 in: + state-154 +lex COMMA(57405) +lex ID(57367) +reduce 101 in: + state-160 +lex COMMA(57405) +lex ID(57367) +reduce 101 in: + state-160 lex NL(57406) +reduce 98 in: + state-153 +reduce 90 in: + state-132 +reduce 87 in: + state-106 +reduce 6 in: + state-6 +reduce 3 in: + state-3 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 +lex $end(0) +reduce 1 in: + state-2 +=== CONT TestParserRoundTrip/declare_dimensioned_counter +reduce 2 in: + state-0 +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 +lex ID(57367) +reduce 92 in: + state-107 +lex BY(57353) +lex ID(57367) +reduce 99 in: + state-154 lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 +reduce 98 in: + state-153 +reduce 90 in: + state-132 +reduce 87 in: + state-106 +reduce 6 in: + state-6 reduce 3 in: state-3 reduce 17 in: @@ -6379,97 +6113,113 @@ state-2 reduce 2 in: state-0 +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 +reduce 92 in: + state-107 +lex BY(57353) +lex ID(57367) +reduce 99 in: + state-154 lex NL(57406) -reduce 72 in: - state-31 -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 +reduce 98 in: + state-153 +reduce 90 in: + state-132 +reduce 87 in: + state-106 +reduce 6 in: + state-6 +reduce 3 in: + state-3 +reduce 17 in: + state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex DIV(57374) -reduce 108 in: +lex $end(0) +reduce 1 in: state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex PLUS(57378) +=== CONT TestParserRoundTrip/declare_counter_string_name +reduce 2 in: + state-0 +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 lex ID(57367) -reduce 110 in: - state-83 -reduce 83 in: - state-45 -reduce 57 in: - state-147 -lex PLUS(57378) -lex DIV(57374) -reduce 110 in: - state-83 -reduce 108 in: - state-119 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 56 in: - state-146 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 +reduce 92 in: + state-107 +lex AS(57352) +lex STRING(57364) +reduce 103 in: + state-156 +reduce 91 in: + state-133 +lex NL(57406) +reduce 87 in: + state-106 +reduce 6 in: + state-6 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex $end(0) +reduce 1 in: + state-2 reduce 2 in: - state-49 + state-0 +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 +lex ID(57367) +reduce 92 in: + state-107 lex NL(57406) +reduce 87 in: + state-106 +reduce 6 in: + state-6 +reduce 3 in: + state-3 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 +lex $end(0) +reduce 1 in: + state-2 +=== CONT TestParserRoundTrip/declare_counter +reduce 2 in: + state-0 +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 +lex ID(57367) +reduce 92 in: + state-107 lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 +reduce 87 in: + state-106 +reduce 6 in: + state-6 reduce 3 in: state-3 reduce 17 in: @@ -6481,94 +6231,54 @@ lex $end(0) reduce 1 in: state-2 -reduce 43 in: - state-41 -reduce 45 in: - state-81 -lex INTLITERAL(57369) -reduce 110 in: - state-80 -reduce 79 in: - state-37 -reduce 68 in: - state-63 +reduce 2 in: + state-0 +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 +lex ID(57367) +reduce 92 in: + state-107 lex NL(57406) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 44 in: - state-145 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 +reduce 87 in: + state-106 +reduce 6 in: + state-6 +reduce 3 in: + state-3 +reduce 17 in: + state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex CAPREF(57365) -reduce 75 in: - state-33 -lex SHR(57381) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 46 in: - state-82 -lex INTLITERAL(57369) -reduce 110 in: - state-80 -reduce 79 in: - state-37 -reduce 68 in: - state-63 +lex $end(0) +reduce 1 in: + state-2 +=== CONT TestParserRoundTrip/newline +reduce 2 in: + state-0 lex NL(57406) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 44 in: - state-145 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 +reduce 17 in: + state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex CAPREF(57365) -reduce 75 in: - state-33 -lex XOR(57389) +lex $end(0) +reduce 1 in: + state-2 +reduce 2 in: + state-0 +lex $end(0) +reduce 1 in: + state-2 +lex RPAREN(57402) +reduce 73 in: + state-123 +lex MINUS(57377) reduce 68 in: state-27 reduce 66 in: @@ -6577,61 +6287,26 @@ state-28 reduce 47 in: state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 34 in: - state-67 -lex INTLITERAL(57369) +reduce 59 in: + state-95 +lex ID(57367) reduce 110 in: - state-64 -reduce 79 in: - state-37 -reduce 68 in: - state-63 + state-93 +reduce 83 in: + state-45 +reduce 81 in: + state-43 lex NL(57406) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 31 in: - state-139 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex NOT(57391) -lex INTLITERAL(57369) -reduce 79 in: - state-37 +reduce 72 in: + state-31 reduce 68 in: state-63 -lex NL(57406) reduce 66 in: state-39 -reduce 67 in: - state-92 reduce 60 in: - state-28 -reduce 47 in: - state-44 + state-122 +reduce 48 in: + state-151 reduce 43 in: state-41 reduce 35 in: @@ -6653,17 +6328,45 @@ lex RCURLY(57400) reduce 19 in: state-131 -lex $end(0) +lex NL(57406) reduce 15 in: state-47 reduce 4 in: state-4 reduce 3 in: state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex $end(0) reduce 1 in: state-2 reduce 2 in: state-0 +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 +lex ID(57367) +reduce 92 in: + state-107 +lex NL(57406) +reduce 87 in: + state-106 +reduce 6 in: + state-6 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 lex DIV(57374) reduce 108 in: state-2 @@ -6691,162 +6394,12 @@ state-5 reduce 3 in: state-3 -lex CAPREF(57365) -reduce 75 in: - state-33 -lex BITAND(57388) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 32 in: - state-65 -lex INTLITERAL(57369) -reduce 110 in: - state-64 -reduce 79 in: - state-37 -reduce 68 in: - state-63 -lex NL(57406) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 31 in: - state-139 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex CAPREF(57365) -reduce 75 in: - state-33 -lex BITOR(57390) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 33 in: - state-66 -lex INTLITERAL(57369) -reduce 110 in: - state-64 -reduce 79 in: - state-37 -reduce 68 in: - state-63 -lex NL(57406) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 31 in: - state-139 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex CAPREF(57365) -reduce 75 in: - state-33 -lex SHL(57380) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 45 in: - state-81 -lex INTLITERAL(57369) -reduce 110 in: - state-80 -reduce 79 in: - state-37 -reduce 68 in: - state-63 -lex NL(57406) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 44 in: - state-145 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex CAPREF(57365) -reduce 75 in: - state-33 -lex SHR(57381) +lex BUILTIN(57362) +lex LPAREN(57401) +lex RPAREN(57402) +reduce 73 in: + state-123 +lex MINUS(57377) reduce 68 in: state-27 reduce 66 in: @@ -6855,109 +6408,26 @@ state-28 reduce 47 in: state-44 -reduce 43 in: - state-41 -reduce 46 in: - state-82 -lex INTLITERAL(57369) +reduce 59 in: + state-95 +lex ID(57367) reduce 110 in: - state-80 -reduce 79 in: - state-37 -reduce 68 in: - state-63 + state-93 +reduce 83 in: + state-45 +reduce 81 in: + state-43 lex NL(57406) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 44 in: - state-145 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex CAPREF(57365) -reduce 75 in: - state-33 -lex XOR(57389) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 34 in: - state-67 -lex INTLITERAL(57369) -reduce 110 in: - state-64 -reduce 79 in: - state-37 +reduce 72 in: + state-31 reduce 68 in: state-63 -lex NL(57406) reduce 66 in: state-39 reduce 60 in: state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 31 in: - state-139 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex NOT(57391) -lex INTLITERAL(57369) -reduce 79 in: - state-37 -reduce 68 in: - state-63 -lex NL(57406) -reduce 66 in: - state-39 -reduce 67 in: - state-92 -reduce 60 in: - state-28 -reduce 47 in: - state-44 +reduce 48 in: + state-151 reduce 43 in: state-41 reduce 35 in: @@ -7168,24 +6638,10 @@ lex $end(0) reduce 1 in: state-2 -=== CONT TestParserRoundTrip/regex_match_includes_escaped_slashes +=== CONT TestParserRoundTrip/regex_cond_expr reduce 2 in: state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 reduce 17 in: state-16 reduce 5 in: @@ -7203,34 +6659,27 @@ state-157 reduce 55 in: state-42 -lex LCURLY(57399) +lex AND(57392) reduce 54 in: state-30 reduce 49 in: state-26 reduce 25 in: state-22 -reduce 2 in: - state-49 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex INC(57372) -reduce 72 in: - state-31 +reduce 28 in: + state-50 +lex INTLITERAL(57369) +reduce 110 in: + state-48 +reduce 79 in: + state-37 +lex LCURLY(57399) reduce 68 in: state-27 -reduce 70 in: - state-90 -reduce 69 in: - state-89 -lex NL(57406) reduce 66 in: state-39 reduce 60 in: - state-28 + state-122 reduce 47 in: state-44 reduce 43 in: @@ -7239,14 +6688,13 @@ state-29 reduce 30 in: state-25 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 +reduce 26 in: + state-129 +reduce 2 in: + state-49 +lex NL(57406) +reduce 17 in: + state-16 reduce 5 in: state-5 reduce 3 in: @@ -7272,27 +6720,6 @@ state-2 reduce 2 in: state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 -lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 lex DIV(57374) reduce 108 in: state-2 @@ -7304,41 +6731,27 @@ state-157 reduce 55 in: state-42 -lex LCURLY(57399) +lex AND(57392) reduce 54 in: state-30 reduce 49 in: state-26 reduce 25 in: state-22 -reduce 2 in: - state-49 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex INC(57372) -reduce 72 in: - state-31 +reduce 28 in: + state-50 +lex INTLITERAL(57369) +reduce 110 in: + state-48 +reduce 79 in: + state-37 +lex LCURLY(57399) reduce 68 in: state-27 -reduce 70 in: - state-90 -reduce 69 in: - state-89 -lex NL(57406) reduce 66 in: state-39 reduce 60 in: - state-28 + state-122 reduce 47 in: state-44 reduce 43 in: @@ -7347,14 +6760,13 @@ state-29 reduce 30 in: state-25 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 +reduce 26 in: + state-129 +reduce 2 in: + state-49 +lex NL(57406) +reduce 17 in: + state-16 reduce 5 in: state-5 reduce 3 in: @@ -7378,71 +6790,9 @@ lex $end(0) reduce 1 in: state-2 -=== CONT TestParserRoundTrip/multiplicative +=== CONT TestParserRoundTrip/paren_expr reduce 2 in: state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 -lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 -lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 lex NL(57406) reduce 17 in: state-16 @@ -7450,38 +6800,17 @@ state-5 reduce 3 in: state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex MUL(57376) -reduce 72 in: - state-31 +lex LPAREN(57401) +lex INTLITERAL(57369) +reduce 79 in: + state-37 +lex RPAREN(57402) reduce 68 in: state-27 reduce 66 in: state-39 reduce 60 in: state-28 -reduce 62 in: - state-97 -lex ID(57367) -reduce 110 in: - state-96 -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex NL(57406) -reduce 72 in: - state-31 -reduce 68 in: - state-63 -reduce 66 in: - state-39 -reduce 61 in: - state-152 reduce 47 in: state-44 reduce 43 in: @@ -7493,47 +6822,43 @@ reduce 24 in: state-21 reduce 21 in: - state-14 + state-87 reduce 20 in: state-23 -reduce 18 in: - state-53 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex POW(57379) -reduce 72 in: - state-31 +reduce 78 in: + state-125 +lex OR(57393) reduce 68 in: state-27 reduce 66 in: state-39 reduce 60 in: state-28 -reduce 65 in: - state-100 -lex ID(57367) +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 29 in: + state-51 +lex LPAREN(57401) reduce 110 in: - state-96 -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex NL(57406) -reduce 72 in: - state-31 + state-48 +lex INTLITERAL(57369) +reduce 79 in: + state-37 +lex AND(57392) reduce 68 in: - state-63 + state-27 reduce 66 in: state-39 -reduce 61 in: - state-152 +reduce 60 in: + state-28 reduce 47 in: state-44 reduce 43 in: @@ -7544,12 +6869,58 @@ state-25 reduce 24 in: state-21 +reduce 28 in: + state-50 +lex INTLITERAL(57369) +reduce 110 in: + state-48 +reduce 79 in: + state-37 +lex RPAREN(57402) +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 26 in: + state-129 reduce 21 in: - state-14 + state-87 reduce 20 in: state-23 -reduce 18 in: - state-53 +reduce 78 in: + state-125 +lex LCURLY(57399) +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 26 in: + state-129 +reduce 2 in: + state-49 +lex NL(57406) +reduce 17 in: + state-16 reduce 5 in: state-5 reduce 3 in: @@ -7557,54 +6928,56 @@ lex RCURLY(57400) reduce 19 in: state-131 -lex NL(57406) +lex $end(0) reduce 15 in: state-47 reduce 4 in: state-4 reduce 3 in: state-3 -reduce 17 in: - state-16 +reduce 1 in: + state-2 reduce 5 in: state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 +lex RCURLY(57400) +reduce 19 in: + state-131 +lex NL(57406) +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 3 in: + state-3 reduce 2 in: - state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) + state-49 reduce 92 in: state-107 lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 -reduce 17 in: - state-16 +reduce 108 in: + state-2 reduce 5 in: state-5 reduce 3 in: state-3 -lex COUNTER(57347) -reduce 88 in: - state-2 +lex BUILTIN(57362) +lex LPAREN(57401) +lex CAPREF(57365) +reduce 2 in: + state-0 +reduce 75 in: + state-33 reduce 94 in: state-55 -lex ID(57367) -reduce 92 in: - state-107 -lex NL(57406) +reduce 68 in: + state-63 +lex COMMA(57405) +reduce 109 in: + state-59 +reduce 66 in: + state-39 reduce 87 in: state-106 reduce 6 in: @@ -7644,54 +7017,43 @@ state-5 reduce 3 in: state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex MUL(57376) -reduce 72 in: - state-31 -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 62 in: - state-97 -lex ID(57367) -reduce 110 in: - state-96 -reduce 83 in: - state-45 -reduce 81 in: - state-43 lex NL(57406) -reduce 72 in: - state-31 -reduce 68 in: - state-63 -reduce 66 in: - state-39 -reduce 61 in: - state-152 +reduce 17 in: + state-16 +reduce 60 in: + state-122 +reduce 5 in: + state-5 reduce 47 in: state-44 +reduce 3 in: + state-3 reduce 43 in: state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 +lex INTLITERAL(57369) +reduce 5 in: + state-5 +lex REGEX(57363) +reduce 3 in: + state-3 +lex DIV(57374) +reduce 86 in: + state-157 +=== CONT TestParserRoundTrip/strptime_and_capref +reduce 55 in: + state-42 +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +reduce 2 in: + state-49 +lex NL(57406) +reduce 17 in: + state-16 reduce 5 in: state-5 reduce 3 in: @@ -7701,61 +7063,24 @@ state-45 reduce 81 in: state-43 -lex POW(57379) +lex INC(57372) reduce 72 in: state-31 reduce 68 in: state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 65 in: - state-100 +reduce 70 in: + state-90 +reduce 69 in: + state-89 +=== CONT TestParserRoundTrip/numeric_capture_group_reference lex ID(57367) -reduce 110 in: - state-96 -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex NL(57406) -reduce 72 in: - state-31 -reduce 68 in: - state-63 -reduce 66 in: - state-39 -reduce 61 in: - state-152 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 +reduce 92 in: + state-107 lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 +reduce 87 in: + state-106 +reduce 6 in: + state-6 reduce 3 in: state-3 reduce 17 in: @@ -7764,12 +7089,6 @@ state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 -=== CONT TestParserRoundTrip/additive -reduce 2 in: - state-0 lex COUNTER(57347) reduce 88 in: state-2 @@ -7778,6 +7097,41 @@ lex ID(57367) reduce 92 in: state-107 +lex $end(0) +reduce 79 in: + state-37 +reduce 1 in: + state-2 +lex OR(57393) +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-28 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 29 in: + state-51 +lex INTLITERAL(57369) +reduce 110 in: + state-48 +reduce 79 in: + state-37 +lex AND(57392) +reduce 68 in: + state-27 +reduce 66 in: + state-39 +=== CONT TestParserRoundTrip/regex_match_includes_escaped_slashes lex NL(57406) reduce 87 in: state-106 @@ -7794,6 +7148,13 @@ lex DIV(57374) reduce 108 in: state-2 +reduce 2 in: + state-0 +reduce 2 in: + state-0 +lex DIV(57374) +reduce 108 in: + state-2 reduce 109 in: state-59 lex REGEX(57363) @@ -7820,38 +7181,47 @@ state-3 lex BUILTIN(57362) lex LPAREN(57401) -lex RPAREN(57402) -reduce 73 in: - state-123 -lex MINUS(57377) +lex CAPREF(57365) +reduce 75 in: + state-33 reduce 68 in: - state-27 + state-63 +reduce 60 in: + state-122 +lex COMMA(57405) reduce 66 in: state-39 -reduce 60 in: - state-28 reduce 47 in: state-44 -reduce 59 in: - state-95 +lex COUNTER(57347) +reduce 43 in: + state-41 lex ID(57367) -reduce 110 in: - state-93 reduce 83 in: state-45 reduce 81 in: state-43 -lex NL(57406) +lex ADD_ASSIGN(57394) reduce 72 in: state-31 reduce 68 in: - state-63 + state-27 +reduce 66 in: + state-39 +lex INTLITERAL(57369) +reduce 110 in: + state-79 +reduce 79 in: + state-37 +lex NL(57406) +reduce 68 in: + state-27 reduce 66 in: state-39 reduce 60 in: state-122 -reduce 48 in: - state-151 +reduce 47 in: + state-44 reduce 43 in: state-41 reduce 35 in: @@ -7860,8 +7230,8 @@ state-25 reduce 24 in: state-21 -reduce 21 in: - state-14 +reduce 23 in: + state-144 reduce 20 in: state-23 reduce 18 in: @@ -7870,28 +7240,7 @@ state-5 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex $end(0) -reduce 1 in: - state-2 -reduce 2 in: - state-0 -lex COUNTER(57347) +=== CONT TestParserRoundTrip/decrement_counter reduce 88 in: state-2 reduce 94 in: @@ -7928,51 +7277,17 @@ state-30 reduce 49 in: state-26 +reduce 60 in: + state-122 reduce 25 in: state-22 -reduce 2 in: - state-49 lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex BUILTIN(57362) -lex LPAREN(57401) -lex RPAREN(57402) -reduce 73 in: - state-123 -lex MINUS(57377) -reduce 68 in: - state-27 reduce 66 in: state-39 reduce 60 in: state-28 reduce 47 in: state-44 -reduce 59 in: - state-95 -lex ID(57367) -reduce 110 in: - state-93 -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex NL(57406) -reduce 72 in: - state-31 -reduce 68 in: - state-63 -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 48 in: - state-151 reduce 43 in: state-41 reduce 35 in: @@ -8008,44 +7323,57 @@ reduce 3 in: state-3 lex $end(0) -reduce 1 in: - state-2 -=== CONT TestParserRoundTrip/incby_operator +reduce 35 in: + state-29 +reduce 47 in: + state-44 +reduce 30 in: + state-25 +=== CONT TestParserRoundTrip/more_complex_action,_increment_counter +reduce 26 in: + state-129 +reduce 28 in: + state-50 +lex INTLITERAL(57369) +reduce 110 in: + state-48 +reduce 79 in: + state-37 +lex LCURLY(57399) +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 26 in: + state-129 reduce 2 in: - state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 + state-49 +reduce 109 in: + state-59 lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 reduce 17 in: state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 109 in: - state-59 lex REGEX(57363) +=== CONT TestParserRoundTrip/simple_pattern_action lex DIV(57374) reduce 86 in: state-157 reduce 55 in: state-42 +reduce 2 in: + state-0 lex LCURLY(57399) +lex DIV(57374) reduce 54 in: state-30 reduce 49 in: @@ -8053,6 +7381,8 @@ reduce 25 in: state-22 reduce 2 in: + state-0 +reduce 2 in: state-49 lex NL(57406) reduce 17 in: @@ -8067,17 +7397,29 @@ reduce 81 in: state-43 lex ADD_ASSIGN(57394) +reduce 2 in: + state-0 +reduce 2 in: + state-0 +lex DIV(57374) +reduce 108 in: + state-2 +lex COUNTER(57347) +reduce 5 in: + state-5 reduce 72 in: state-31 reduce 68 in: state-27 reduce 66 in: state-39 -lex INTLITERAL(57369) +reduce 17 in: + state-16 +lex CAPREF(57365) reduce 110 in: state-79 -reduce 79 in: - state-37 +reduce 75 in: + state-33 lex NL(57406) reduce 68 in: state-27 @@ -8097,44 +7439,46 @@ state-21 reduce 23 in: state-144 +lex RCURLY(57400) reduce 20 in: state-23 -reduce 18 in: - state-53 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex $end(0) -reduce 1 in: +lex COUNTER(57347) +reduce 88 in: state-2 -=== CONT TestParserRoundTrip/regex_cond_expr +=== CONT TestParserRoundTrip/declare_text +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 84 in: + state-121 +lex STRING(57364) +reduce 77 in: + state-35 +reduce 68 in: + state-63 reduce 2 in: state-0 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 lex DIV(57374) +lex TEXT(57350) +reduce 88 in: + state-2 +reduce 94 in: + state-55 +reduce 97 in: + state-58 +lex ID(57367) +reduce 92 in: + state-107 +lex ID(57367) +reduce 88 in: + state-2 +reduce 92 in: + state-107 +reduce 94 in: + state-55 +reduce 1 in: + state-2 reduce 108 in: state-2 reduce 109 in: @@ -8145,27 +7489,34 @@ state-157 reduce 55 in: state-42 -lex AND(57392) +lex LCURLY(57399) reduce 54 in: state-30 reduce 49 in: state-26 reduce 25 in: state-22 -reduce 28 in: - state-50 -lex INTLITERAL(57369) -reduce 110 in: - state-48 -reduce 79 in: - state-37 -lex LCURLY(57399) +reduce 2 in: + state-49 +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex INC(57372) +reduce 72 in: + state-31 reduce 68 in: state-27 +reduce 70 in: + state-90 +reduce 69 in: + state-89 +lex NL(57406) reduce 66 in: state-39 reduce 60 in: - state-122 + state-28 reduce 47 in: state-44 reduce 43 in: @@ -8174,13 +7525,14 @@ state-29 reduce 30 in: state-25 -reduce 26 in: - state-129 -reduce 2 in: - state-49 -lex NL(57406) -reduce 17 in: - state-16 +reduce 24 in: + state-21 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 reduce 5 in: state-5 reduce 3 in: @@ -8191,135 +7543,80 @@ lex NL(57406) reduce 15 in: state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex $end(0) -reduce 1 in: - state-2 -reduce 2 in: - state-0 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex AND(57392) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 28 in: - state-50 -lex INTLITERAL(57369) -reduce 110 in: - state-48 -reduce 79 in: - state-37 -lex LCURLY(57399) +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 84 in: + state-121 +lex STRING(57364) +reduce 77 in: + state-35 reduce 68 in: - state-27 + state-63 +lex RPAREN(57402) reduce 66 in: state-39 reduce 60 in: state-122 +reduce 109 in: + state-59 reduce 47 in: state-44 +lex REGEX(57363) reduce 43 in: state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 26 in: - state-129 -reduce 2 in: - state-49 lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex RCURLY(57400) reduce 19 in: state-131 +=== CONT TestParserRoundTrip/simple_otherwise_action lex NL(57406) reduce 15 in: state-47 reduce 4 in: state-4 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex $end(0) -reduce 1 in: - state-2 -=== CONT TestParserRoundTrip/increment_operator reduce 2 in: state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 -lex NL(57406) +reduce 35 in: + state-29 reduce 87 in: state-106 reduce 6 in: state-6 reduce 3 in: state-3 -reduce 17 in: - state-16 +=== CONT TestParserRoundTrip/indexed_expression_arg_list reduce 5 in: state-5 reduce 3 in: state-3 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex MUL(57376) +reduce 2 in: + state-0 +reduce 2 in: + state-0 +lex NL(57406) +lex COUNTER(57347) +lex OTHERWISE(57359) lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 reduce 2 in: state-49 +lex RCURLY(57400) +reduce 19 in: + state-131 +reduce 16 in: + state-52 +reduce 4 in: + state-4 +reduce 3 in: + state-3 lex NL(57406) reduce 17 in: state-16 @@ -8327,14 +7624,15 @@ state-5 reduce 3 in: state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 +reduce 3 in: + state-3 +lex $end(0) +reduce 3 in: + state-3 +lex CAPREF(57365) +reduce 75 in: + state-33 lex INC(57372) -reduce 72 in: - state-31 reduce 68 in: state-27 reduce 70 in: @@ -8366,40 +7664,56 @@ state-5 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 +lex DIV(57374) +reduce 108 in: + state-105 +reduce 109 in: + state-59 +lex REGEX(57363) reduce 17 in: state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex $end(0) -reduce 1 in: - state-2 -reduce 2 in: - state-0 -lex COUNTER(57347) reduce 88 in: state-2 reduce 94 in: state-55 +reduce 17 in: + state-16 lex ID(57367) +reduce 5 in: + state-5 +reduce 1 in: + state-2 +reduce 2 in: + state-49 +lex NL(57406) +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex RCURLY(57400) +reduce 19 in: + state-131 +lex NL(57406) +reduce 15 in: + state-47 reduce 92 in: state-107 +reduce 4 in: + state-4 +lex DIV(57374) lex NL(57406) +reduce 4 in: + state-4 reduce 87 in: state-106 +reduce 3 in: + state-3 reduce 6 in: state-6 +reduce 17 in: + state-16 reduce 3 in: state-3 reduce 17 in: @@ -8419,13 +7733,25 @@ state-157 reduce 55 in: state-42 +lex DIV(57374) lex LCURLY(57399) +reduce 5 in: + state-5 +lex $end(0) +reduce 108 in: + state-2 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +reduce 2 in: + state-0 reduce 54 in: state-30 reduce 49 in: state-26 -reduce 25 in: - state-22 +lex OTHERWISE(57359) +lex LCURLY(57399) reduce 2 in: state-49 lex NL(57406) @@ -8435,72 +7761,24 @@ state-5 reduce 3 in: state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex INC(57372) -reduce 72 in: - state-31 -reduce 68 in: - state-27 -reduce 70 in: - state-90 -reduce 69 in: - state-89 -lex NL(57406) -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 -reduce 5 in: - state-5 -reduce 3 in: - state-3 lex RCURLY(57400) reduce 19 in: state-131 -lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex $end(0) +reduce 16 in: + state-52 +reduce 109 in: + state-59 +lex RPAREN(57402) +lex REGEX(57363) reduce 1 in: state-2 -=== CONT TestParserRoundTrip/assignment reduce 2 in: state-0 -lex COUNTER(57347) +lex TEXT(57350) reduce 88 in: state-2 -reduce 94 in: - state-55 +reduce 97 in: + state-58 lex ID(57367) reduce 92 in: state-107 @@ -8515,15 +7793,6 @@ state-16 reduce 5 in: state-5 -reduce 3 in: - state-3 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) reduce 86 in: state-157 reduce 55 in: @@ -8544,23 +7813,19 @@ state-5 reduce 3 in: state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex ASSIGN(57395) -reduce 72 in: - state-31 +lex CAPREF(57365) +reduce 75 in: + state-33 +lex ADD_ASSIGN(57394) reduce 68 in: state-27 reduce 66 in: state-39 -lex CAPREF_NAMED(57366) +lex CAPREF(57365) reduce 110 in: - state-78 -reduce 76 in: - state-34 + state-79 +reduce 75 in: + state-33 lex NL(57406) reduce 68 in: state-27 @@ -8576,63 +7841,130 @@ state-29 reduce 30 in: state-25 -reduce 24 in: - state-21 -reduce 22 in: - state-143 -reduce 20 in: - state-23 +reduce 72 in: + state-31 +reduce 30 in: + state-25 +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-28 +reduce 62 in: + state-97 +lex ID(57367) +reduce 110 in: + state-96 +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex NL(57406) +reduce 72 in: + state-31 +reduce 68 in: + state-63 reduce 18 in: state-53 -reduce 5 in: - state-5 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 reduce 3 in: state-3 reduce 17 in: state-16 +lex COUNTER(57347) +reduce 5 in: + state-5 +reduce 25 in: + state-22 +reduce 17 in: + state-16 reduce 5 in: state-5 reduce 3 in: state-3 +reduce 5 in: + state-5 +lex DIV(57374) +reduce 3 in: + state-3 +lex $end(0) +reduce 1 in: + state-2 +reduce 66 in: + state-39 +reduce 61 in: + state-152 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +=== CONT TestParserRoundTrip/getfilename +reduce 3 in: + state-3 lex $end(0) reduce 1 in: state-2 reduce 2 in: state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex DIV(57374) -reduce 108 in: +lex BUILTIN(57362) +lex LPAREN(57401) +lex RPAREN(57402) +reduce 73 in: + state-123 +lex NL(57406) +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-28 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex $end(0) +reduce 1 in: state-2 +reduce 2 in: + state-0 +reduce 24 in: + state-21 +lex BUILTIN(57362) +reduce 23 in: + state-144 +reduce 66 in: + state-39 +reduce 108 in: + state-105 +reduce 4 in: + state-4 +reduce 3 in: + state-3 reduce 109 in: state-59 lex REGEX(57363) @@ -8651,36 +7983,66 @@ reduce 2 in: state-49 lex NL(57406) +reduce 86 in: + state-157 reduce 17 in: state-16 +reduce 55 in: + state-42 reduce 5 in: state-5 +lex LCURLY(57399) reduce 3 in: state-3 +reduce 2 in: + state-0 lex ID(57367) reduce 83 in: state-45 reduce 81 in: state-43 -lex ASSIGN(57395) +lex INC(57372) reduce 72 in: state-31 reduce 68 in: state-27 +reduce 70 in: + state-90 +reduce 69 in: + state-89 +lex NL(57406) reduce 66 in: state-39 -lex CAPREF_NAMED(57366) -reduce 110 in: - state-78 -reduce 76 in: - state-34 +reduce 60 in: + state-28 +reduce 85 in: + state-158 +reduce 74 in: + state-150 +lex NL(57406) +lex DIV(57374) +lex LPAREN(57401) +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 85 in: + state-158 +reduce 74 in: + state-150 lex NL(57406) reduce 68 in: state-27 reduce 66 in: state-39 reduce 60 in: - state-122 + state-28 reduce 47 in: state-44 reduce 43 in: @@ -8691,8 +8053,8 @@ state-25 reduce 24 in: state-21 -reduce 22 in: - state-143 +reduce 21 in: + state-14 reduce 20 in: state-23 reduce 18 in: @@ -8720,7 +8082,6 @@ lex $end(0) reduce 1 in: state-2 -=== CONT TestParserRoundTrip/comment_then_code reduce 2 in: state-0 lex DIV(57374) @@ -8840,8 +8201,38 @@ lex $end(0) reduce 1 in: state-2 +=== CONT TestParserRoundTrip/delete_after reduce 2 in: state-0 +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 +lex ID(57367) +reduce 92 in: + state-107 +lex BY(57353) +lex ID(57367) +reduce 99 in: + state-154 +lex NL(57406) +reduce 98 in: + state-153 +reduce 90 in: + state-132 +reduce 87 in: + state-106 +reduce 6 in: + state-6 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 lex DIV(57374) reduce 108 in: state-2 @@ -8869,14 +8260,19 @@ state-5 reduce 3 in: state-3 -lex BUILTIN(57362) -lex LPAREN(57401) +lex DEL(57357) +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex LSQUARE(57403) lex CAPREF(57365) reduce 75 in: state-33 reduce 68 in: state-63 -lex COMMA(57405) +lex RSQUARE(57404) reduce 66 in: state-39 reduce 60 in: @@ -8891,51 +8287,23 @@ state-25 reduce 84 in: state-121 -lex STRING(57364) -reduce 77 in: - state-35 +reduce 82 in: + state-148 +lex AFTER(57351) +reduce 72 in: + state-31 reduce 68 in: state-63 -lex RPAREN(57402) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 85 in: - state-158 -reduce 74 in: - state-150 +lex DURATIONLITERAL(57371) +reduce 106 in: + state-138 +reduce 9 in: + state-9 +reduce 3 in: + state-3 lex NL(57406) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 +reduce 17 in: + state-16 reduce 5 in: state-5 reduce 3 in: @@ -8943,23 +8311,15 @@ lex RCURLY(57400) reduce 19 in: state-131 -lex NL(57406) +lex $end(0) reduce 15 in: state-47 reduce 4 in: state-4 reduce 3 in: state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex $end(0) reduce 1 in: state-2 -=== CONT TestParserRoundTrip/nested_scope reduce 2 in: state-0 lex COUNTER(57347) @@ -8970,7 +8330,15 @@ lex ID(57367) reduce 92 in: state-107 +lex BY(57353) +lex ID(57367) +reduce 99 in: + state-154 lex NL(57406) +reduce 98 in: + state-153 +reduce 90 in: + state-132 reduce 87 in: state-106 reduce 6 in: @@ -9010,21 +8378,23 @@ state-5 reduce 3 in: state-3 +lex DEL(57357) +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex LSQUARE(57403) lex CAPREF(57365) reduce 75 in: state-33 -lex INC(57372) reduce 68 in: - state-27 -reduce 70 in: - state-90 -reduce 69 in: - state-89 -lex NL(57406) + state-63 +lex RSQUARE(57404) reduce 66 in: state-39 reduce 60 in: - state-28 + state-122 reduce 47 in: state-44 reduce 43 in: @@ -9033,21 +8403,90 @@ state-29 reduce 30 in: state-25 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 +reduce 84 in: + state-121 +reduce 82 in: + state-148 +lex AFTER(57351) +reduce 72 in: + state-31 +reduce 68 in: + state-63 +lex DURATIONLITERAL(57371) +reduce 106 in: + state-138 +reduce 9 in: + state-9 +reduce 3 in: + state-3 +lex NL(57406) +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex NL(57406) +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex RCURLY(57400) +reduce 19 in: + state-131 +lex NL(57406) +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex $end(0) +reduce 1 in: + state-2 +=== CONT TestParserRoundTrip/delete +reduce 2 in: + state-0 +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 +lex ID(57367) +reduce 92 in: + state-107 +lex BY(57353) +lex ID(57367) +reduce 99 in: + state-154 +lex NL(57406) +reduce 98 in: + state-153 +reduce 90 in: + state-132 +reduce 87 in: + state-106 +reduce 6 in: + state-6 +reduce 3 in: + state-3 +reduce 17 in: + state-16 reduce 5 in: state-5 reduce 3 in: state-3 lex DIV(57374) reduce 108 in: - state-105 + state-2 reduce 109 in: state-59 lex REGEX(57363) @@ -9072,22 +8511,19 @@ state-5 reduce 3 in: state-3 +lex DEL(57357) +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex LSQUARE(57403) lex CAPREF(57365) reduce 75 in: state-33 -lex ADD_ASSIGN(57394) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -lex CAPREF(57365) -reduce 110 in: - state-79 -reduce 75 in: - state-33 -lex NL(57406) reduce 68 in: - state-27 + state-63 +lex RSQUARE(57404) reduce 66 in: state-39 reduce 60 in: @@ -9100,42 +8536,37 @@ state-29 reduce 30 in: state-25 -reduce 24 in: - state-21 -reduce 23 in: - state-144 -reduce 20 in: - state-23 -reduce 18 in: - state-53 +reduce 84 in: + state-121 +reduce 82 in: + state-148 +lex NL(57406) +reduce 72 in: + state-31 +reduce 68 in: + state-63 +reduce 107 in: + state-62 +reduce 9 in: + state-9 +reduce 3 in: + state-3 +reduce 17 in: + state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex ASSIGN(57395) -reduce 72 in: - state-31 -reduce 68 in: - state-27 -reduce 66 in: - state-39 -lex CAPREF(57365) -reduce 110 in: - state-78 -reduce 75 in: - state-33 +lex RCURLY(57400) +reduce 19 in: + state-131 lex NL(57406) reduce 68 in: state-27 reduce 66 in: state-39 reduce 60 in: - state-122 + state-28 reduce 47 in: state-44 reduce 43 in: @@ -9146,8 +8577,8 @@ state-25 reduce 24 in: state-21 -reduce 22 in: - state-143 +reduce 21 in: + state-14 reduce 20 in: state-23 reduce 18 in: @@ -9156,52 +8587,81 @@ state-5 reduce 3 in: state-3 +reduce 2 in: + state-49 lex RCURLY(57400) reduce 19 in: state-131 lex NL(57406) reduce 15 in: state-47 +reduce 86 in: + state-157 reduce 4 in: state-4 reduce 3 in: state-3 +lex NL(57406) +reduce 35 in: + state-29 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 +reduce 55 in: + state-42 +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +reduce 2 in: + state-49 lex RCURLY(57400) -reduce 19 in: - state-131 -lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 +reduce 54 in: + state-30 reduce 3 in: state-3 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +reduce 47 in: + state-44 +reduce 2 in: + state-49 +lex NL(57406) reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 +lex CAPREF(57365) +reduce 75 in: + state-33 +lex INC(57372) +reduce 68 in: + state-27 +reduce 70 in: + state-90 +reduce 69 in: + state-89 +lex NL(57406) +reduce 66 in: + state-39 +lex NL(57406) +reduce 60 in: + state-28 lex $end(0) +reduce 47 in: + state-44 reduce 1 in: state-2 -reduce 2 in: - state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 -lex NL(57406) reduce 87 in: state-106 reduce 6 in: @@ -9241,10 +8701,14 @@ state-5 reduce 3 in: state-3 -lex CAPREF(57365) -reduce 75 in: - state-33 +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 lex INC(57372) +reduce 72 in: + state-31 reduce 68 in: state-27 reduce 70 in: @@ -9276,15 +8740,23 @@ state-5 reduce 3 in: state-3 -lex DIV(57374) -reduce 108 in: - state-105 -reduce 109 in: - state-59 reduce 2 in: state-0 -=== CONT TestParserRoundTrip/paren_expr +lex $end(0) +lex COUNTER(57347) +reduce 15 in: + state-47 +reduce 30 in: + state-25 +reduce 4 in: + state-4 +reduce 17 in: + state-16 +reduce 3 in: + state-3 lex COUNTER(57347) +reduce 1 in: + state-2 reduce 88 in: state-2 reduce 94 in: @@ -9319,8 +8791,6 @@ lex LCURLY(57399) reduce 54 in: state-30 -reduce 2 in: - state-0 reduce 49 in: state-26 reduce 25 in: @@ -9328,50 +8798,18 @@ reduce 2 in: state-49 lex NL(57406) -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 +lex RPAREN(57402) +reduce 73 in: + state-123 reduce 17 in: state-16 -=== CONT TestParserRoundTrip/indexed_expression_arg_list +reduce 43 in: + state-41 reduce 5 in: state-5 -reduce 3 in: - state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex ADD_ASSIGN(57394) -reduce 72 in: - state-31 -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 2 in: - state-0 -lex INTLITERAL(57369) -lex NL(57406) -reduce 110 in: - state-79 -reduce 17 in: - state-16 -reduce 79 in: - state-37 +reduce 88 in: + state-2 lex NL(57406) -reduce 68 in: - state-27 -=== CONT TestParserRoundTrip/getfilename -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 reduce 43 in: state-41 reduce 35 in: @@ -9380,15 +8818,24 @@ state-25 reduce 24 in: state-21 -reduce 23 in: - state-144 +reduce 21 in: + state-14 reduce 20 in: state-23 reduce 18 in: state-53 -=== CONT TestParserRoundTrip/delete_after +reduce 5 in: + state-5 +reduce 3 in: + state-3 +reduce 20 in: + state-23 reduce 2 in: state-0 +reduce 3 in: + state-3 +reduce 17 in: + state-16 lex COUNTER(57347) reduce 88 in: state-2 @@ -9418,7 +8865,8 @@ state-5 reduce 3 in: state-3 -=== CONT TestParserRoundTrip/delete +reduce 3 in: + state-3 lex DIV(57374) reduce 108 in: state-2 @@ -9428,59 +8876,22 @@ lex DIV(57374) reduce 86 in: state-157 -reduce 2 in: - state-0 reduce 55 in: state-42 -lex COUNTER(57347) +lex ID(57367) lex LCURLY(57399) reduce 54 in: state-30 -reduce 5 in: - state-5 reduce 49 in: state-26 -reduce 5 in: - state-5 reduce 25 in: state-22 reduce 2 in: - state-0 -reduce 2 in: state-49 lex NL(57406) -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -reduce 3 in: - state-3 -lex RCURLY(57400) -reduce 88 in: - state-2 -reduce 19 in: - state-131 -reduce 94 in: - state-55 -lex BUILTIN(57362) lex ID(57367) -lex LPAREN(57401) -reduce 3 in: - state-3 -lex RPAREN(57402) -lex LPAREN(57401) -reduce 73 in: - state-123 -lex INTLITERAL(57369) -reduce 79 in: - state-37 -lex NL(57406) reduce 17 in: state-16 -=== CONT TestParserRoundTrip/mod_operator reduce 5 in: state-5 reduce 3 in: @@ -9491,6 +8902,7 @@ state-45 reduce 81 in: state-43 +lex RCURLY(57400) lex LSQUARE(57403) lex CAPREF(57365) reduce 75 in: @@ -9504,349 +8916,133 @@ state-122 reduce 47 in: state-44 -reduce 3 in: - state-3 reduce 43 in: state-41 reduce 35 in: state-29 -reduce 92 in: - state-107 -lex COUNTER(57347) -reduce 88 in: - state-2 -lex BY(57353) -reduce 2 in: - state-0 -lex ID(57367) +reduce 30 in: + state-25 reduce 68 in: state-27 -reduce 99 in: - state-154 -reduce 66 in: - state-39 -lex NL(57406) -reduce 94 in: - state-55 -reduce 98 in: - state-153 -lex ID(57367) -reduce 90 in: - state-132 -=== CONT TestParserRoundTrip/nested_else_clause -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 -reduce 17 in: - state-16 +reduce 84 in: + state-121 +lex CAPREF(57365) +reduce 18 in: + state-53 +reduce 88 in: + state-2 reduce 5 in: state-5 +reduce 94 in: + state-55 reduce 3 in: state-3 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -=== CONT TestParserRoundTrip/simple_else_clause -reduce 2 in: - state-0 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 2 in: - state-0 -lex RPAREN(57402) -lex DIV(57374) -reduce 60 in: - state-28 +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex ASSIGN(57395) +reduce 72 in: + state-31 reduce 68 in: state-27 -reduce 47 in: - state-44 -reduce 108 in: - state-2 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 92 in: - state-107 -reduce 30 in: - state-25 -lex NL(57406) -reduce 24 in: - state-21 -reduce 55 in: - state-42 -reduce 21 in: - state-14 -lex LCURLY(57399) -lex DIV(57374) -reduce 54 in: - state-30 -reduce 108 in: - state-2 -reduce 20 in: - state-23 -reduce 109 in: - state-59 reduce 66 in: state-39 -reduce 60 in: - state-28 -lex REGEX(57363) -=== CONT TestParserRoundTrip/pattern_action_then_otherwise_action -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-0 -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 109 in: - state-59 -reduce 3 in: - state-3 -lex REGEX(57363) -reduce 17 in: - state-16 -lex DIV(57374) -reduce 47 in: - state-44 -reduce 55 in: - state-42 -reduce 43 in: - state-41 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 86 in: - state-157 -reduce 2 in: - state-49 -reduce 55 in: - state-42 +lex CAPREF(57365) +reduce 110 in: + state-78 +reduce 75 in: + state-33 lex NL(57406) -lex LCURLY(57399) -reduce 54 in: - state-30 -=== CONT TestParserRoundTrip/simple_otherwise_action -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 21 in: - state-87 -reduce 20 in: - state-23 -reduce 78 in: - state-125 -lex OR(57393) reduce 68 in: state-27 reduce 66 in: state-39 reduce 60 in: - state-28 + state-122 reduce 47 in: state-44 reduce 43 in: state-41 reduce 35 in: state-29 -reduce 2 in: - state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 reduce 30 in: state-25 -lex BY(57353) reduce 24 in: state-21 -reduce 29 in: - state-51 -lex LPAREN(57401) -lex ID(57367) +reduce 22 in: + state-143 +reduce 20 in: + state-23 reduce 18 in: state-53 -reduce 99 in: - state-154 -reduce 2 in: - state-49 -lex COMMA(57405) -lex NL(57406) -lex ID(57367) -reduce 101 in: - state-160 -=== CONT TestParserRoundTrip/floats -reduce 25 in: - state-22 -reduce 2 in: - state-49 -lex DIV(57374) -reduce 108 in: - state-105 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -=== CONT TestParserRoundTrip/decorator_definition_and_invocation -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 +reduce 5 in: + state-5 +reduce 3 in: + state-3 lex RCURLY(57400) reduce 19 in: state-131 -lex RCURLY(57400) +lex NL(57406) reduce 15 in: state-47 reduce 4 in: state-4 -=== CONT TestParserRoundTrip/conditional_expressions -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 -lex RCURLY(57400) reduce 19 in: state-131 -lex ELSE(57360) -lex LCURLY(57399) -reduce 2 in: - state-49 -reduce 2 in: - state-0 -reduce 110 in: - state-48 -lex COUNTER(57347) -lex INTLITERAL(57369) -reduce 94 in: - state-55 -reduce 79 in: - state-37 +reduce 75 in: + state-33 +lex NL(57406) lex ID(57367) -reduce 88 in: - state-2 -reduce 30 in: - state-25 +reduce 15 in: + state-47 +lex ID(57367) +reduce 4 in: + state-4 reduce 94 in: state-55 -lex NL(57406) -reduce 98 in: - state-153 -reduce 84 in: - state-121 -lex ID(57367) reduce 92 in: state-107 +lex ID(57367) +lex BY(57353) +reduce 83 in: + state-45 +lex ID(57367) reduce 82 in: state-148 +reduce 35 in: + state-29 lex NL(57406) -reduce 87 in: - state-106 -lex AFTER(57351) -reduce 6 in: - state-6 -reduce 90 in: - state-132 -reduce 3 in: - state-3 -reduce 87 in: - state-106 -lex OTHERWISE(57359) -reduce 2 in: - state-0 -lex LCURLY(57399) -lex GAUGE(57348) -reduce 72 in: - state-31 -reduce 88 in: - state-2 -reduce 6 in: - state-6 -reduce 95 in: - state-56 +reduce 81 in: + state-43 reduce 3 in: state-3 -lex ID(57367) -reduce 92 in: - state-107 -reduce 92 in: - state-107 -reduce 17 in: - state-16 -lex NL(57406) reduce 17 in: state-16 -lex RCURLY(57400) +reduce 99 in: + state-154 reduce 3 in: state-3 -reduce 19 in: - state-131 +lex COMMA(57405) +reduce 17 in: + state-16 +lex ID(57367) reduce 5 in: state-5 -reduce 14 in: - state-128 -reduce 68 in: - state-63 -reduce 4 in: - state-4 +reduce 101 in: + state-160 reduce 3 in: state-3 -lex DURATIONLITERAL(57371) -reduce 106 in: - state-138 -lex $end(0) +reduce 24 in: + state-21 +lex NL(57406) +reduce 98 in: + state-153 +reduce 90 in: + state-132 reduce 87 in: state-106 -reduce 1 in: - state-2 reduce 6 in: state-6 reduce 3 in: @@ -9889,21 +9085,33 @@ state-45 reduce 81 in: state-43 -lex ASSIGN(57395) -reduce 72 in: - state-31 +lex LSQUARE(57403) +lex CAPREF(57365) +reduce 75 in: + state-33 reduce 68 in: - state-27 + state-63 +lex COMMA(57405) reduce 66 in: state-39 -lex FLOATLITERAL(57370) -reduce 110 in: - state-78 -reduce 80 in: - state-38 -lex NL(57406) +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 84 in: + state-121 +lex CAPREF(57365) +reduce 75 in: + state-33 reduce 68 in: - state-27 + state-63 +lex RSQUARE(57404) reduce 66 in: state-39 reduce 60 in: @@ -9916,10 +9124,36 @@ state-29 reduce 30 in: state-25 +reduce 85 in: + state-158 +reduce 82 in: + state-148 +lex INC(57372) +reduce 72 in: + state-31 +reduce 68 in: + state-27 +reduce 70 in: + state-90 +reduce 69 in: + state-89 +lex NL(57406) +reduce 66 in: + state-39 +reduce 60 in: + state-28 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 reduce 24 in: state-21 -reduce 22 in: - state-143 +reduce 21 in: + state-14 reduce 20 in: state-23 reduce 18 in: @@ -9928,6 +9162,14 @@ state-5 reduce 3 in: state-3 +reduce 21 in: + state-14 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +reduce 20 in: + state-23 lex RCURLY(57400) reduce 19 in: state-131 @@ -9940,52 +9182,15 @@ state-3 reduce 1 in: state-2 -reduce 2 in: - state-0 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex ELSE(57360) -lex LCURLY(57399) -reduce 2 in: - state-49 -lex RCURLY(57400) reduce 19 in: state-131 -reduce 14 in: - state-128 +lex NL(57406) +reduce 15 in: + state-47 reduce 4 in: state-4 reduce 3 in: state-3 -lex NL(57406) reduce 17 in: state-16 reduce 5 in: @@ -9997,17 +9202,6 @@ state-2 reduce 2 in: state-0 -lex GAUGE(57348) -=== CONT TestParserRoundTrip/nested_match_conditions -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex $end(0) -reduce 1 in: - state-2 -reduce 2 in: - state-0 lex COUNTER(57347) reduce 88 in: state-2 @@ -10016,140 +9210,12 @@ lex ID(57367) reduce 92 in: state-107 -lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 -=== CONT TestParserRoundTrip/named_capture_group_reference -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) lex BY(57353) -reduce 92 in: - state-107 lex ID(57367) -lex NL(57406) reduce 99 in: state-154 reduce 2 in: state-0 -lex NL(57406) -lex DIV(57374) -reduce 17 in: - state-16 -reduce 98 in: - state-153 -reduce 5 in: - state-5 -reduce 90 in: - state-132 -lex AND(57392) -reduce 87 in: - state-106 -reduce 3 in: - state-3 -reduce 6 in: - state-6 -reduce 3 in: - state-3 -lex $end(0) -reduce 17 in: - state-16 -reduce 2 in: - state-0 -reduce 5 in: - state-5 -lex DEF(57356) -reduce 17 in: - state-16 -reduce 108 in: - state-2 -reduce 5 in: - state-5 -lex ID(57367) -reduce 3 in: - state-3 -lex LCURLY(57399) -reduce 2 in: - state-49 -lex DEL(57357) -lex NEXT(57358) -lex ID(57367) -reduce 2 in: - state-49 -reduce 83 in: - state-45 -lex RCURLY(57400) -reduce 81 in: - state-43 -reduce 19 in: - state-131 -lex ELSE(57360) -lex LCURLY(57399) -reduce 2 in: - state-49 -lex DIV(57374) -reduce 108 in: - state-105 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex ELSE(57360) -lex LCURLY(57399) -reduce 2 in: - state-49 -lex RCURLY(57400) -reduce 19 in: - state-131 -reduce 14 in: - state-128 -reduce 4 in: - state-4 -reduce 3 in: - state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -reduce 14 in: - state-128 -reduce 4 in: - state-4 -reduce 3 in: - state-3 -lex $end(0) -reduce 1 in: - state-2 -reduce 2 in: - state-0 lex DIV(57374) reduce 108 in: state-2 @@ -10177,33 +9243,6 @@ state-5 reduce 3 in: state-3 -lex DIV(57374) -reduce 108 in: - state-105 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 lex RCURLY(57400) reduce 19 in: state-131 @@ -10220,85 +9259,30 @@ state-5 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex ELSE(57360) -lex LCURLY(57399) -reduce 2 in: - state-49 -lex DIV(57374) -reduce 108 in: - state-105 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex ELSE(57360) -lex LCURLY(57399) -reduce 2 in: - state-49 -lex RCURLY(57400) -reduce 19 in: - state-131 -reduce 14 in: - state-128 -reduce 4 in: - state-4 -reduce 3 in: - state-3 +lex $end(0) +reduce 1 in: + state-2 +lex COMMA(57405) +lex ID(57367) +reduce 101 in: + state-160 lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -reduce 14 in: - state-128 -reduce 4 in: - state-4 +reduce 98 in: + state-153 +reduce 90 in: + state-132 +reduce 87 in: + state-106 +reduce 6 in: + state-6 reduce 3 in: state-3 -lex NL(57406) reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 -=== CONT TestParserRoundTrip/strptime_and_capref -reduce 2 in: - state-0 lex DIV(57374) reduce 108 in: state-2 @@ -10326,8 +9310,12 @@ state-5 reduce 3 in: state-3 -lex BUILTIN(57362) -lex LPAREN(57401) +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex LSQUARE(57403) lex CAPREF(57365) reduce 75 in: state-33 @@ -10348,12 +9336,12 @@ state-25 reduce 84 in: state-121 -lex STRING(57364) -reduce 77 in: - state-35 +lex CAPREF(57365) +reduce 75 in: + state-33 reduce 68 in: state-63 -lex RPAREN(57402) +lex RSQUARE(57404) reduce 66 in: state-39 reduce 60 in: @@ -10368,11 +9356,18 @@ state-25 reduce 85 in: state-158 -reduce 74 in: - state-150 -lex NL(57406) +reduce 82 in: + state-148 +lex INC(57372) +reduce 72 in: + state-31 reduce 68 in: state-27 +reduce 70 in: + state-90 +reduce 69 in: + state-89 +lex NL(57406) reduce 66 in: state-39 reduce 60 in: @@ -10401,99 +9396,17 @@ reduce 19 in: state-131 lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex $end(0) -reduce 1 in: - state-2 -reduce 2 in: - state-0 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex BUILTIN(57362) -lex LPAREN(57401) -lex CAPREF(57365) -reduce 75 in: - state-33 -reduce 68 in: - state-63 -lex COMMA(57405) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 84 in: - state-121 -lex STRING(57364) -reduce 77 in: - state-35 -reduce 68 in: - state-63 -lex RPAREN(57402) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 85 in: - state-158 -reduce 74 in: - state-150 -lex NL(57406) -reduce 68 in: - state-27 +reduce 92 in: + state-107 +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex ADD_ASSIGN(57394) reduce 66 in: state-39 +reduce 5 in: + state-5 reduce 60 in: state-28 reduce 47 in: @@ -10516,61 +9429,36 @@ state-5 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 -reduce 17 in: - state-16 +lex $end(0) +reduce 30 in: + state-25 reduce 5 in: state-5 -reduce 3 in: - state-3 +reduce 24 in: + state-21 +reduce 18 in: + state-53 lex $end(0) reduce 1 in: state-2 -=== CONT TestParserRoundTrip/numeric_capture_group_reference -reduce 2 in: - state-0 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 -lex NL(57406) -reduce 17 in: - state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex CAPREF(57365) -reduce 75 in: - state-33 +lex ID(57367) +reduce 83 in: + state-45 lex INC(57372) +lex INC(57372) +reduce 72 in: + state-31 +reduce 72 in: + state-31 +lex $end(0) reduce 68 in: state-27 +reduce 1 in: + state-2 reduce 70 in: state-90 reduce 69 in: @@ -10610,17 +9498,10 @@ state-4 reduce 3 in: state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex $end(0) -reduce 1 in: - state-2 reduce 2 in: state-0 +reduce 1 in: + state-2 lex DIV(57374) reduce 108 in: state-2 @@ -10637,82 +9518,36 @@ state-30 reduce 49 in: state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex CAPREF(57365) -reduce 75 in: - state-33 -lex INC(57372) -reduce 68 in: - state-27 -reduce 70 in: - state-90 -reduce 69 in: - state-89 lex NL(57406) -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 reduce 21 in: state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 -reduce 5 in: - state-5 +reduce 87 in: + state-106 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex NL(57406) +reduce 6 in: + state-6 reduce 15 in: state-47 -reduce 4 in: - state-4 reduce 3 in: state-3 +reduce 68 in: + state-27 reduce 17 in: state-16 +reduce 25 in: + state-22 reduce 5 in: state-5 reduce 3 in: state-3 +reduce 3 in: + state-3 lex $end(0) -reduce 1 in: - state-2 -=== CONT TestParserRoundTrip/declare_gauge -reduce 2 in: - state-0 -lex GAUGE(57348) -reduce 88 in: - state-2 -reduce 95 in: - state-56 -lex ID(57367) +lex DIV(57374) reduce 92 in: state-107 +=== CONT TestParserRoundTrip/mod_operator lex NL(57406) reduce 87 in: state-106 @@ -10726,38 +9561,103 @@ state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: +lex DIV(57374) +reduce 108 in: state-2 +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) reduce 2 in: state-0 -lex GAUGE(57348) -reduce 88 in: +reduce 20 in: + state-23 +lex DIV(57374) +reduce 4 in: + state-4 +reduce 108 in: state-2 -reduce 95 in: - state-56 +reduce 2 in: + state-49 +reduce 109 in: + state-59 +=== CONT TestParserRoundTrip/nested_else_clause +reduce 81 in: + state-43 +lex POW(57379) +reduce 72 in: + state-31 +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-28 +reduce 65 in: + state-100 +reduce 2 in: + state-0 lex ID(57367) -reduce 92 in: - state-107 +lex DIV(57374) +reduce 86 in: + state-157 +reduce 108 in: + state-2 +reduce 55 in: + state-42 +reduce 110 in: + state-96 +lex LCURLY(57399) lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 +reduce 54 in: + state-30 +lex $end(0) +=== CONT TestParserRoundTrip/simple_else_clause +reduce 1 in: + state-2 +=== CONT TestParserRoundTrip/pattern_action_then_otherwise_action +reduce 2 in: + state-0 +lex DIV(57374) +reduce 83 in: + state-45 reduce 3 in: state-3 +lex REGEX(57363) reduce 17 in: state-16 +lex DIV(57374) reduce 5 in: state-5 -reduce 3 in: - state-3 -lex $end(0) -reduce 1 in: +reduce 86 in: + state-157 +reduce 17 in: + state-16 +reduce 55 in: + state-42 +reduce 5 in: + state-5 +reduce 68 in: + state-27 +lex RCURLY(57400) +reduce 66 in: + state-39 +reduce 19 in: + state-131 +lex INTLITERAL(57369) +lex NL(57406) +reduce 49 in: + state-26 +reduce 15 in: + state-47 +reduce 108 in: state-2 -=== CONT TestParserRoundTrip/decrement_counter +lex LCURLY(57399) +reduce 109 in: + state-59 reduce 2 in: state-0 +lex REGEX(57363) lex COUNTER(57347) reduce 88 in: state-2 @@ -10766,65 +9666,106 @@ lex ID(57367) reduce 92 in: state-107 +lex BY(57353) +lex ID(57367) +reduce 99 in: + state-154 lex NL(57406) +reduce 98 in: + state-153 +reduce 90 in: + state-132 reduce 87 in: state-106 +lex DIV(57374) reduce 6 in: state-6 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) reduce 86 in: state-157 +reduce 18 in: + state-53 reduce 55 in: state-42 -lex LCURLY(57399) +reduce 3 in: + state-3 +reduce 72 in: + state-31 +reduce 70 in: + state-90 +reduce 3 in: + state-3 +reduce 69 in: + state-89 +lex $end(0) +lex NL(57406) reduce 54 in: state-30 +reduce 66 in: + state-39 reduce 49 in: state-26 +reduce 68 in: + state-63 +reduce 110 in: + state-79 +reduce 107 in: + state-62 +reduce 1 in: + state-2 +reduce 9 in: + state-9 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +lex LCURLY(57399) +reduce 5 in: + state-5 reduce 25 in: state-22 +reduce 3 in: + state-3 reduce 2 in: state-49 lex NL(57406) +reduce 5 in: + state-5 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex ID(57367) -reduce 83 in: - state-45 +lex RCURLY(57400) +reduce 19 in: + state-131 +lex NL(57406) +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex $end(0) +reduce 1 in: + state-2 reduce 81 in: state-43 -lex DEC(57373) +lex NL(57406) reduce 72 in: state-31 reduce 68 in: - state-27 -reduce 71 in: - state-91 -reduce 69 in: - state-89 -lex NL(57406) + state-63 reduce 66 in: state-39 -reduce 60 in: - state-28 +reduce 61 in: + state-152 reduce 47 in: state-44 reduce 43 in: @@ -10864,21 +9805,8 @@ lex $end(0) reduce 1 in: state-2 -reduce 2 in: - state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 -lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 +reduce 4 in: + state-4 reduce 3 in: state-3 reduce 17 in: @@ -10887,6 +9815,24 @@ state-5 reduce 3 in: state-3 +lex $end(0) +reduce 1 in: + state-2 +reduce 108 in: + state-2 +reduce 1 in: + state-2 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +reduce 109 in: + state-59 +=== CONT TestParserRoundTrip/len +reduce 2 in: + state-0 lex DIV(57374) reduce 108 in: state-2 @@ -10907,6 +9853,26 @@ state-22 reduce 2 in: state-49 +reduce 2 in: + state-0 +=== CONT TestParserRoundTrip/floats +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 +reduce 2 in: + state-0 +reduce 54 in: + state-30 +=== CONT TestParserRoundTrip/logical +reduce 49 in: + state-26 +reduce 25 in: + state-22 +=== CONT TestParserRoundTrip/bitwise +reduce 2 in: + state-49 lex NL(57406) reduce 17 in: state-16 @@ -10914,57 +9880,48 @@ state-5 reduce 3 in: state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex DEC(57373) -reduce 72 in: - state-31 -reduce 68 in: - state-27 -reduce 71 in: - state-91 -reduce 69 in: - state-89 -lex NL(57406) -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 -reduce 5 in: - state-5 +reduce 2 in: + state-0 reduce 3 in: state-3 +lex DIV(57374) lex RCURLY(57400) +lex ID(57367) reduce 19 in: state-131 +reduce 3 in: + state-3 lex NL(57406) reduce 15 in: state-47 +reduce 60 in: + state-28 +lex REGEX(57363) +reduce 47 in: + state-44 +reduce 43 in: + state-41 reduce 4 in: state-4 +reduce 25 in: + state-22 reduce 3 in: state-3 +lex ID(57367) +reduce 2 in: + state-49 +reduce 108 in: + state-2 +lex NL(57406) +lex NL(57406) +reduce 17 in: + state-16 +reduce 35 in: + state-29 reduce 17 in: state-16 +reduce 109 in: + state-59 reduce 5 in: state-5 reduce 3 in: @@ -10972,30 +9929,8 @@ lex $end(0) reduce 1 in: state-2 -=== CONT TestParserRoundTrip/more_complex_action,_increment_counter reduce 2 in: state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 -lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 lex DIV(57374) reduce 108 in: state-2 @@ -11023,14 +9958,10 @@ state-5 reduce 3 in: state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 +lex CAPREF(57365) +reduce 75 in: + state-33 lex INC(57372) -reduce 72 in: - state-31 reduce 68 in: state-27 reduce 70 in: @@ -11081,32 +10012,16 @@ lex $end(0) reduce 1 in: state-2 +=== CONT TestParserRoundTrip/const reduce 2 in: state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 +lex CONST(57354) lex ID(57367) -reduce 92 in: - state-107 -lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex DIV(57374) +reduce 83 in: + state-45 reduce 108 in: - state-2 + state-46 +lex DIV(57374) reduce 109 in: state-59 lex REGEX(57363) @@ -11115,37 +10030,25 @@ state-157 reduce 55 in: state-42 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 +lex $end(0) +reduce 11 in: + state-101 reduce 3 in: state-3 +reduce 1 in: + state-2 +reduce 2 in: + state-0 lex ID(57367) reduce 83 in: state-45 reduce 81 in: state-43 -lex INC(57372) +lex NL(57406) reduce 72 in: state-31 reduce 68 in: state-27 -reduce 70 in: - state-90 -reduce 69 in: - state-89 -lex NL(57406) reduce 66 in: state-39 reduce 60 in: @@ -11170,31 +10073,22 @@ state-5 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 lex $end(0) reduce 1 in: state-2 -=== CONT TestParserRoundTrip/simple_pattern_action +=== CONT TestParserRoundTrip/def_and_next reduce 2 in: state-0 -lex DIV(57374) +lex DEF(57356) reduce 108 in: state-2 +lex ID(57367) +lex LCURLY(57399) +reduce 2 in: + state-49 +lex DIV(57374) +reduce 108 in: + state-105 reduce 109 in: state-59 lex REGEX(57363) @@ -11212,20 +10106,27 @@ state-22 reduce 2 in: state-49 +lex NEXT(57358) +reduce 10 in: + state-10 +reduce 3 in: + state-3 lex RCURLY(57400) reduce 19 in: state-131 -lex NL(57406) +lex RCURLY(57400) reduce 15 in: state-47 reduce 4 in: state-4 reduce 3 in: state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 +reduce 19 in: + state-131 +reduce 104 in: + state-137 +reduce 7 in: + state-7 reduce 3 in: state-3 lex $end(0) @@ -11233,24 +10134,11 @@ state-2 reduce 2 in: state-0 -lex DIV(57374) +lex DEF(57356) reduce 108 in: state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 +lex ID(57367) lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 reduce 2 in: state-49 lex NL(57406) @@ -11260,31 +10148,9 @@ state-5 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex $end(0) -reduce 1 in: - state-2 -=== CONT TestParserRoundTrip/declare_text -reduce 3 in: - state-3 lex DIV(57374) reduce 108 in: - state-2 + state-105 reduce 109 in: state-59 lex REGEX(57363) @@ -11309,84 +10175,14 @@ state-5 reduce 3 in: state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex LSQUARE(57403) -lex CAPREF(57365) -reduce 75 in: - state-33 -reduce 68 in: - state-63 -lex COMMA(57405) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 84 in: - state-121 -lex CAPREF(57365) -reduce 75 in: - state-33 -reduce 68 in: - state-63 -lex RSQUARE(57404) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 85 in: - state-158 -reduce 82 in: - state-148 -lex INC(57372) -reduce 72 in: - state-31 -reduce 68 in: - state-27 -reduce 70 in: - state-90 -reduce 69 in: - state-89 +lex NEXT(57358) +reduce 10 in: + state-10 +reduce 3 in: + state-3 lex NL(57406) -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 +reduce 17 in: + state-16 reduce 5 in: state-5 reduce 3 in: @@ -11394,70 +10190,53 @@ lex RCURLY(57400) reduce 19 in: state-131 -lex $end(0) +lex NL(57406) reduce 15 in: state-47 reduce 4 in: state-4 reduce 3 in: state-3 -reduce 1 in: - state-2 -reduce 2 in: - state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 -lex BY(57353) -lex ID(57367) -reduce 99 in: - state-154 -lex COMMA(57405) -lex ID(57367) -reduce 101 in: - state-160 -lex NL(57406) -reduce 98 in: - state-153 -reduce 90 in: - state-132 -reduce 87 in: - state-106 -reduce 6 in: - state-6 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex RCURLY(57400) +reduce 19 in: + state-131 +reduce 104 in: + state-137 +reduce 7 in: + state-7 reduce 3 in: state-3 +lex NL(57406) reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex DIV(57374) +lex $end(0) +reduce 1 in: + state-2 +=== CONT TestParserRoundTrip/decorator_definition_and_invocation +reduce 2 in: + state-0 +lex DEF(57356) reduce 108 in: state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 +lex ID(57367) lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 reduce 2 in: state-49 +lex NEXT(57358) +reduce 10 in: + state-10 +reduce 3 in: + state-3 lex NL(57406) reduce 17 in: state-16 @@ -11465,98 +10244,38 @@ state-5 reduce 3 in: state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex LSQUARE(57403) -lex CAPREF(57365) -reduce 75 in: - state-33 -reduce 68 in: - state-63 -lex COMMA(57405) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 84 in: - state-121 -lex CAPREF(57365) -reduce 75 in: - state-33 -reduce 68 in: - state-63 -lex RSQUARE(57404) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 85 in: - state-158 -reduce 82 in: - state-148 -lex INC(57372) -reduce 72 in: - state-31 -reduce 68 in: - state-27 -reduce 70 in: - state-90 -reduce 69 in: - state-89 +lex RCURLY(57400) +reduce 19 in: + state-131 +reduce 104 in: + state-137 +reduce 7 in: + state-7 +reduce 3 in: + state-3 lex NL(57406) -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 +reduce 17 in: + state-16 reduce 5 in: state-5 reduce 3 in: state-3 +lex DECO(57368) +reduce 108 in: + state-2 +lex LCURLY(57399) +reduce 2 in: + state-49 lex RCURLY(57400) reduce 19 in: state-131 -lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 +reduce 105 in: + state-111 +reduce 8 in: + state-8 reduce 3 in: state-3 +lex NL(57406) reduce 17 in: state-16 reduce 5 in: @@ -11566,85 +10285,73 @@ lex $end(0) reduce 1 in: state-2 -=== CONT TestParserRoundTrip/declare_timer reduce 2 in: state-0 -lex TIMER(57349) -reduce 88 in: +lex DEF(57356) +reduce 108 in: state-2 -reduce 96 in: - state-57 lex ID(57367) -reduce 92 in: - state-107 +lex LCURLY(57399) +reduce 2 in: + state-49 lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex NEXT(57358) +reduce 10 in: + state-10 reduce 3 in: state-3 +lex NL(57406) reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 -reduce 2 in: - state-0 -lex TIMER(57349) -reduce 88 in: - state-2 -reduce 96 in: - state-57 -lex ID(57367) -reduce 92 in: - state-107 -lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 +lex RCURLY(57400) +reduce 19 in: + state-131 +reduce 104 in: + state-137 +reduce 7 in: + state-7 reduce 3 in: state-3 +lex NL(57406) reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: +lex DECO(57368) +reduce 108 in: state-2 -=== CONT TestParserRoundTrip/declare_dimensioned_counter +lex LCURLY(57399) reduce 2 in: - state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 -lex BY(57353) -lex ID(57367) -reduce 99 in: - state-154 + state-49 lex NL(57406) -reduce 98 in: - state-153 -reduce 90 in: - state-132 -reduce 87 in: - state-106 -reduce 6 in: - state-6 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex RCURLY(57400) +reduce 19 in: + state-131 +reduce 105 in: + state-111 +reduce 8 in: + state-8 reduce 3 in: state-3 +lex NL(57406) reduce 17 in: state-16 reduce 5 in: @@ -11654,57 +10361,59 @@ lex $end(0) reduce 1 in: state-2 +=== CONT TestParserRoundTrip/multiline_regex reduce 2 in: state-0 -lex COUNTER(57347) -reduce 88 in: +lex DIV(57374) +reduce 108 in: state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 -lex BY(57353) -lex ID(57367) -reduce 99 in: - state-154 +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 55 in: + state-42 +lex PLUS(57378) +lex NL(57406) +reduce 111 in: + state-104 +lex DIV(57374) +reduce 108 in: + state-119 +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 56 in: + state-146 +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +reduce 2 in: + state-49 lex NL(57406) -reduce 98 in: - state-153 -reduce 90 in: - state-132 -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 -=== CONT TestParserRoundTrip/declare_hidden_counter -reduce 2 in: - state-0 -lex HIDDEN(57355) -reduce 89 in: - state-24 -lex COUNTER(57347) -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 +lex RCURLY(57400) +reduce 19 in: + state-131 lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 +reduce 15 in: + state-47 +reduce 4 in: + state-4 reduce 3 in: state-3 reduce 17 in: @@ -11718,19 +10427,55 @@ state-2 reduce 2 in: state-0 -lex COUNTER(57347) -reduce 88 in: +lex DIV(57374) +reduce 108 in: state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 55 in: + state-42 +lex PLUS(57378) +lex DIV(57374) +reduce 110 in: + state-83 +reduce 108 in: + state-119 +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 56 in: + state-146 +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +reduce 2 in: + state-49 lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex RCURLY(57400) +reduce 19 in: + state-131 +lex NL(57406) +reduce 15 in: + state-47 +reduce 4 in: + state-4 reduce 3 in: state-3 reduce 17 in: @@ -11742,38 +10487,27 @@ lex $end(0) reduce 1 in: state-2 -=== CONT TestParserRoundTrip/declare_multi-dimensioned_counter +=== CONT TestParserRoundTrip/const_regex reduce 2 in: state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 -lex BY(57353) -lex ID(57367) -reduce 99 in: - state-154 -lex COMMA(57405) -lex ID(57367) -reduce 101 in: - state-160 -lex COMMA(57405) +lex CONST(57354) lex ID(57367) -reduce 101 in: - state-160 +reduce 83 in: + state-45 +reduce 108 in: + state-46 +lex DIV(57374) +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 55 in: + state-42 lex NL(57406) -reduce 98 in: - state-153 -reduce 90 in: - state-132 -reduce 87 in: - state-106 -reduce 6 in: - state-6 +reduce 11 in: + state-101 reduce 3 in: state-3 reduce 17 in: @@ -11782,40 +10516,63 @@ state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 -reduce 2 in: - state-0 -lex COUNTER(57347) -reduce 88 in: +lex DIV(57374) +reduce 108 in: state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 -lex BY(57353) -lex ID(57367) -reduce 99 in: - state-154 -lex COMMA(57405) -lex ID(57367) -reduce 101 in: - state-160 -lex COMMA(57405) +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 55 in: + state-42 +lex PLUS(57378) lex ID(57367) -reduce 101 in: - state-160 +reduce 110 in: + state-83 +reduce 83 in: + state-45 +reduce 57 in: + state-147 +lex PLUS(57378) +lex DIV(57374) +reduce 110 in: + state-83 +reduce 108 in: + state-119 +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 56 in: + state-146 +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +reduce 2 in: + state-49 lex NL(57406) -reduce 98 in: - state-153 -reduce 90 in: - state-132 -reduce 87 in: - state-106 -reduce 6 in: - state-6 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex RCURLY(57400) +reduce 19 in: + state-131 +lex NL(57406) +reduce 15 in: + state-47 +reduce 4 in: + state-4 reduce 3 in: state-3 reduce 17 in: @@ -11827,48 +10584,99 @@ lex $end(0) reduce 1 in: state-2 -=== CONT TestParserRoundTrip/declare_counter reduce 2 in: state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 lex ID(57367) -reduce 92 in: - state-107 +reduce 83 in: + state-45 +reduce 81 in: + state-43 lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 +reduce 72 in: + state-31 +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-28 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 +reduce 5 in: + state-5 reduce 3 in: state-3 +lex DIV(57374) +reduce 108 in: + state-2 +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 55 in: + state-42 +lex PLUS(57378) +lex ID(57367) +reduce 110 in: + state-83 +reduce 83 in: + state-45 +reduce 57 in: + state-147 +lex PLUS(57378) +lex DIV(57374) +reduce 110 in: + state-83 +reduce 108 in: + state-119 +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 56 in: + state-146 +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +reduce 2 in: + state-49 +lex NL(57406) reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 -reduce 2 in: - state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 +lex RCURLY(57400) +reduce 19 in: + state-131 lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 +reduce 15 in: + state-47 +reduce 4 in: + state-4 reduce 3 in: state-3 reduce 17 in: @@ -11880,7 +10688,7 @@ lex $end(0) reduce 1 in: state-2 -=== CONT TestParserRoundTrip/declare_counter_string_name +=== CONT TestParserRoundTrip/additive_and_mem_storage reduce 2 in: state-0 lex COUNTER(57347) @@ -11891,12 +10699,6 @@ lex ID(57367) reduce 92 in: state-107 -lex AS(57352) -lex STRING(57364) -reduce 103 in: - state-156 -reduce 91 in: - state-133 lex NL(57406) reduce 87 in: state-106 @@ -11910,11 +10712,6 @@ state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 -reduce 2 in: - state-0 lex COUNTER(57347) reduce 88 in: state-2 @@ -11923,7 +10720,15 @@ lex ID(57367) reduce 92 in: state-107 +lex BY(57353) +lex ID(57367) +reduce 99 in: + state-154 lex NL(57406) +reduce 98 in: + state-153 +reduce 90 in: + state-132 reduce 87 in: state-106 reduce 6 in: @@ -11936,49 +10741,24 @@ state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 -=== CONT TestParserRoundTrip/newline -reduce 2 in: - state-0 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex $end(0) -reduce 1 in: - state-2 -reduce 2 in: - state-0 -lex $end(0) -reduce 1 in: - state-2 -reduce 19 in: - state-131 -reduce 16 in: - state-52 -reduce 4 in: - state-4 -reduce 3 in: - state-3 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex $end(0) -reduce 1 in: +lex DIV(57374) +reduce 108 in: state-2 -reduce 2 in: - state-0 -lex OTHERWISE(57359) +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 55 in: + state-42 lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 25 in: + state-22 reduce 2 in: state-49 lex NL(57406) @@ -11988,53 +10768,54 @@ state-5 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -reduce 16 in: - state-52 -reduce 4 in: - state-4 -reduce 3 in: - state-3 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex $end(0) -reduce 1 in: - state-2 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex INTLITERAL(57369) -reduce 79 in: - state-37 -lex MOD(57375) +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex ADD_ASSIGN(57394) +reduce 72 in: + state-31 +reduce 68 in: + state-27 +reduce 66 in: + state-39 +lex BUILTIN(57362) +reduce 110 in: + state-79 +lex LPAREN(57401) +lex RPAREN(57402) +reduce 73 in: + state-123 +lex MINUS(57377) reduce 68 in: state-27 reduce 66 in: state-39 reduce 60 in: - state-28 -reduce 64 in: - state-99 -lex INTLITERAL(57369) + state-122 +reduce 47 in: + state-44 +reduce 59 in: + state-95 +lex ID(57367) reduce 110 in: - state-96 -reduce 79 in: - state-37 + state-93 +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex LSQUARE(57403) +lex CAPREF_NAMED(57366) +reduce 76 in: + state-34 reduce 68 in: state-63 -lex NL(57406) +lex RSQUARE(57404) reduce 66 in: state-39 -reduce 61 in: - state-152 +reduce 60 in: + state-122 reduce 47 in: state-44 reduce 43 in: @@ -12043,10 +10824,31 @@ state-29 reduce 30 in: state-25 +reduce 84 in: + state-121 +reduce 82 in: + state-148 +lex NL(57406) +reduce 72 in: + state-31 +reduce 68 in: + state-63 +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 48 in: + state-151 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 reduce 24 in: state-21 -reduce 21 in: - state-14 +reduce 23 in: + state-144 reduce 20 in: state-23 reduce 18 in: @@ -12058,23 +10860,30 @@ lex RCURLY(57400) reduce 19 in: state-131 -lex $end(0) +lex NL(57406) reduce 15 in: state-47 reduce 4 in: state-4 reduce 3 in: state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex $end(0) reduce 1 in: state-2 -reduce 2 in: - state-0 -lex DIV(57374) -reduce 108 in: +lex GAUGE(57348) +reduce 88 in: state-2 -reduce 109 in: - state-59 lex REGEX(57363) +reduce 83 in: + state-45 +reduce 81 in: + state-43 lex DIV(57374) reduce 86 in: state-157 @@ -12089,9 +10898,13 @@ state-22 reduce 2 in: state-49 -lex NL(57406) -reduce 17 in: - state-16 +lex DIV(57374) +reduce 108 in: + state-105 +reduce 109 in: + state-59 +reduce 109 in: + state-59 reduce 5 in: state-5 reduce 3 in: @@ -12111,8 +10924,11 @@ lex INTLITERAL(57369) reduce 110 in: state-96 +lex $end(0) reduce 79 in: state-37 +reduce 1 in: + state-2 reduce 68 in: state-63 lex NL(57406) @@ -12140,64 +10956,49 @@ state-5 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 +reduce 2 in: + state-0 +reduce 92 in: + state-107 +lex COUNTER(57347) +lex REGEX(57363) +reduce 88 in: + state-2 +lex DIV(57374) lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 +reduce 86 in: + state-157 reduce 17 in: state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex $end(0) -reduce 1 in: - state-2 -reduce 1 in: - state-2 +reduce 79 in: + state-37 reduce 2 in: state-0 -lex BUILTIN(57362) -lex LPAREN(57401) -lex RPAREN(57402) -reduce 73 in: - state-123 lex NL(57406) reduce 68 in: state-27 +lex REGEX(57363) reduce 66 in: state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 +lex DIV(57374) +reduce 95 in: + state-56 +lex BUILTIN(57362) +lex ID(57367) reduce 30 in: state-25 +reduce 94 in: + state-55 reduce 24 in: state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 +lex ID(57367) +reduce 17 in: + state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 +lex DIV(57374) reduce 108 in: state-2 reduce 109 in: @@ -12222,121 +11023,68 @@ state-16 reduce 5 in: state-5 -reduce 3 in: - state-3 -lex BUILTIN(57362) -lex LPAREN(57401) -lex CAPREF_NAMED(57366) -reduce 76 in: - state-34 -reduce 68 in: - state-63 -lex COMMA(57405) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 84 in: - state-121 -lex STRING(57364) -reduce 77 in: - state-35 -reduce 68 in: - state-63 -lex RPAREN(57402) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 85 in: - state-158 -reduce 74 in: - state-150 -lex NL(57406) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 reduce 21 in: state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 reduce 5 in: state-5 -reduce 3 in: - state-3 +reduce 55 in: + state-42 +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +reduce 2 in: + state-49 lex RCURLY(57400) reduce 19 in: state-131 -lex NL(57406) +lex RCURLY(57400) reduce 15 in: state-47 reduce 4 in: state-4 reduce 3 in: state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex $end(0) -reduce 1 in: - state-2 +reduce 19 in: + state-131 +lex ELSE(57360) +lex LCURLY(57399) reduce 2 in: - state-0 + state-49 lex DIV(57374) reduce 108 in: - state-2 + state-105 reduce 109 in: state-59 lex REGEX(57363) lex DIV(57374) reduce 86 in: state-157 +reduce 92 in: + state-107 reduce 55 in: state-42 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 reduce 2 in: - state-49 + state-0 +lex LCURLY(57399) +lex DIV(57374) +lex LPAREN(57401) lex NL(57406) +reduce 87 in: + state-106 +reduce 20 in: + state-23 +reduce 6 in: + state-6 +reduce 3 in: + state-3 +reduce 60 in: + state-122 +reduce 47 in: + state-44 reduce 17 in: state-16 reduce 5 in: @@ -12350,7 +11098,7 @@ state-34 reduce 68 in: state-63 -lex COMMA(57405) +lex RPAREN(57402) reduce 66 in: state-39 reduce 60 in: @@ -12365,51 +11113,66 @@ state-25 reduce 84 in: state-121 -lex STRING(57364) -reduce 77 in: - state-35 +reduce 74 in: + state-150 +lex GT(57383) reduce 68 in: - state-63 -lex RPAREN(57402) + state-27 reduce 66 in: state-39 reduce 60 in: - state-122 + state-28 reduce 47 in: state-44 reduce 43 in: state-41 reduce 35 in: state-29 -reduce 30 in: - state-25 -reduce 85 in: - state-158 -reduce 74 in: - state-150 -lex NL(57406) +reduce 38 in: + state-70 +lex INTLITERAL(57369) +reduce 110 in: + state-68 +reduce 79 in: + state-37 reduce 68 in: - state-27 + state-63 +lex LCURLY(57399) reduce 66 in: state-39 reduce 60 in: - state-28 + state-122 reduce 47 in: state-44 reduce 43 in: state-41 -reduce 35 in: - state-29 +reduce 36 in: + state-140 reduce 30 in: state-25 reduce 24 in: state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 +reduce 2 in: + state-49 +lex NL(57406) +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex RCURLY(57400) +reduce 19 in: + state-131 +lex NL(57406) +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +reduce 17 in: + state-16 reduce 5 in: state-5 reduce 3 in: @@ -12433,8 +11196,8 @@ lex $end(0) reduce 1 in: state-2 -reduce 3 in: - state-3 +reduce 2 in: + state-0 lex DIV(57374) reduce 108 in: state-2 @@ -12462,18 +11225,14 @@ state-5 reduce 3 in: state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex LSQUARE(57403) -lex STRING(57364) -reduce 77 in: - state-35 +lex BUILTIN(57362) +lex LPAREN(57401) +lex CAPREF_NAMED(57366) +reduce 76 in: + state-34 reduce 68 in: state-63 -lex RSQUARE(57404) +lex RPAREN(57402) reduce 66 in: state-39 reduce 60 in: @@ -12488,18 +11247,11 @@ state-25 reduce 84 in: state-121 -reduce 82 in: - state-148 -lex INC(57372) -reduce 72 in: - state-31 +reduce 74 in: + state-150 +lex GT(57383) reduce 68 in: state-27 -reduce 70 in: - state-90 -reduce 69 in: - state-89 -lex NL(57406) reduce 66 in: state-39 reduce 60 in: @@ -12510,100 +11262,16 @@ state-41 reduce 35 in: state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 -reduce 88 in: - state-2 -reduce 10 in: - state-10 -reduce 3 in: - state-3 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 95 in: - state-56 -reduce 9 in: - state-9 -reduce 3 in: - state-3 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -reduce 3 in: - state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -reduce 17 in: - state-16 -lex $end(0) -reduce 5 in: - state-5 -reduce 15 in: - state-47 -reduce 3 in: - state-3 -reduce 87 in: - state-106 -lex OTHERWISE(57359) -reduce 68 in: - state-27 -lex LCURLY(57399) -reduce 66 in: - state-39 -reduce 2 in: - state-49 -lex LSQUARE(57403) -lex NL(57406) -lex CAPREF(57365) -reduce 60 in: - state-28 -reduce 75 in: - state-33 -reduce 47 in: - state-44 +reduce 38 in: + state-70 +lex INTLITERAL(57369) +reduce 110 in: + state-68 +reduce 79 in: + state-37 reduce 68 in: state-63 -reduce 4 in: - state-4 -lex RSQUARE(57404) -reduce 6 in: - state-6 -reduce 3 in: - state-3 -reduce 3 in: - state-3 -reduce 1 in: - state-2 +lex LCURLY(57399) reduce 66 in: state-39 reduce 60 in: @@ -12612,25 +11280,15 @@ state-44 reduce 43 in: state-41 -reduce 35 in: - state-29 +reduce 36 in: + state-140 reduce 30 in: state-25 -reduce 84 in: - state-121 -reduce 82 in: - state-148 +reduce 24 in: + state-21 +reduce 2 in: + state-49 lex NL(57406) -reduce 72 in: - state-31 -reduce 68 in: - state-63 -reduce 107 in: - state-62 -reduce 9 in: - state-9 -reduce 3 in: - state-3 reduce 17 in: state-16 reduce 5 in: @@ -12640,93 +11298,27 @@ lex RCURLY(57400) reduce 19 in: state-131 -lex $end(0) +lex NL(57406) reduce 15 in: state-47 reduce 4 in: state-4 reduce 3 in: state-3 -reduce 1 in: - state-2 -reduce 2 in: - state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 -lex BY(57353) -lex ID(57367) -reduce 99 in: - state-154 -lex NL(57406) -reduce 98 in: - state-153 -reduce 90 in: - state-132 -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 -lex NL(57406) reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex DEL(57357) -lex REGEX(57363) -lex ID(57367) -reduce 83 in: - state-45 -reduce 2 in: - state-0 -lex TEXT(57350) -reduce 88 in: - state-2 -reduce 97 in: - state-58 -lex ID(57367) -reduce 92 in: - state-107 +lex RCURLY(57400) +reduce 19 in: + state-131 lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 +reduce 15 in: + state-47 +reduce 4 in: + state-4 reduce 3 in: state-3 reduce 17 in: @@ -12738,13 +11330,14 @@ lex $end(0) reduce 1 in: state-2 +=== CONT TestParserRoundTrip/conditional_expressions reduce 2 in: state-0 -lex TEXT(57350) +lex COUNTER(57347) reduce 88 in: state-2 -reduce 97 in: - state-58 +reduce 94 in: + state-55 lex ID(57367) reduce 92 in: state-107 @@ -12761,13 +11354,6 @@ state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 -reduce 5 in: - state-5 -reduce 3 in: - state-3 lex DIV(57374) reduce 108 in: state-2 @@ -13068,45 +11654,15 @@ reduce 81 in: state-43 lex ADD_ASSIGN(57394) -reduce 72 in: - state-31 -reduce 68 in: - state-27 -reduce 66 in: - state-39 -lex CAPREF_NAMED(57366) -reduce 110 in: - state-79 -reduce 76 in: - state-34 -lex NL(57406) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -lex RCURLY(57400) -reduce 19 in: - state-131 -reduce 104 in: - state-137 -reduce 7 in: - state-7 -reduce 3 in: - state-3 +reduce 92 in: + state-107 lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 +reduce 87 in: + state-106 +reduce 6 in: + state-6 reduce 3 in: state-3 -lex DECO(57368) -reduce 108 in: - state-2 -lex LCURLY(57399) -reduce 2 in: - state-49 -lex RCURLY(57400) reduce 17 in: state-16 reduce 5 in: @@ -13145,18 +11701,18 @@ state-45 reduce 81 in: state-43 -lex ADD_ASSIGN(57394) +lex ASSIGN(57395) reduce 72 in: state-31 reduce 68 in: state-27 reduce 66 in: state-39 -lex CAPREF(57365) +lex FLOATLITERAL(57370) reduce 110 in: - state-79 -reduce 75 in: - state-33 + state-78 +reduce 80 in: + state-38 lex NL(57406) reduce 68 in: state-27 @@ -13174,8 +11730,8 @@ state-25 reduce 24 in: state-21 -reduce 23 in: - state-144 +reduce 22 in: + state-143 reduce 20 in: state-23 reduce 18 in: @@ -13184,9 +11740,44 @@ state-5 reduce 3 in: state-3 +lex RCURLY(57400) +reduce 19 in: + state-131 +lex $end(0) +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +reduce 1 in: + state-2 +reduce 2 in: + state-0 +lex GAUGE(57348) +reduce 88 in: + state-2 +reduce 95 in: + state-56 +lex ID(57367) +reduce 92 in: + state-107 +lex NL(57406) +reduce 87 in: + state-106 +reduce 6 in: + state-6 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 lex DIV(57374) reduce 108 in: - state-105 + state-2 reduce 109 in: state-59 lex REGEX(57363) @@ -13216,16 +11807,85 @@ state-45 reduce 81 in: state-43 -lex INC(57372) +lex ASSIGN(57395) reduce 72 in: state-31 reduce 68 in: state-27 -reduce 70 in: - state-90 -reduce 69 in: - state-89 +reduce 66 in: + state-39 +lex FLOATLITERAL(57370) +reduce 110 in: + state-78 +reduce 80 in: + state-38 +lex NL(57406) +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 22 in: + state-143 +reduce 20 in: + state-23 +reduce 18 in: + state-53 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex RCURLY(57400) +reduce 19 in: + state-131 +lex NL(57406) +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex $end(0) +reduce 1 in: + state-2 +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +reduce 2 in: + state-49 lex NL(57406) +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex CAPREF(57365) +reduce 75 in: + state-33 +lex BITAND(57388) +reduce 68 in: + state-27 reduce 66 in: state-39 reduce 60 in: @@ -13238,6 +11898,28 @@ state-29 reduce 30 in: state-25 +reduce 32 in: + state-65 +lex INTLITERAL(57369) +reduce 110 in: + state-64 +reduce 79 in: + state-37 +reduce 68 in: + state-63 +lex NL(57406) +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 31 in: + state-139 reduce 24 in: state-21 reduce 21 in: @@ -13253,22 +11935,87 @@ lex CAPREF(57365) reduce 75 in: state-33 -lex INC(57372) +lex BITOR(57390) reduce 68 in: state-27 -reduce 70 in: - state-90 -reduce 69 in: - state-89 +reduce 66 in: + state-39 +reduce 60 in: + state-28 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 33 in: + state-66 +lex INTLITERAL(57369) +reduce 110 in: + state-64 +reduce 79 in: + state-37 +reduce 68 in: + state-63 lex NL(57406) reduce 66 in: state-39 reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 31 in: + state-139 +reduce 24 in: + state-21 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex CAPREF(57365) +reduce 75 in: + state-33 +lex SHL(57380) +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: state-28 reduce 47 in: state-44 reduce 43 in: state-41 +reduce 45 in: + state-81 +lex INTLITERAL(57369) +reduce 110 in: + state-80 +reduce 79 in: + state-37 +reduce 68 in: + state-63 +lex NL(57406) +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 44 in: + state-145 reduce 35 in: state-29 reduce 30 in: @@ -13285,18 +12032,135 @@ state-5 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 +lex CAPREF(57365) +reduce 75 in: + state-33 +lex SHR(57381) +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-28 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 46 in: + state-82 +lex INTLITERAL(57369) +reduce 110 in: + state-80 +reduce 79 in: + state-37 +reduce 68 in: + state-63 lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 44 in: + state-145 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 +reduce 5 in: + state-5 reduce 3 in: state-3 -reduce 17 in: - state-16 +lex CAPREF(57365) +reduce 75 in: + state-33 +lex XOR(57389) +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-28 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 34 in: + state-67 +lex INTLITERAL(57369) +reduce 110 in: + state-64 +reduce 79 in: + state-37 +reduce 68 in: + state-63 +lex NL(57406) +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 31 in: + state-139 +reduce 24 in: + state-21 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex NOT(57391) +lex INTLITERAL(57369) +reduce 79 in: + state-37 +reduce 68 in: + state-63 +lex NL(57406) +reduce 66 in: + state-39 +reduce 67 in: + state-92 +reduce 60 in: + state-28 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 reduce 5 in: state-5 reduce 3 in: @@ -13304,66 +12168,17 @@ lex RCURLY(57400) reduce 19 in: state-131 -lex NL(57406) +lex $end(0) reduce 15 in: state-47 reduce 4 in: state-4 reduce 3 in: state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex $end(0) reduce 1 in: state-2 reduce 2 in: state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 -lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 -lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 lex DIV(57374) reduce 108 in: state-2 @@ -13391,30 +12206,68 @@ state-5 reduce 3 in: state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex ADD_ASSIGN(57394) -reduce 72 in: - state-31 +lex CAPREF(57365) +reduce 75 in: + state-33 +lex BITAND(57388) reduce 68 in: state-27 reduce 66 in: state-39 -lex CAPREF(57365) +reduce 60 in: + state-28 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 32 in: + state-65 +lex INTLITERAL(57369) reduce 110 in: - state-79 + state-64 +reduce 79 in: + state-37 +reduce 68 in: + state-63 +lex NL(57406) +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 31 in: + state-139 +reduce 24 in: + state-21 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex CAPREF(57365) reduce 75 in: state-33 -lex NL(57406) +lex BITOR(57390) reduce 68 in: state-27 reduce 66 in: state-39 reduce 60 in: - state-122 + state-28 reduce 47 in: state-44 reduce 43 in: @@ -13423,10 +12276,32 @@ state-29 reduce 30 in: state-25 +reduce 33 in: + state-66 +lex INTLITERAL(57369) +reduce 110 in: + state-64 +reduce 79 in: + state-37 +reduce 68 in: + state-63 +lex NL(57406) +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 31 in: + state-139 reduce 24 in: state-21 -reduce 23 in: - state-144 +reduce 21 in: + state-14 reduce 20 in: state-23 reduce 18 in: @@ -13435,48 +12310,103 @@ state-5 reduce 3 in: state-3 +lex CAPREF(57365) +reduce 75 in: + state-33 +lex SHL(57380) +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-28 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 45 in: + state-81 +lex INTLITERAL(57369) +reduce 110 in: + state-80 +reduce 79 in: + state-37 +reduce 68 in: + state-63 +lex NL(57406) +reduce 66 in: + state-39 +reduce 60 in: + state-122 +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 +lex ID(57367) +reduce 92 in: + state-107 +lex NL(57406) +reduce 87 in: + state-106 +reduce 6 in: + state-6 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 lex DIV(57374) reduce 108 in: - state-105 + state-2 reduce 109 in: state-59 lex REGEX(57363) +reduce 3 in: + state-3 lex DIV(57374) reduce 86 in: state-157 -reduce 55 in: - state-42 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 -lex NL(57406) reduce 17 in: state-16 -reduce 5 in: - state-5 reduce 3 in: state-3 +reduce 86 in: + state-157 +lex NL(57406) +reduce 43 in: + state-41 lex ID(57367) +reduce 35 in: + state-29 +reduce 87 in: + state-106 reduce 83 in: state-45 +reduce 6 in: + state-6 reduce 81 in: state-43 -lex INC(57372) -reduce 72 in: - state-31 +lex ID(57367) +lex INTLITERAL(57369) +reduce 83 in: + state-45 +reduce 79 in: + state-37 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 23 in: + state-144 +reduce 20 in: + state-23 +lex OR(57393) reduce 68 in: state-27 -reduce 70 in: - state-90 -reduce 69 in: - state-89 -lex NL(57406) reduce 66 in: state-39 reduce 60 in: @@ -13491,111 +12421,208 @@ state-25 reduce 24 in: state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 +reduce 29 in: + state-51 +lex INTLITERAL(57369) +reduce 110 in: + state-48 +reduce 79 in: + state-37 +lex DEC(57373) +reduce 55 in: + state-42 reduce 5 in: state-5 +lex LCURLY(57399) +reduce 18 in: + state-53 reduce 3 in: state-3 -lex CAPREF(57365) -reduce 75 in: - state-33 lex INC(57372) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 72 in: + state-31 reduce 68 in: state-27 -reduce 70 in: - state-90 +reduce 55 in: + state-42 +reduce 72 in: + state-31 +reduce 68 in: + state-27 +reduce 71 in: + state-91 +lex LCURLY(57399) +reduce 18 in: + state-53 +reduce 54 in: + state-30 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex RCURLY(57400) +reduce 55 in: + state-42 +lex RCURLY(57400) +lex LCURLY(57399) +reduce 108 in: + state-2 +reduce 54 in: + state-30 +reduce 109 in: + state-59 +reduce 54 in: + state-30 +lex REGEX(57363) +reduce 49 in: + state-26 +lex DIV(57374) reduce 69 in: state-89 -lex NL(57406) -reduce 66 in: - state-39 -reduce 60 in: - state-28 +reduce 86 in: + state-157 reduce 47 in: state-44 -reduce 43 in: - state-41 +lex NL(57406) +lex AND(57392) +reduce 19 in: + state-131 +reduce 68 in: + state-27 +reduce 72 in: + state-31 +lex CAPREF(57365) +reduce 49 in: + state-26 +reduce 75 in: + state-33 +reduce 19 in: + state-131 +reduce 68 in: + state-63 +lex COMMA(57405) +reduce 44 in: + state-145 +reduce 25 in: + state-22 reduce 35 in: state-29 +reduce 2 in: + state-49 reduce 30 in: state-25 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 +lex RCURLY(57400) reduce 5 in: state-5 +reduce 19 in: + state-131 reduce 3 in: state-3 +lex ELSE(57360) lex RCURLY(57400) +reduce 49 in: + state-26 reduce 19 in: state-131 +reduce 25 in: + state-22 lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 reduce 3 in: state-3 +reduce 55 in: + state-42 reduce 17 in: state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 +reduce 66 in: + state-39 +reduce 81 in: + state-43 +reduce 66 in: + state-39 +lex LSQUARE(57403) +reduce 66 in: + state-39 lex NL(57406) +reduce 60 in: + state-122 reduce 15 in: state-47 +reduce 66 in: + state-39 +reduce 47 in: + state-44 reduce 4 in: state-4 +lex LCURLY(57399) +reduce 43 in: + state-41 reduce 3 in: state-3 +reduce 24 in: + state-21 +lex $end(0) reduce 17 in: state-16 +reduce 15 in: + state-47 reduce 5 in: state-5 +reduce 60 in: + state-122 reduce 3 in: state-3 +reduce 47 in: + state-44 +reduce 43 in: + state-41 lex $end(0) +reduce 35 in: + state-29 reduce 1 in: state-2 -reduce 19 in: - state-131 -reduce 105 in: - state-111 -reduce 8 in: - state-8 -reduce 3 in: - state-3 -lex NL(57406) -reduce 17 in: - state-16 +reduce 30 in: + state-25 +reduce 84 in: + state-121 +lex STRING(57364) +reduce 77 in: + state-35 +reduce 68 in: + state-63 +lex RPAREN(57402) +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 15 in: + state-47 +lex LCURLY(57399) reduce 5 in: state-5 +reduce 35 in: + state-29 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 +reduce 30 in: + state-25 +reduce 54 in: + state-30 +reduce 26 in: + state-129 +reduce 21 in: + state-14 +reduce 49 in: + state-26 reduce 2 in: - state-0 -lex DEF(57356) -reduce 108 in: - state-2 -lex ID(57367) -lex LCURLY(57399) + state-49 +reduce 25 in: + state-22 +lex RCURLY(57400) reduce 2 in: state-49 lex NL(57406) @@ -13605,93 +12632,174 @@ state-5 reduce 3 in: state-3 -lex NEXT(57358) -reduce 10 in: - state-10 -reduce 3 in: - state-3 -lex NL(57406) -reduce 17 in: - state-16 +lex CAPREF(57365) +reduce 75 in: + state-33 +lex INC(57372) +reduce 68 in: + state-27 +reduce 20 in: + state-23 +reduce 70 in: + state-90 +reduce 43 in: + state-41 +reduce 18 in: + state-53 +reduce 35 in: + state-29 reduce 5 in: state-5 +reduce 30 in: + state-25 +reduce 4 in: + state-4 +reduce 4 in: + state-4 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -reduce 104 in: - state-137 -reduce 7 in: - state-7 +reduce 1 in: + state-2 +reduce 68 in: + state-27 +reduce 70 in: + state-90 +reduce 69 in: + state-89 +lex NL(57406) +reduce 66 in: + state-39 reduce 3 in: state-3 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 reduce 3 in: state-3 -lex DECO(57368) -reduce 108 in: - state-2 -lex LCURLY(57399) -reduce 2 in: - state-49 +lex CAPREF(57365) +reduce 75 in: + state-33 +lex SHR(57381) +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-28 +lex CAPREF_NAMED(57366) +reduce 60 in: + state-28 +reduce 110 in: + state-79 +reduce 69 in: + state-89 +reduce 76 in: + state-34 lex NL(57406) +reduce 66 in: + state-39 reduce 17 in: state-16 +reduce 19 in: + state-131 reduce 5 in: state-5 +reduce 14 in: + state-128 reduce 3 in: state-3 +lex NL(57406) lex RCURLY(57400) +reduce 60 in: + state-28 reduce 19 in: state-131 -reduce 105 in: - state-111 -reduce 8 in: - state-8 +reduce 85 in: + state-158 +lex NL(57406) +reduce 60 in: + state-28 +reduce 15 in: + state-47 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 4 in: + state-4 +reduce 68 in: + state-27 reduce 3 in: state-3 -lex NL(57406) +reduce 66 in: + state-39 reduce 17 in: state-16 +reduce 4 in: + state-4 reduce 5 in: state-5 +reduce 25 in: + state-22 reduce 3 in: state-3 +reduce 47 in: + state-44 +reduce 43 in: + state-41 lex $end(0) +reduce 47 in: + state-44 reduce 1 in: state-2 -lex ID(57367) -reduce 92 in: - state-107 +reduce 2 in: + state-49 lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex INC(57372) +reduce 72 in: + state-31 +reduce 68 in: + state-27 +reduce 70 in: + state-90 +reduce 69 in: + state-89 +lex NL(57406) +reduce 66 in: + state-39 +reduce 60 in: + state-28 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 2 in: + state-0 lex DIV(57374) reduce 108 in: state-2 reduce 109 in: state-59 +reduce 30 in: + state-25 lex REGEX(57363) lex DIV(57374) reduce 86 in: state-157 reduce 55 in: state-42 +reduce 28 in: + state-50 lex LCURLY(57399) reduce 54 in: state-30 @@ -13704,34 +12812,58 @@ lex NL(57406) reduce 17 in: state-16 +reduce 2 in: + state-0 reduce 5 in: state-5 +lex COUNTER(57347) reduce 3 in: state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex ASSIGN(57395) -reduce 72 in: - state-31 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +lex INTLITERAL(57369) +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 79 in: + state-37 +lex INTLITERAL(57369) +lex MOD(57375) +reduce 35 in: + state-29 reduce 68 in: state-27 reduce 66 in: state-39 -lex FLOATLITERAL(57370) +reduce 60 in: + state-28 +reduce 64 in: + state-99 +lex INTLITERAL(57369) reduce 110 in: - state-78 -reduce 80 in: - state-38 -lex NL(57406) + state-96 +reduce 79 in: + state-37 reduce 68 in: - state-27 + state-63 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +lex NL(57406) reduce 66 in: state-39 -reduce 60 in: - state-122 +reduce 61 in: + state-152 reduce 47 in: state-44 reduce 43 in: @@ -13742,8 +12874,8 @@ state-25 reduce 24 in: state-21 -reduce 22 in: - state-143 +reduce 21 in: + state-14 reduce 20 in: state-23 reduce 18 in: @@ -13771,9 +12903,6 @@ lex $end(0) reduce 1 in: state-2 -reduce 2 in: - state-0 -lex COUNTER(57347) reduce 88 in: state-2 reduce 94 in: @@ -13781,15 +12910,28 @@ lex ID(57367) reduce 92 in: state-107 -lex BY(57353) +lex NL(57406) +reduce 87 in: + state-106 +reduce 6 in: + state-6 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 lex ID(57367) -reduce 99 in: - state-154 +reduce 92 in: + state-107 lex NL(57406) -reduce 98 in: - state-153 -reduce 90 in: - state-132 reduce 87 in: state-106 reduce 6 in: @@ -13829,19 +12971,26 @@ state-5 reduce 3 in: state-3 -lex DEL(57357) lex ID(57367) reduce 83 in: state-45 reduce 81 in: state-43 -lex LSQUARE(57403) +lex ADD_ASSIGN(57394) +reduce 72 in: + state-31 +reduce 68 in: + state-27 +reduce 66 in: + state-39 lex CAPREF(57365) +reduce 110 in: + state-79 reduce 75 in: state-33 +lex NL(57406) reduce 68 in: - state-63 -lex RSQUARE(57404) + state-27 reduce 66 in: state-39 reduce 60 in: @@ -13854,75 +13003,64 @@ state-29 reduce 30 in: state-25 -reduce 84 in: - state-121 -reduce 82 in: - state-148 -lex NL(57406) -reduce 72 in: - state-31 -reduce 68 in: - state-63 -reduce 107 in: - state-62 -reduce 9 in: - state-9 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex NL(57406) -reduce 17 in: - state-16 +reduce 24 in: + state-21 +reduce 23 in: + state-144 +reduce 20 in: + state-23 +reduce 18 in: + state-53 reduce 5 in: state-5 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 +lex DIV(57374) +reduce 108 in: + state-105 +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 55 in: + state-42 +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +reduce 2 in: + state-49 lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 28 in: - state-50 -lex INTLITERAL(57369) -reduce 110 in: - state-48 -reduce 79 in: - state-37 -lex RPAREN(57402) +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex INC(57372) +reduce 72 in: + state-31 reduce 68 in: state-27 +reduce 70 in: + state-90 +reduce 69 in: + state-89 +lex NL(57406) reduce 66 in: state-39 reduce 60 in: - state-122 + state-28 reduce 47 in: state-44 reduce 43 in: @@ -13931,21 +13069,33 @@ state-29 reduce 30 in: state-25 -reduce 26 in: - state-129 +reduce 24 in: + state-21 reduce 21 in: - state-87 + state-14 reduce 20 in: state-23 -reduce 78 in: - state-125 -lex LCURLY(57399) +reduce 18 in: + state-53 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex CAPREF(57365) +reduce 75 in: + state-33 +lex INC(57372) reduce 68 in: state-27 +reduce 70 in: + state-90 +reduce 69 in: + state-89 +lex NL(57406) reduce 66 in: state-39 reduce 60 in: - state-122 + state-28 reduce 47 in: state-44 reduce 43 in: @@ -13954,13 +13104,14 @@ state-29 reduce 30 in: state-25 -reduce 26 in: - state-129 -reduce 2 in: - state-49 -lex NL(57406) -reduce 17 in: - state-16 +reduce 24 in: + state-21 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 reduce 5 in: state-5 reduce 3 in: @@ -13968,88 +13119,13 @@ lex RCURLY(57400) reduce 19 in: state-131 -lex $end(0) +lex NL(57406) reduce 15 in: state-47 reduce 4 in: state-4 reduce 3 in: state-3 -reduce 1 in: - state-2 -reduce 2 in: - state-0 -lex INTLITERAL(57369) -reduce 79 in: - state-37 -lex OR(57393) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 29 in: - state-51 -lex INTLITERAL(57369) -reduce 110 in: - state-48 -reduce 79 in: - state-37 -lex AND(57392) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 26 in: - state-129 -reduce 28 in: - state-50 -lex INTLITERAL(57369) -reduce 110 in: - state-48 -reduce 79 in: - state-37 -lex LCURLY(57399) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 26 in: - state-129 -reduce 2 in: - state-49 -lex NL(57406) reduce 17 in: state-16 reduce 5 in: @@ -14075,71 +13151,10 @@ lex $end(0) reduce 1 in: state-2 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex LSQUARE(57403) -lex STRING(57364) -reduce 77 in: - state-35 -reduce 68 in: - state-63 -lex RSQUARE(57404) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 84 in: - state-121 -reduce 82 in: - state-148 -lex ADD_ASSIGN(57394) -reduce 72 in: - state-31 -reduce 68 in: - state-27 -reduce 66 in: - state-39 -lex INTLITERAL(57369) -reduce 110 in: - state-79 -reduce 79 in: - state-37 -lex NL(57406) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 reduce 24 in: state-21 -reduce 23 in: - state-144 +reduce 21 in: + state-14 reduce 20 in: state-23 reduce 18 in: @@ -14151,17 +13166,22 @@ lex RCURLY(57400) reduce 19 in: state-131 -reduce 16 in: - state-52 +lex NL(57406) +reduce 15 in: + state-47 reduce 4 in: state-4 reduce 3 in: state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 lex $end(0) reduce 1 in: state-2 -reduce 2 in: - state-0 lex COUNTER(57347) reduce 88 in: state-2 @@ -14223,10 +13243,42 @@ state-45 reduce 81 in: state-43 +lex ADD_ASSIGN(57394) +reduce 72 in: + state-31 +reduce 68 in: + state-27 +reduce 66 in: + state-39 +lex BUILTIN(57362) +reduce 110 in: + state-79 +lex LPAREN(57401) +lex RPAREN(57402) +reduce 73 in: + state-123 +lex MINUS(57377) +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 59 in: + state-95 +lex ID(57367) +reduce 110 in: + state-93 +reduce 83 in: + state-45 +reduce 81 in: + state-43 lex LSQUARE(57403) -lex STRING(57364) -reduce 77 in: - state-35 +lex CAPREF_NAMED(57366) +reduce 76 in: + state-34 reduce 68 in: state-63 lex RSQUARE(57404) @@ -14246,22 +13298,17 @@ state-121 reduce 82 in: state-148 -lex INC(57372) +lex NL(57406) reduce 72 in: state-31 reduce 68 in: - state-27 -reduce 70 in: - state-90 -reduce 69 in: - state-89 -lex NL(57406) + state-63 reduce 66 in: state-39 reduce 60 in: - state-28 -reduce 47 in: - state-44 + state-122 +reduce 48 in: + state-151 reduce 43 in: state-41 reduce 35 in: @@ -14270,8 +13317,8 @@ state-25 reduce 24 in: state-21 -reduce 21 in: - state-14 +reduce 23 in: + state-144 reduce 20 in: state-23 reduce 18 in: @@ -14296,64 +13343,18 @@ state-5 reduce 3 in: state-3 -lex OTHERWISE(57359) -lex LCURLY(57399) -reduce 2 in: - state-49 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex LSQUARE(57403) -lex STRING(57364) -reduce 77 in: - state-35 -reduce 68 in: - state-63 -lex RSQUARE(57404) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 84 in: - state-121 -reduce 82 in: - state-148 -lex ADD_ASSIGN(57394) -reduce 72 in: - state-31 -reduce 68 in: - state-27 -reduce 66 in: - state-39 -lex INTLITERAL(57369) -reduce 110 in: - state-79 -reduce 79 in: - state-37 +lex $end(0) +reduce 1 in: + state-2 +reduce 74 in: + state-150 lex NL(57406) reduce 68 in: state-27 reduce 66 in: state-39 reduce 60 in: - state-122 + state-28 reduce 47 in: state-44 reduce 43 in: @@ -14364,10 +13365,8 @@ state-25 reduce 24 in: state-21 -reduce 23 in: - state-144 -reduce 60 in: - state-122 +reduce 21 in: + state-14 reduce 20 in: state-23 reduce 18 in: @@ -14376,25 +13375,29 @@ state-5 reduce 3 in: state-3 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 81 in: - state-43 +lex RCURLY(57400) +reduce 19 in: + state-131 +lex NL(57406) +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex $end(0) +reduce 1 in: + state-2 reduce 35 in: state-29 -lex LSQUARE(57403) -lex DIV(57374) -lex CAPREF(57365) -reduce 75 in: - state-33 -lex RCURLY(57400) -reduce 68 in: - state-63 reduce 30 in: state-25 -lex RSQUARE(57404) reduce 24 in: state-21 reduce 23 in: @@ -14751,6 +13754,57 @@ reduce 3 in: state-3 lex RCURLY(57400) +reduce 19 in: + state-131 +lex NL(57406) +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex $end(0) +reduce 1 in: + state-2 +reduce 46 in: + state-82 +lex INTLITERAL(57369) +reduce 110 in: + state-80 +reduce 79 in: + state-37 +reduce 68 in: + state-63 +lex NL(57406) +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 44 in: + state-145 +reduce 3 in: + state-3 +reduce 2 in: + state-49 +lex RCURLY(57400) +reduce 19 in: + state-131 +lex ELSE(57360) +reduce 110 in: + state-48 +reduce 79 in: + state-37 +lex LCURLY(57399) +reduce 68 in: + state-27 reduce 66 in: state-39 reduce 60 in: @@ -14763,29 +13817,10 @@ state-29 reduce 30 in: state-25 -reduce 84 in: - state-121 -reduce 82 in: - state-148 -lex AFTER(57351) -reduce 72 in: - state-31 -reduce 68 in: - state-63 -lex DURATIONLITERAL(57371) -reduce 106 in: - state-138 -reduce 9 in: - state-9 -reduce 3 in: - state-3 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 +reduce 26 in: + state-129 +reduce 2 in: + state-49 lex NL(57406) reduce 17 in: state-16 @@ -14812,15 +13847,26 @@ lex $end(0) reduce 1 in: state-2 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex RCURLY(57400) reduce 19 in: state-131 -reduce 16 in: - state-52 +lex NL(57406) +reduce 15 in: + state-47 reduce 4 in: state-4 reduce 3 in: state-3 -lex NL(57406) reduce 17 in: state-16 reduce 5 in: @@ -14830,24 +13876,41 @@ lex $end(0) reduce 1 in: state-2 +lex RCURLY(57400) reduce 19 in: state-131 -lex NL(57406) -reduce 15 in: - state-47 +reduce 14 in: + state-128 reduce 4 in: state-4 reduce 3 in: state-3 -reduce 17 in: - state-16 +lex $end(0) +reduce 1 in: + state-2 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 reduce 5 in: state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 +lex DIV(57374) +reduce 108 in: + state-105 +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) reduce 86 in: state-157 reduce 55 in: @@ -14877,13 +13940,127 @@ reduce 66 in: state-39 lex CAPREF(57365) +lex STRING(57364) +reduce 30 in: + state-25 +reduce 77 in: + state-35 +reduce 24 in: + state-21 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex RCURLY(57400) +reduce 19 in: + state-131 +lex NL(57406) +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex $end(0) +reduce 1 in: + state-2 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex LCURLY(57399) +lex CAPREF(57365) +reduce 2 in: + state-49 reduce 110 in: state-79 +lex RCURLY(57400) +reduce 19 in: + state-131 +reduce 14 in: + state-128 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +lex $end(0) +reduce 1 in: + state-2 reduce 75 in: state-33 -lex NL(57406) +reduce 68 in: + state-63 +lex RSQUARE(57404) +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 84 in: + state-121 +reduce 82 in: + state-148 +lex INC(57372) +reduce 72 in: + state-31 reduce 68 in: state-27 +lex XOR(57389) +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-28 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 34 in: + state-67 +lex INTLITERAL(57369) +reduce 110 in: + state-64 +reduce 79 in: + state-37 +reduce 68 in: + state-63 +lex NL(57406) reduce 66 in: state-39 reduce 60 in: @@ -14894,12 +14071,45 @@ state-41 reduce 35 in: state-29 +reduce 31 in: + state-139 +reduce 24 in: + state-21 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex NOT(57391) +lex INTLITERAL(57369) +reduce 79 in: + state-37 +reduce 68 in: + state-63 +lex NL(57406) +reduce 66 in: + state-39 +reduce 67 in: + state-92 +reduce 60 in: + state-28 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 reduce 30 in: state-25 reduce 24 in: state-21 -reduce 23 in: - state-144 +reduce 21 in: + state-14 reduce 20 in: state-23 reduce 18 in: @@ -14908,65 +14118,367 @@ state-5 reduce 3 in: state-3 +lex RCURLY(57400) +reduce 19 in: + state-131 +lex NL(57406) +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex $end(0) +reduce 1 in: + state-2 +reduce 70 in: + state-90 +reduce 75 in: + state-33 +lex NL(57406) +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 2 in: + state-0 +lex INTLITERAL(57369) +reduce 79 in: + state-37 +reduce 2 in: + state-0 +lex COUNTER(57347) +lex OR(57393) +reduce 88 in: + state-2 +reduce 94 in: + state-55 lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex ASSIGN(57395) -reduce 72 in: - state-31 +reduce 92 in: + state-107 +lex NL(57406) +reduce 87 in: + state-106 +reduce 6 in: + state-6 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex DIV(57374) +reduce 108 in: + state-2 +reduce 2 in: + state-0 +reduce 69 in: + state-89 +lex NL(57406) reduce 68 in: state-27 reduce 66 in: state-39 -lex CAPREF(57365) +reduce 60 in: + state-28 +reduce 47 in: + state-44 +reduce 66 in: + state-39 +reduce 43 in: + state-41 +reduce 60 in: + state-28 +reduce 35 in: + state-29 +reduce 47 in: + state-44 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 43 in: + state-41 +reduce 29 in: + state-51 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +lex INTLITERAL(57369) +lex DIV(57374) reduce 110 in: - state-78 -reduce 75 in: - state-33 -lex NL(57406) + state-48 +reduce 108 in: + state-2 +reduce 79 in: + state-37 +reduce 109 in: + state-59 reduce 2 in: state-0 +reduce 24 in: + state-21 +lex REGEX(57363) +reduce 21 in: + state-14 +lex DIV(57374) +reduce 109 in: + state-59 lex COUNTER(57347) +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 55 in: + state-42 +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +reduce 86 in: + state-157 +reduce 2 in: + state-49 reduce 88 in: state-2 +lex NL(57406) +reduce 55 in: + state-42 +reduce 17 in: + state-16 +reduce 5 in: + state-5 reduce 94 in: state-55 +reduce 3 in: + state-3 +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +reduce 2 in: + state-49 +lex ID(57367) +lex NL(57406) +reduce 83 in: + state-45 lex ID(57367) +reduce 81 in: + state-43 reduce 92 in: state-107 +lex DEC(57373) lex NL(57406) +reduce 72 in: + state-31 reduce 87 in: state-106 +reduce 68 in: + state-27 reduce 6 in: state-6 +reduce 71 in: + state-91 reduce 3 in: state-3 +reduce 20 in: + state-23 reduce 17 in: state-16 reduce 5 in: state-5 +reduce 69 in: + state-89 reduce 3 in: state-3 +lex NL(57406) lex DIV(57374) +reduce 66 in: + state-39 reduce 108 in: state-2 +reduce 60 in: + state-28 reduce 109 in: state-59 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 17 in: + state-16 +lex AND(57392) +reduce 5 in: + state-5 +reduce 68 in: + state-27 +reduce 35 in: + state-29 +reduce 66 in: + state-39 +reduce 30 in: + state-25 +reduce 18 in: + state-53 +reduce 24 in: + state-21 +reduce 5 in: + state-5 +reduce 21 in: + state-14 +reduce 3 in: + state-3 +reduce 20 in: + state-23 +reduce 60 in: + state-122 +reduce 3 in: + state-3 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +lex RCURLY(57400) +reduce 35 in: + state-29 +reduce 18 in: + state-53 +reduce 30 in: + state-25 +lex RCURLY(57400) +reduce 19 in: + state-131 +reduce 19 in: + state-131 +lex NL(57406) lex REGEX(57363) +reduce 15 in: + state-47 lex DIV(57374) reduce 86 in: state-157 reduce 55 in: state-42 lex LCURLY(57399) +reduce 4 in: + state-4 +reduce 5 in: + state-5 +reduce 26 in: + state-129 +reduce 3 in: + state-3 +reduce 28 in: + state-50 +reduce 17 in: + state-16 +lex INTLITERAL(57369) +reduce 5 in: + state-5 +reduce 110 in: + state-48 +reduce 3 in: + state-3 +reduce 79 in: + state-37 +lex LCURLY(57399) +lex OTHERWISE(57359) reduce 54 in: state-30 +lex LCURLY(57399) +reduce 3 in: + state-3 +reduce 2 in: + state-49 +lex NL(57406) +reduce 68 in: + state-27 +reduce 17 in: + state-16 +reduce 66 in: + state-39 +reduce 5 in: + state-5 +reduce 60 in: + state-122 +reduce 3 in: + state-3 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +lex RCURLY(57400) +reduce 35 in: + state-29 +reduce 19 in: + state-131 +lex ELSE(57360) +lex NL(57406) +reduce 15 in: + state-47 +reduce 30 in: + state-25 +reduce 4 in: + state-4 +reduce 26 in: + state-129 +reduce 3 in: + state-3 +reduce 2 in: + state-49 +reduce 17 in: + state-16 +lex NL(57406) +reduce 5 in: + state-5 +reduce 17 in: + state-16 +reduce 3 in: + state-3 +reduce 5 in: + state-5 reduce 49 in: state-26 +lex $end(0) +lex ID(57367) reduce 25 in: state-22 +reduce 3 in: + state-3 +lex LCURLY(57399) +reduce 1 in: + state-2 +lex RCURLY(57400) +reduce 19 in: + state-131 +lex NL(57406) +reduce 15 in: + state-47 reduce 2 in: state-49 lex NL(57406) @@ -14974,11 +14486,24 @@ state-16 reduce 5 in: state-5 +reduce 4 in: + state-4 +reduce 2 in: + state-49 reduce 3 in: state-3 +lex RCURLY(57400) +reduce 3 in: + state-3 +reduce 19 in: + state-131 lex CAPREF_NAMED(57366) +reduce 17 in: + state-16 reduce 76 in: state-34 +reduce 5 in: + state-5 lex GT(57383) reduce 68 in: state-27 @@ -14994,22 +14519,121 @@ state-29 reduce 38 in: state-70 +reduce 14 in: + state-128 +reduce 83 in: + state-45 +reduce 4 in: + state-4 lex INTLITERAL(57369) reduce 110 in: state-68 +reduce 3 in: + state-3 reduce 79 in: state-37 +lex NL(57406) +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 reduce 68 in: state-63 +lex $end(0) +reduce 1 in: + state-2 +reduce 3 in: + state-3 +reduce 81 in: + state-43 lex LCURLY(57399) reduce 66 in: state-39 +lex LSQUARE(57403) +reduce 60 in: + state-122 +lex STRING(57364) +lex $end(0) +reduce 77 in: + state-35 +reduce 1 in: + state-2 +reduce 68 in: + state-63 +lex RSQUARE(57404) +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 47 in: + state-44 +reduce 30 in: + state-25 +reduce 43 in: + state-41 +reduce 84 in: + state-121 +reduce 82 in: + state-148 +lex ADD_ASSIGN(57394) +reduce 72 in: + state-31 +reduce 68 in: + state-27 +reduce 66 in: + state-39 +lex INTLITERAL(57369) +reduce 110 in: + state-79 +reduce 79 in: + state-37 +lex NL(57406) +reduce 68 in: + state-27 +reduce 66 in: + state-39 reduce 60 in: state-122 reduce 47 in: state-44 reduce 43 in: state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 23 in: + state-144 +reduce 20 in: + state-23 +reduce 18 in: + state-53 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex RCURLY(57400) +reduce 19 in: + state-131 +reduce 16 in: + state-52 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +lex $end(0) +reduce 1 in: + state-2 reduce 36 in: state-140 reduce 30 in: @@ -15649,8 +15273,76 @@ lex $end(0) reduce 1 in: state-2 +reduce 2 in: + state-0 +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 +lex ID(57367) +reduce 92 in: + state-107 +lex BY(57353) +lex ID(57367) +reduce 99 in: + state-154 +lex NL(57406) +reduce 98 in: + state-153 +reduce 90 in: + state-132 +reduce 87 in: + state-106 +reduce 6 in: + state-6 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex DIV(57374) +reduce 108 in: + state-2 +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 55 in: + state-42 +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +reduce 2 in: + state-49 +lex NL(57406) +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex LSQUARE(57403) +lex STRING(57364) +reduce 77 in: + state-35 reduce 68 in: - state-27 + state-63 +lex RSQUARE(57404) reduce 66 in: state-39 reduce 60 in: @@ -15663,10 +15355,36 @@ state-29 reduce 30 in: state-25 +reduce 84 in: + state-121 +reduce 82 in: + state-148 +lex INC(57372) +reduce 72 in: + state-31 +reduce 68 in: + state-27 +reduce 70 in: + state-90 +reduce 69 in: + state-89 +lex NL(57406) +reduce 66 in: + state-39 +reduce 60 in: + state-28 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 reduce 24 in: state-21 -reduce 22 in: - state-143 +reduce 21 in: + state-14 reduce 20 in: state-23 reduce 18 in: @@ -15691,6 +15409,159 @@ state-5 reduce 3 in: state-3 +lex OTHERWISE(57359) +lex LCURLY(57399) +reduce 2 in: + state-49 +lex NL(57406) +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex LSQUARE(57403) +lex STRING(57364) +reduce 77 in: + state-35 +reduce 68 in: + state-63 +lex RSQUARE(57404) +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 84 in: + state-121 +reduce 82 in: + state-148 +lex ADD_ASSIGN(57394) +reduce 72 in: + state-31 +reduce 68 in: + state-27 +reduce 66 in: + state-39 +lex INTLITERAL(57369) +reduce 110 in: + state-79 +reduce 79 in: + state-37 +lex NL(57406) +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 23 in: + state-144 +reduce 20 in: + state-23 +reduce 18 in: + state-53 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex RCURLY(57400) +reduce 19 in: + state-131 +reduce 16 in: + state-52 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +lex NL(57406) +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex $end(0) +reduce 1 in: + state-2 +reduce 2 in: + state-0 +lex DIV(57374) +reduce 108 in: + state-2 +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 55 in: + state-42 +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +reduce 2 in: + state-49 +lex NL(57406) +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex DIV(57374) +reduce 108 in: + state-105 +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 55 in: + state-42 +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +reduce 2 in: + state-49 +lex NL(57406) +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 lex RCURLY(57400) reduce 19 in: state-131 @@ -15707,15 +15578,179 @@ state-5 reduce 3 in: state-3 +lex RCURLY(57400) +reduce 19 in: + state-131 +lex ELSE(57360) +lex LCURLY(57399) +reduce 2 in: + state-49 +lex DIV(57374) +reduce 108 in: + state-105 +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 55 in: + state-42 +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +reduce 2 in: + state-49 +lex NL(57406) +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex RCURLY(57400) +reduce 19 in: + state-131 +lex ELSE(57360) +lex LCURLY(57399) +reduce 2 in: + state-49 +lex RCURLY(57400) +reduce 19 in: + state-131 +reduce 14 in: + state-128 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +lex NL(57406) +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex RCURLY(57400) +reduce 19 in: + state-131 +reduce 14 in: + state-128 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +lex NL(57406) +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 lex $end(0) reduce 1 in: state-2 ---- PASS: TestParserRoundTrip (0.00s) - --- PASS: TestParserRoundTrip/empty (0.00s) - parser_test.go:337: AST: - ( ;;*ast.StmtList @ - ) - +reduce 24 in: + state-21 +reduce 23 in: + state-144 +reduce 20 in: + state-23 +reduce 18 in: + state-53 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex ASSIGN(57395) +reduce 72 in: + state-31 +reduce 68 in: + state-27 +reduce 66 in: + state-39 +lex CAPREF(57365) +reduce 110 in: + state-78 +reduce 75 in: + state-33 +lex NL(57406) +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 22 in: + state-143 +reduce 20 in: + state-23 +reduce 18 in: + state-53 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex RCURLY(57400) +reduce 19 in: + state-131 +lex NL(57406) +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex RCURLY(57400) +reduce 19 in: + state-131 +lex NL(57406) +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex $end(0) +reduce 1 in: + state-2 +--- PASS: TestParserRoundTrip (0.00s) + --- PASS: TestParserRoundTrip/empty (0.00s) + parser_test.go:337: AST: + ( ;;*ast.StmtList @ + ) + --- PASS: TestParserRoundTrip/stop (0.00s) parser_test.go:337: AST: ( ;;*ast.StmtList @ stop:2:1-2 @@ -15825,7 +15860,7 @@ ) ) - --- PASS: TestParserRoundTrip/match_expression_1 (0.02s) + --- PASS: TestParserRoundTrip/match_expression_1 (0.00s) parser_test.go:337: AST: ( ;;*ast.StmtList @ match expression 1:2:1-13 ( ;;*ast.CondStmt @ match expression 1:2:1-13 @@ -15856,332 +15891,106 @@ ) ) - --- PASS: TestParserRoundTrip/additive_and_mem_storage (0.00s) + --- PASS: TestParserRoundTrip/assignment (0.00s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ additive and mem storage:1:9-18 - ( ;;*ast.VarDecl @ additive and mem storage:1:9-18 - counter time_total) - ( ;;*ast.VarDecl @ additive and mem storage:2:9-16 - counter variable (foo)) - ( ;;*ast.CondStmt @ additive and mem storage:3:1-13 - ( ;;*ast.PatternExpr @ additive and mem storage:3:1-13 - ( ;;*ast.PatternLit @ additive and mem storage:3:1-13 + ( ;;*ast.StmtList @ assignment:1:9-16 + ( ;;*ast.VarDecl @ assignment:1:9-16 + counter variable) + ( ;;*ast.CondStmt @ assignment:2:1-13 + ( ;;*ast.PatternExpr @ assignment:2:1-13 + ( ;;*ast.PatternLit @ assignment:2:1-13 "(?P.*)") ) - ( ;;*ast.StmtList @ additive and mem storage:4:3-43 - ( ;;*ast.BinaryExpr @ additive and mem storage:4:3-43 - += - ( ;;*ast.IndexedExpr @ additive and mem storage:4:3-12 + ( ;;*ast.StmtList @ assignment:3:1-15 + ( ;;*ast.BinaryExpr @ assignment:3:1-15 + = + ( ;;*ast.IndexedExpr @ assignment:3:1-8 ( ;;*ast.ExprList @ ) - ( ;;*ast.IdTerm @ additive and mem storage:4:3-12 - "time_total") - ) - ( ;;*ast.BinaryExpr @ additive and mem storage:4:27-43 - - - ( ;;*ast.BuiltinExpr @ additive and mem storage:4:27 - "timestamp" - ) - ( ;;*ast.IndexedExpr @ additive and mem storage:4:31-43 - ( ;;*ast.ExprList @ additive and mem storage:4:40-43 - ( ;;*ast.CaprefTerm @ additive and mem storage:4:40-43 - "foo") - ) - ( ;;*ast.IdTerm @ additive and mem storage:4:31-38 - "variable") - ) + ( ;;*ast.IdTerm @ assignment:3:1-8 + "variable") ) + ( ;;*ast.CaprefTerm @ assignment:3:12-15 + "foo") ) ) ) ) - --- PASS: TestParserRoundTrip/logical (0.00s) + --- PASS: TestParserRoundTrip/named_capture_group_reference (0.00s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ logical:1:1-11 - ( ;;*ast.CondStmt @ logical:1:1-11 - ( ;;*ast.BinaryExpr @ logical:1:1-11 - && - ( ;;*ast.BinaryExpr @ logical:1:1-6 - || - ( ;;*ast.IntLit @ logical:1:1 - 0) - ( ;;*ast.IntLit @ logical:1:6 - 1) - ) - ( ;;*ast.IntLit @ logical:1:11 - 0) - ) - ( ;;*ast.StmtList @ + ( ;;*ast.StmtList @ named capture group reference:1:1-27 + ( ;;*ast.CondStmt @ named capture group reference:1:1-27 + ( ;;*ast.PatternExpr @ named capture group reference:1:1-27 + ( ;;*ast.PatternLit @ named capture group reference:1:1-27 + "(?P[[:digit:]-/ ])") ) - ) - ) - - --- PASS: TestParserRoundTrip/concat_expr_2 (0.00s) - parser_test.go:337: AST: - ( ;;*ast.StmtList @ concat expr 2:2:7 - ( ;;*ast.PatternFragment @ concat expr 2:2:7 - const ( ;;*ast.IdTerm @ concat expr 2:2:7 - "X") - ) - ( ;;*ast.CondStmt @ concat expr 2:3:1 - ( ;;*ast.IndexedExpr @ concat expr 2:3:1 - ( ;;*ast.ExprList @ + ( ;;*ast.StmtList @ named capture group reference:2:38 + ( ;;*ast.BuiltinExpr @ named capture group reference:2:38 + "strptime" + ( ;;*ast.ExprList @ named capture group reference:2:12-37 + ( ;;*ast.CaprefTerm @ named capture group reference:2:12-16 + "date") + ( ;;*ast.StringLit @ named capture group reference:2:19-37 + "%Y/%m/%d %H:%M:%S") + ) ) - ( ;;*ast.IdTerm @ concat expr 2:3:1 - "X") - ) - ( ;;*ast.StmtList @ ) ) ) - --- PASS: TestParserRoundTrip/const (0.00s) + --- PASS: TestParserRoundTrip/declare_timer (0.00s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ const:1:7-8 - ( ;;*ast.PatternFragment @ const:1:7-8 - const ( ;;*ast.IdTerm @ const:1:7-8 - "IP") - ) + ( ;;*ast.StmtList @ declare timer:1:7-9 + ( ;;*ast.VarDecl @ declare timer:1:7-9 + timer foo) ) - --- PASS: TestParserRoundTrip/def_and_next (0.00s) + --- PASS: TestParserRoundTrip/declare_gauge (0.00s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ def and next:1:13-34 - ( ;;*ast.DecoDecl @ def and next:1:13-34 - ( ;;*ast.StmtList @ def and next:1:13-34 - ( ;;*ast.CondStmt @ def and next:1:13-34 - ( ;;*ast.PatternExpr @ def and next:1:13-26 - ( ;;*ast.PatternLit @ def and next:1:13-26 - "(?P.*)") - ) - ( ;;*ast.StmtList @ def and next:1:31-34 - ( ;;*ast.NextStmt @ def and next:1:31-34 - next) - ) - ) - ) - ) + ( ;;*ast.StmtList @ declare gauge:1:7-9 + ( ;;*ast.VarDecl @ declare gauge:1:7-9 + gauge foo) ) - --- PASS: TestParserRoundTrip/len (0.00s) + --- PASS: TestParserRoundTrip/declare_hidden_counter (0.00s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ len:1:1-14 - ( ;;*ast.CondStmt @ len:1:1-14 - ( ;;*ast.PatternExpr @ len:1:1-14 - ( ;;*ast.PatternLit @ len:1:1-14 - "(?Pfoo)") - ) - ( ;;*ast.StmtList @ len:2:9-13 - ( ;;*ast.CondStmt @ len:2:9-13 - ( ;;*ast.BinaryExpr @ len:2:9-13 - > - ( ;;*ast.BuiltinExpr @ len:2:9 - "len" - ( ;;*ast.ExprList @ len:2:5-8 - ( ;;*ast.CaprefTerm @ len:2:5-8 - "foo") - ) - ) - ( ;;*ast.IntLit @ len:2:13 - 0) - ) - ( ;;*ast.StmtList @ - ) - ) - ) - ) + ( ;;*ast.StmtList @ declare hidden counter:1:16-18 + ( ;;*ast.VarDecl @ declare hidden counter:1:16-18 + counter foo) ) - --- PASS: TestParserRoundTrip/multiline_regex (0.00s) + --- PASS: TestParserRoundTrip/declare_multi-dimensioned_counter (0.00s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ multiline regex:1:1-6 - ( ;;*ast.CondStmt @ multiline regex:1:1-6 - ( ;;*ast.PatternExpr @ multiline regex:1:1-6 - ( ;;*ast.BinaryExpr @ multiline regex:1:1-6 - ++ - ( ;;*ast.PatternLit @ multiline regex:1:1-6 - "foo ") - ( ;;*ast.PatternLit @ multiline regex:2:1-7 - "barrr") - ) - ) - ( ;;*ast.StmtList @ - ) - ) + ( ;;*ast.StmtList @ declare multi-dimensioned counter:1:9-11 + ( ;;*ast.VarDecl @ declare multi-dimensioned counter:1:9-11 + counter foo (bar baz quux)) ) - --- PASS: TestParserRoundTrip/const_regex (0.00s) + --- PASS: TestParserRoundTrip/declare_dimensioned_counter (0.00s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ const regex:1:7 - ( ;;*ast.PatternFragment @ const regex:1:7 - const ( ;;*ast.IdTerm @ const regex:1:7 - "X") - ) - ( ;;*ast.CondStmt @ const regex:2:1-19 - ( ;;*ast.PatternExpr @ const regex:2:1-19 - ( ;;*ast.BinaryExpr @ const regex:2:1-19 - ++ - ( ;;*ast.BinaryExpr @ const regex:2:1-10 - ++ - ( ;;*ast.PatternLit @ const regex:2:1-6 - "foo ") - ( ;;*ast.IdTerm @ const regex:2:10 - "X") - ) - ( ;;*ast.PatternLit @ const regex:2:14-19 - " bar") - ) - ) - ( ;;*ast.StmtList @ - ) - ) + ( ;;*ast.StmtList @ declare dimensioned counter:1:9-11 + ( ;;*ast.VarDecl @ declare dimensioned counter:1:9-11 + counter foo (bar)) ) - --- PASS: TestParserRoundTrip/bitwise (0.00s) - parser_test.go:337: AST: - ( ;;*ast.StmtList @ bitwise:1:1-9 - ( ;;*ast.CondStmt @ bitwise:1:1-9 - ( ;;*ast.PatternExpr @ bitwise:1:1-9 - ( ;;*ast.PatternLit @ bitwise:1:1-9 - "foo(\\d)") - ) - ( ;;*ast.StmtList @ bitwise:2:3-8 - ( ;;*ast.BinaryExpr @ bitwise:2:3-8 - & - ( ;;*ast.CaprefTerm @ bitwise:2:3-4 - "1") - ( ;;*ast.IntLit @ bitwise:2:8 - 7) - ) - ( ;;*ast.BinaryExpr @ bitwise:3:3-8 - | - ( ;;*ast.CaprefTerm @ bitwise:3:3-4 - "1") - ( ;;*ast.IntLit @ bitwise:3:8 - 8) - ) - ( ;;*ast.BinaryExpr @ bitwise:4:3-9 - << - ( ;;*ast.CaprefTerm @ bitwise:4:3-4 - "1") - ( ;;*ast.IntLit @ bitwise:4:9 - 4) - ) - ( ;;*ast.BinaryExpr @ bitwise:5:3-10 - >> - ( ;;*ast.CaprefTerm @ bitwise:5:3-4 - "1") - ( ;;*ast.IntLit @ bitwise:5:9-10 - 20) - ) - ( ;;*ast.BinaryExpr @ bitwise:6:3-9 - ^ - ( ;;*ast.CaprefTerm @ bitwise:6:3-4 - "1") - ( ;;*ast.IntLit @ bitwise:6:8-9 - 15) - ) - ( ;;*ast.UnaryExpr @ bitwise:8:6 - ~ - ( ;;*ast.IntLit @ bitwise:7:5 - 1) - ) - ) - ) - ) - - --- PASS: TestParserRoundTrip/concat_expr_1 (0.00s) + --- PASS: TestParserRoundTrip/declare_counter_string_name (0.00s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ concat expr 1:2:7 - ( ;;*ast.PatternFragment @ concat expr 1:2:7 - const ( ;;*ast.IdTerm @ concat expr 1:2:7 - "X") - ) - ( ;;*ast.CondStmt @ concat expr 1:3:1-9 - ( ;;*ast.PatternExpr @ concat expr 1:3:1-9 - ( ;;*ast.BinaryExpr @ concat expr 1:3:1-9 - ++ - ( ;;*ast.PatternLit @ concat expr 1:3:1-5 - "bar") - ( ;;*ast.IdTerm @ concat expr 1:3:9 - "X") - ) - ) - ( ;;*ast.StmtList @ - ) - ) + ( ;;*ast.StmtList @ declare counter string name:1:9-18 + ( ;;*ast.VarDecl @ declare counter string name:1:9-18 + counter line_count) ) - --- PASS: TestParserRoundTrip/regex_match_includes_escaped_slashes (0.00s) + --- PASS: TestParserRoundTrip/declare_counter (0.00s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ regex match includes escaped slashes:1:9-11 - ( ;;*ast.VarDecl @ regex match includes escaped slashes:1:9-11 - counter foo) - ( ;;*ast.CondStmt @ regex match includes escaped slashes:2:1-15 - ( ;;*ast.PatternExpr @ regex match includes escaped slashes:2:1-7 - ( ;;*ast.PatternLit @ regex match includes escaped slashes:2:1-7 - "foo/") - ) - ( ;;*ast.StmtList @ regex match includes escaped slashes:2:11-15 - ( ;;*ast.UnaryExpr @ regex match includes escaped slashes:2:11-15 - ++ - ( ;;*ast.IndexedExpr @ regex match includes escaped slashes:2:11-13 - ( ;;*ast.ExprList @ - ) - ( ;;*ast.IdTerm @ regex match includes escaped slashes:2:11-13 - "foo") - ) - ) - ) - ) - ) + ( ;;*ast.StmtList @ declare counter:1:9-18 + ( ;;*ast.VarDecl @ declare counter:1:9-18 + counter line_count) + ) - --- PASS: TestParserRoundTrip/multiplicative (0.00s) + --- PASS: TestParserRoundTrip/newline (0.00s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ multiplicative:1:9 - ( ;;*ast.VarDecl @ multiplicative:1:9 - counter a) - ( ;;*ast.VarDecl @ multiplicative:2:9 - counter b) - ( ;;*ast.CondStmt @ multiplicative:3:4-8 - ( ;;*ast.PatternExpr @ multiplicative:3:4-8 - ( ;;*ast.PatternLit @ multiplicative:3:4-8 - "foo") - ) - ( ;;*ast.StmtList @ multiplicative:4:4-8 - ( ;;*ast.BinaryExpr @ multiplicative:4:4-8 - * - ( ;;*ast.IndexedExpr @ multiplicative:4:4 - ( ;;*ast.ExprList @ - ) - ( ;;*ast.IdTerm @ multiplicative:4:4 - "a") - ) - ( ;;*ast.IndexedExpr @ multiplicative:4:8 - ( ;;*ast.ExprList @ - ) - ( ;;*ast.IdTerm @ multiplicative:4:8 - "b") - ) - ) - ( ;;*ast.BinaryExpr @ multiplicative:5:7-12 - ** - ( ;;*ast.IndexedExpr @ multiplicative:5:7 - ( ;;*ast.ExprList @ - ) - ( ;;*ast.IdTerm @ multiplicative:5:7 - "a") - ) - ( ;;*ast.IndexedExpr @ multiplicative:5:12 - ( ;;*ast.ExprList @ - ) - ( ;;*ast.IdTerm @ multiplicative:5:12 - "b") - ) - ) - ) - ) + ( ;;*ast.StmtList @ ) --- PASS: TestParserRoundTrip/additive (0.00s) @@ -16211,6 +16020,28 @@ ) ) + --- PASS: TestParserRoundTrip/concat_expr_1 (0.00s) + parser_test.go:337: AST: + ( ;;*ast.StmtList @ concat expr 1:2:7 + ( ;;*ast.PatternFragment @ concat expr 1:2:7 + const ( ;;*ast.IdTerm @ concat expr 1:2:7 + "X") + ) + ( ;;*ast.CondStmt @ concat expr 1:3:1-9 + ( ;;*ast.PatternExpr @ concat expr 1:3:1-9 + ( ;;*ast.BinaryExpr @ concat expr 1:3:1-9 + ++ + ( ;;*ast.PatternLit @ concat expr 1:3:1-5 + "bar") + ( ;;*ast.IdTerm @ concat expr 1:3:9 + "X") + ) + ) + ( ;;*ast.StmtList @ + ) + ) + ) + --- PASS: TestParserRoundTrip/regex_cond_expr (0.00s) parser_test.go:337: AST: ( ;;*ast.StmtList @ regex cond expr:2:1-11 @@ -16229,57 +16060,33 @@ ) ) - --- PASS: TestParserRoundTrip/increment_operator (0.00s) + --- PASS: TestParserRoundTrip/concat_expr_2 (0.01s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ increment operator:1:9-11 - ( ;;*ast.VarDecl @ increment operator:1:9-11 - counter var) - ( ;;*ast.CondStmt @ increment operator:2:1-5 - ( ;;*ast.PatternExpr @ increment operator:2:1-5 - ( ;;*ast.PatternLit @ increment operator:2:1-5 - "foo") - ) - ( ;;*ast.StmtList @ increment operator:3:3-7 - ( ;;*ast.UnaryExpr @ increment operator:3:3-7 - ++ - ( ;;*ast.IndexedExpr @ increment operator:3:3-5 - ( ;;*ast.ExprList @ - ) - ( ;;*ast.IdTerm @ increment operator:3:3-5 - "var") - ) - ) + ( ;;*ast.StmtList @ concat expr 2:2:7 + ( ;;*ast.PatternFragment @ concat expr 2:2:7 + const ( ;;*ast.IdTerm @ concat expr 2:2:7 + "X") + ) + ( ;;*ast.CondStmt @ concat expr 2:3:1 + ( ;;*ast.IndexedExpr @ concat expr 2:3:1 + ( ;;*ast.ExprList @ ) + ( ;;*ast.IdTerm @ concat expr 2:3:1 + "X") + ) + ( ;;*ast.StmtList @ ) ) + ) - --- PASS: TestParserRoundTrip/assignment (0.00s) + --- PASS: TestParserRoundTrip/declare_text (0.00s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ assignment:1:9-16 - ( ;;*ast.VarDecl @ assignment:1:9-16 - counter variable) - ( ;;*ast.CondStmt @ assignment:2:1-13 - ( ;;*ast.PatternExpr @ assignment:2:1-13 - ( ;;*ast.PatternLit @ assignment:2:1-13 - "(?P.*)") - ) - ( ;;*ast.StmtList @ assignment:3:1-15 - ( ;;*ast.BinaryExpr @ assignment:3:1-15 - = - ( ;;*ast.IndexedExpr @ assignment:3:1-8 - ( ;;*ast.ExprList @ - ) - ( ;;*ast.IdTerm @ assignment:3:1-8 - "variable") - ) - ( ;;*ast.CaprefTerm @ assignment:3:12-15 - "foo") - ) - ) - ) + ( ;;*ast.StmtList @ declare text:1:6-12 + ( ;;*ast.VarDecl @ declare text:1:6-12 + text stringy) ) - --- PASS: TestParserRoundTrip/comment_then_code (0.00s) + --- PASS: TestParserRoundTrip/comment_then_code (0.01s) parser_test.go:337: AST: ( ;;*ast.StmtList @ comment then code:2:10-56 ( ;;*ast.CondStmt @ comment then code:2:10-56 @@ -16301,186 +16108,162 @@ ) ) - --- PASS: TestParserRoundTrip/simple_else_clause (0.00s) + --- PASS: TestParserRoundTrip/delete_after (0.00s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ simple else clause:1:1-5 - ( ;;*ast.CondStmt @ simple else clause:1:1-5 - ( ;;*ast.PatternExpr @ simple else clause:1:1-5 - ( ;;*ast.PatternLit @ simple else clause:1:1-5 + ( ;;*ast.StmtList @ delete after:1:9-11 + ( ;;*ast.VarDecl @ delete after:1:9-11 + counter foo (bar)) + ( ;;*ast.CondStmt @ delete after:2:1-5 + ( ;;*ast.PatternExpr @ delete after:2:1-5 + ( ;;*ast.PatternLit @ delete after:2:1-5 "foo") ) - ( ;;*ast.StmtList @ + ( ;;*ast.StmtList @ delete after:3:21-24 + ( ;;*ast.DelStmt @ delete after:3:21-24 + del after 168h0m0s) + ) + ) + ) + + --- PASS: TestParserRoundTrip/simple_pattern_action (0.01s) + parser_test.go:337: AST: + ( ;;*ast.StmtList @ simple pattern action:1:1-5 + ( ;;*ast.CondStmt @ simple pattern action:1:1-5 + ( ;;*ast.PatternExpr @ simple pattern action:1:1-5 + ( ;;*ast.PatternLit @ simple pattern action:1:1-5 + "foo") ) ( ;;*ast.StmtList @ ) ) ) - --- PASS: TestParserRoundTrip/incby_operator (0.01s) + --- PASS: TestParserRoundTrip/increment_operator (0.01s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ incby operator:1:9-11 - ( ;;*ast.VarDecl @ incby operator:1:9-11 + ( ;;*ast.StmtList @ increment operator:1:9-11 + ( ;;*ast.VarDecl @ increment operator:1:9-11 counter var) - ( ;;*ast.CondStmt @ incby operator:2:1-5 - ( ;;*ast.PatternExpr @ incby operator:2:1-5 - ( ;;*ast.PatternLit @ incby operator:2:1-5 + ( ;;*ast.CondStmt @ increment operator:2:1-5 + ( ;;*ast.PatternExpr @ increment operator:2:1-5 + ( ;;*ast.PatternLit @ increment operator:2:1-5 "foo") ) - ( ;;*ast.StmtList @ incby operator:3:3-10 - ( ;;*ast.BinaryExpr @ incby operator:3:3-10 - += - ( ;;*ast.IndexedExpr @ incby operator:3:3-5 + ( ;;*ast.StmtList @ increment operator:3:3-7 + ( ;;*ast.UnaryExpr @ increment operator:3:3-7 + ++ + ( ;;*ast.IndexedExpr @ increment operator:3:3-5 ( ;;*ast.ExprList @ ) - ( ;;*ast.IdTerm @ incby operator:3:3-5 + ( ;;*ast.IdTerm @ increment operator:3:3-5 "var") ) - ( ;;*ast.IntLit @ incby operator:3:10 - 2) + ) ) ) ) + + --- PASS: TestParserRoundTrip/getfilename (0.01s) + parser_test.go:337: AST: + ( ;;*ast.StmtList @ getfilename:2:13 + ( ;;*ast.BuiltinExpr @ getfilename:2:13 + "getfilename" + ) ) - --- PASS: TestParserRoundTrip/nested_else_clause (0.00s) + --- PASS: TestParserRoundTrip/simple_otherwise_action (0.01s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ nested else clause:1:1-34 - ( ;;*ast.CondStmt @ nested else clause:1:1-34 - ( ;;*ast.PatternExpr @ nested else clause:1:1-5 - ( ;;*ast.PatternLit @ nested else clause:1:1-5 - "foo") - ) - ( ;;*ast.StmtList @ nested else clause:1:9-14 - ( ;;*ast.CondStmt @ nested else clause:1:9-14 - ( ;;*ast.PatternExpr @ nested else clause:1:9-14 - ( ;;*ast.PatternLit @ nested else clause:1:9-14 - " bar") - ) - ( ;;*ast.StmtList @ - ) - ) - ) - ( ;;*ast.StmtList @ nested else clause:1:29-34 - ( ;;*ast.CondStmt @ nested else clause:1:29-34 - ( ;;*ast.PatternExpr @ nested else clause:1:29-34 - ( ;;*ast.PatternLit @ nested else clause:1:29-34 - "quux") - ) - ( ;;*ast.StmtList @ - ) - ( ;;*ast.StmtList @ - ) - ) + ( ;;*ast.StmtList @ simple otherwise action:1:12 + ( ;;*ast.CondStmt @ simple otherwise action:1:12 + ( ;;*ast.OtherwiseStmt @ simple otherwise action:1:12 + otherwise) + ( ;;*ast.StmtList @ ) ) ) - --- PASS: TestParserRoundTrip/strptime_and_capref (0.00s) + --- PASS: TestParserRoundTrip/paren_expr (0.01s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ strptime and capref:1:1-6 - ( ;;*ast.CondStmt @ strptime and capref:1:1-6 - ( ;;*ast.PatternExpr @ strptime and capref:1:1-6 - ( ;;*ast.PatternLit @ strptime and capref:1:1-6 - "(.*)") - ) - ( ;;*ast.StmtList @ strptime and capref:2:41 - ( ;;*ast.BuiltinExpr @ strptime and capref:2:41 - "strptime" - ( ;;*ast.ExprList @ strptime and capref:2:10-40 - ( ;;*ast.CaprefTerm @ strptime and capref:2:10-11 - "1") - ( ;;*ast.StringLit @ strptime and capref:2:14-40 - "2006-01-02T15:04:05Z07:00") + ( ;;*ast.StmtList @ paren expr:2:2-14 + ( ;;*ast.CondStmt @ paren expr:2:2-14 + ( ;;*ast.BinaryExpr @ paren expr:2:2-14 + || + ( ;;*ast.IntLit @ paren expr:2:2 + 0) + ( ;;*ast.BinaryExpr @ paren expr:2:9-14 + && + ( ;;*ast.IntLit @ paren expr:2:9 + 1) + ( ;;*ast.IntLit @ paren expr:2:14 + 3) ) - ) + ) + ( ;;*ast.StmtList @ ) ) ) - --- PASS: TestParserRoundTrip/numeric_capture_group_reference (0.00s) + --- PASS: TestParserRoundTrip/delete (0.01s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ numeric capture group reference:1:1-7 - ( ;;*ast.CondStmt @ numeric capture group reference:1:1-7 - ( ;;*ast.PatternExpr @ numeric capture group reference:1:1-7 - ( ;;*ast.PatternLit @ numeric capture group reference:1:1-7 - "(foo)") + ( ;;*ast.StmtList @ delete:1:9-11 + ( ;;*ast.VarDecl @ delete:1:9-11 + counter foo (bar)) + ( ;;*ast.CondStmt @ delete:2:1-5 + ( ;;*ast.PatternExpr @ delete:2:1-5 + ( ;;*ast.PatternLit @ delete:2:1-5 + "foo") ) - ( ;;*ast.StmtList @ numeric capture group reference:2:3-6 - ( ;;*ast.UnaryExpr @ numeric capture group reference:2:3-6 - ++ - ( ;;*ast.CaprefTerm @ numeric capture group reference:2:3-4 - "1") - ) - ) + ( ;;*ast.StmtList @ delete:4:14 + ( ;;*ast.DelStmt @ delete:4:14 + del) ) ) - - --- PASS: TestParserRoundTrip/declare_gauge (0.00s) - parser_test.go:337: AST: - ( ;;*ast.StmtList @ declare gauge:1:7-9 - ( ;;*ast.VarDecl @ declare gauge:1:7-9 - gauge foo) ) - --- PASS: TestParserRoundTrip/decrement_counter (0.00s) + --- PASS: TestParserRoundTrip/multiplicative (0.02s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ decrement counter:1:9 - ( ;;*ast.VarDecl @ decrement counter:1:9 - counter i) - ( ;;*ast.CondStmt @ decrement counter:2:1-5 - ( ;;*ast.PatternExpr @ decrement counter:2:1-5 - ( ;;*ast.PatternLit @ decrement counter:2:1-5 + ( ;;*ast.StmtList @ multiplicative:1:9 + ( ;;*ast.VarDecl @ multiplicative:1:9 + counter a) + ( ;;*ast.VarDecl @ multiplicative:2:9 + counter b) + ( ;;*ast.CondStmt @ multiplicative:3:4-8 + ( ;;*ast.PatternExpr @ multiplicative:3:4-8 + ( ;;*ast.PatternLit @ multiplicative:3:4-8 "foo") ) - ( ;;*ast.StmtList @ decrement counter:3:3-5 - ( ;;*ast.UnaryExpr @ decrement counter:3:3-5 - -- - ( ;;*ast.IndexedExpr @ decrement counter:3:3 + ( ;;*ast.StmtList @ multiplicative:4:4-8 + ( ;;*ast.BinaryExpr @ multiplicative:4:4-8 + * + ( ;;*ast.IndexedExpr @ multiplicative:4:4 ( ;;*ast.ExprList @ ) - ( ;;*ast.IdTerm @ decrement counter:3:3 - "i") + ( ;;*ast.IdTerm @ multiplicative:4:4 + "a") + ) + ( ;;*ast.IndexedExpr @ multiplicative:4:8 + ( ;;*ast.ExprList @ + ) + ( ;;*ast.IdTerm @ multiplicative:4:8 + "b") ) - ) ) - ) - ) - - --- PASS: TestParserRoundTrip/more_complex_action,_increment_counter (0.00s) - parser_test.go:337: AST: - ( ;;*ast.StmtList @ more complex action, increment counter:1:9-18 - ( ;;*ast.VarDecl @ more complex action, increment counter:1:9-18 - counter line_count) - ( ;;*ast.CondStmt @ more complex action, increment counter:2:1-5 - ( ;;*ast.PatternExpr @ more complex action, increment counter:2:1-5 - ( ;;*ast.PatternLit @ more complex action, increment counter:2:1-5 - "foo") - ) - ( ;;*ast.StmtList @ more complex action, increment counter:3:3-14 - ( ;;*ast.UnaryExpr @ more complex action, increment counter:3:3-14 - ++ - ( ;;*ast.IndexedExpr @ more complex action, increment counter:3:3-12 + ( ;;*ast.BinaryExpr @ multiplicative:5:7-12 + ** + ( ;;*ast.IndexedExpr @ multiplicative:5:7 ( ;;*ast.ExprList @ ) - ( ;;*ast.IdTerm @ more complex action, increment counter:3:3-12 - "line_count") + ( ;;*ast.IdTerm @ multiplicative:5:7 + "a") + ) + ( ;;*ast.IndexedExpr @ multiplicative:5:12 + ( ;;*ast.ExprList @ + ) + ( ;;*ast.IdTerm @ multiplicative:5:12 + "b") ) - ) ) ) ) - - --- PASS: TestParserRoundTrip/simple_pattern_action (0.00s) - parser_test.go:337: AST: - ( ;;*ast.StmtList @ simple pattern action:1:1-5 - ( ;;*ast.CondStmt @ simple pattern action:1:1-5 - ( ;;*ast.PatternExpr @ simple pattern action:1:1-5 - ( ;;*ast.PatternLit @ simple pattern action:1:1-5 - "foo") - ) - ( ;;*ast.StmtList @ - ) - ) ) --- PASS: TestParserRoundTrip/indexed_expression_arg_list (0.01s) @@ -16511,60 +16294,189 @@ ) ) - --- PASS: TestParserRoundTrip/declare_timer (0.00s) + --- PASS: TestParserRoundTrip/numeric_capture_group_reference (0.01s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ declare timer:1:7-9 - ( ;;*ast.VarDecl @ declare timer:1:7-9 - timer foo) + ( ;;*ast.StmtList @ numeric capture group reference:1:1-7 + ( ;;*ast.CondStmt @ numeric capture group reference:1:1-7 + ( ;;*ast.PatternExpr @ numeric capture group reference:1:1-7 + ( ;;*ast.PatternLit @ numeric capture group reference:1:1-7 + "(foo)") + ) + ( ;;*ast.StmtList @ numeric capture group reference:2:3-6 + ( ;;*ast.UnaryExpr @ numeric capture group reference:2:3-6 + ++ + ( ;;*ast.CaprefTerm @ numeric capture group reference:2:3-4 + "1") + ) + ) + ) + ) + + --- PASS: TestParserRoundTrip/const (0.00s) + parser_test.go:337: AST: + ( ;;*ast.StmtList @ const:1:7-8 + ( ;;*ast.PatternFragment @ const:1:7-8 + const ( ;;*ast.IdTerm @ const:1:7-8 + "IP") + ) ) - --- PASS: TestParserRoundTrip/declare_dimensioned_counter (0.00s) + --- PASS: TestParserRoundTrip/def_and_next (0.00s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ declare dimensioned counter:1:9-11 - ( ;;*ast.VarDecl @ declare dimensioned counter:1:9-11 - counter foo (bar)) + ( ;;*ast.StmtList @ def and next:1:13-34 + ( ;;*ast.DecoDecl @ def and next:1:13-34 + ( ;;*ast.StmtList @ def and next:1:13-34 + ( ;;*ast.CondStmt @ def and next:1:13-34 + ( ;;*ast.PatternExpr @ def and next:1:13-26 + ( ;;*ast.PatternLit @ def and next:1:13-26 + "(?P.*)") + ) + ( ;;*ast.StmtList @ def and next:1:31-34 + ( ;;*ast.NextStmt @ def and next:1:31-34 + next) + ) + ) + ) + ) ) - --- PASS: TestParserRoundTrip/declare_hidden_counter (0.00s) + --- PASS: TestParserRoundTrip/decorator_definition_and_invocation (0.00s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ declare hidden counter:1:16-18 - ( ;;*ast.VarDecl @ declare hidden counter:1:16-18 - counter foo) + ( ;;*ast.StmtList @ decorator definition and invocation:1:1-14 + ( ;;*ast.DecoDecl @ decorator definition and invocation:1:1-14 + ( ;;*ast.StmtList @ decorator definition and invocation:1:11-14 + ( ;;*ast.NextStmt @ decorator definition and invocation:1:11-14 + next) + ) + ) + ( ;;*ast.DecoStmt @ decorator definition and invocation:3:1-4 + ( ;;*ast.StmtList @ + ) + ) ) - --- PASS: TestParserRoundTrip/declare_multi-dimensioned_counter (0.00s) + --- PASS: TestParserRoundTrip/multiline_regex (0.00s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ declare multi-dimensioned counter:1:9-11 - ( ;;*ast.VarDecl @ declare multi-dimensioned counter:1:9-11 - counter foo (bar baz quux)) + ( ;;*ast.StmtList @ multiline regex:1:1-6 + ( ;;*ast.CondStmt @ multiline regex:1:1-6 + ( ;;*ast.PatternExpr @ multiline regex:1:1-6 + ( ;;*ast.BinaryExpr @ multiline regex:1:1-6 + ++ + ( ;;*ast.PatternLit @ multiline regex:1:1-6 + "foo ") + ( ;;*ast.PatternLit @ multiline regex:2:1-7 + "barrr") + ) + ) + ( ;;*ast.StmtList @ + ) + ) ) - --- PASS: TestParserRoundTrip/declare_counter (0.00s) + --- PASS: TestParserRoundTrip/const_regex (0.00s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ declare counter:1:9-18 - ( ;;*ast.VarDecl @ declare counter:1:9-18 - counter line_count) + ( ;;*ast.StmtList @ const regex:1:7 + ( ;;*ast.PatternFragment @ const regex:1:7 + const ( ;;*ast.IdTerm @ const regex:1:7 + "X") + ) + ( ;;*ast.CondStmt @ const regex:2:1-19 + ( ;;*ast.PatternExpr @ const regex:2:1-19 + ( ;;*ast.BinaryExpr @ const regex:2:1-19 + ++ + ( ;;*ast.BinaryExpr @ const regex:2:1-10 + ++ + ( ;;*ast.PatternLit @ const regex:2:1-6 + "foo ") + ( ;;*ast.IdTerm @ const regex:2:10 + "X") + ) + ( ;;*ast.PatternLit @ const regex:2:14-19 + " bar") + ) + ) + ( ;;*ast.StmtList @ + ) + ) ) - --- PASS: TestParserRoundTrip/declare_counter_string_name (0.00s) + --- PASS: TestParserRoundTrip/len (0.01s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ declare counter string name:1:9-18 - ( ;;*ast.VarDecl @ declare counter string name:1:9-18 - counter line_count) + ( ;;*ast.StmtList @ len:1:1-14 + ( ;;*ast.CondStmt @ len:1:1-14 + ( ;;*ast.PatternExpr @ len:1:1-14 + ( ;;*ast.PatternLit @ len:1:1-14 + "(?Pfoo)") + ) + ( ;;*ast.StmtList @ len:2:9-13 + ( ;;*ast.CondStmt @ len:2:9-13 + ( ;;*ast.BinaryExpr @ len:2:9-13 + > + ( ;;*ast.BuiltinExpr @ len:2:9 + "len" + ( ;;*ast.ExprList @ len:2:5-8 + ( ;;*ast.CaprefTerm @ len:2:5-8 + "foo") + ) + ) + ( ;;*ast.IntLit @ len:2:13 + 0) + ) + ( ;;*ast.StmtList @ + ) + ) + ) + ) ) - --- PASS: TestParserRoundTrip/newline (0.00s) + --- PASS: TestParserRoundTrip/floats (0.01s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ + ( ;;*ast.StmtList @ floats:1:7-9 + ( ;;*ast.VarDecl @ floats:1:7-9 + gauge foo) + ( ;;*ast.CondStmt @ floats:2:1-5 + ( ;;*ast.PatternExpr @ floats:2:1-5 + ( ;;*ast.PatternLit @ floats:2:1-5 + "foo") + ) + ( ;;*ast.StmtList @ floats:3:1-10 + ( ;;*ast.BinaryExpr @ floats:3:1-10 + = + ( ;;*ast.IndexedExpr @ floats:3:1-3 + ( ;;*ast.ExprList @ + ) + ( ;;*ast.IdTerm @ floats:3:1-3 + "foo") + ) + ( ;;*ast.FloatLit @ floats:3:7-10 + 3.14) + ) + ) + ) ) - --- PASS: TestParserRoundTrip/simple_otherwise_action (0.01s) + --- PASS: TestParserRoundTrip/incby_operator (0.03s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ simple otherwise action:1:12 - ( ;;*ast.CondStmt @ simple otherwise action:1:12 - ( ;;*ast.OtherwiseStmt @ simple otherwise action:1:12 - otherwise) - ( ;;*ast.StmtList @ + ( ;;*ast.StmtList @ incby operator:1:9-11 + ( ;;*ast.VarDecl @ incby operator:1:9-11 + counter var) + ( ;;*ast.CondStmt @ incby operator:2:1-5 + ( ;;*ast.PatternExpr @ incby operator:2:1-5 + ( ;;*ast.PatternLit @ incby operator:2:1-5 + "foo") + ) + ( ;;*ast.StmtList @ incby operator:3:3-10 + ( ;;*ast.BinaryExpr @ incby operator:3:3-10 + += + ( ;;*ast.IndexedExpr @ incby operator:3:3-5 + ( ;;*ast.ExprList @ + ) + ( ;;*ast.IdTerm @ incby operator:3:3-5 + "var") + ) + ( ;;*ast.IntLit @ incby operator:3:10 + 2) + ) ) ) ) @@ -16589,44 +16501,7 @@ ) ) - --- PASS: TestParserRoundTrip/getfilename (0.01s) - parser_test.go:337: AST: - ( ;;*ast.StmtList @ getfilename:2:13 - ( ;;*ast.BuiltinExpr @ getfilename:2:13 - "getfilename" - ) - ) - - --- PASS: TestParserRoundTrip/named_capture_group_reference (0.01s) - parser_test.go:337: AST: - ( ;;*ast.StmtList @ named capture group reference:1:1-27 - ( ;;*ast.CondStmt @ named capture group reference:1:1-27 - ( ;;*ast.PatternExpr @ named capture group reference:1:1-27 - ( ;;*ast.PatternLit @ named capture group reference:1:1-27 - "(?P[[:digit:]-/ ])") - ) - ( ;;*ast.StmtList @ named capture group reference:2:38 - ( ;;*ast.BuiltinExpr @ named capture group reference:2:38 - "strptime" - ( ;;*ast.ExprList @ named capture group reference:2:12-37 - ( ;;*ast.CaprefTerm @ named capture group reference:2:12-16 - "date") - ( ;;*ast.StringLit @ named capture group reference:2:19-37 - "%Y/%m/%d %H:%M:%S") - ) - ) - ) - ) - ) - - --- PASS: TestParserRoundTrip/declare_text (0.00s) - parser_test.go:337: AST: - ( ;;*ast.StmtList @ declare text:1:6-12 - ( ;;*ast.VarDecl @ declare text:1:6-12 - text stringy) - ) - - --- PASS: TestParserRoundTrip/nested_match_conditions (0.01s) + --- PASS: TestParserRoundTrip/nested_match_conditions (0.03s) parser_test.go:337: AST: ( ;;*ast.StmtList @ nested match conditions:1:9-11 ( ;;*ast.VarDecl @ nested match conditions:1:9-11 @@ -16676,148 +16551,230 @@ ) ) - --- PASS: TestParserRoundTrip/decorator_definition_and_invocation (0.01s) + --- PASS: TestParserRoundTrip/more_complex_action,_increment_counter (0.02s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ decorator definition and invocation:1:1-14 - ( ;;*ast.DecoDecl @ decorator definition and invocation:1:1-14 - ( ;;*ast.StmtList @ decorator definition and invocation:1:11-14 - ( ;;*ast.NextStmt @ decorator definition and invocation:1:11-14 - next) + ( ;;*ast.StmtList @ more complex action, increment counter:1:9-18 + ( ;;*ast.VarDecl @ more complex action, increment counter:1:9-18 + counter line_count) + ( ;;*ast.CondStmt @ more complex action, increment counter:2:1-5 + ( ;;*ast.PatternExpr @ more complex action, increment counter:2:1-5 + ( ;;*ast.PatternLit @ more complex action, increment counter:2:1-5 + "foo") ) - ) - ( ;;*ast.DecoStmt @ decorator definition and invocation:3:1-4 - ( ;;*ast.StmtList @ + ( ;;*ast.StmtList @ more complex action, increment counter:3:3-14 + ( ;;*ast.UnaryExpr @ more complex action, increment counter:3:3-14 + ++ + ( ;;*ast.IndexedExpr @ more complex action, increment counter:3:3-12 + ( ;;*ast.ExprList @ + ) + ( ;;*ast.IdTerm @ more complex action, increment counter:3:3-12 + "line_count") + ) + ) + ) ) ) - ) - --- PASS: TestParserRoundTrip/floats (0.01s) + --- PASS: TestParserRoundTrip/additive_and_mem_storage (0.01s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ floats:1:7-9 - ( ;;*ast.VarDecl @ floats:1:7-9 - gauge foo) - ( ;;*ast.CondStmt @ floats:2:1-5 - ( ;;*ast.PatternExpr @ floats:2:1-5 - ( ;;*ast.PatternLit @ floats:2:1-5 - "foo") + ( ;;*ast.StmtList @ additive and mem storage:1:9-18 + ( ;;*ast.VarDecl @ additive and mem storage:1:9-18 + counter time_total) + ( ;;*ast.VarDecl @ additive and mem storage:2:9-16 + counter variable (foo)) + ( ;;*ast.CondStmt @ additive and mem storage:3:1-13 + ( ;;*ast.PatternExpr @ additive and mem storage:3:1-13 + ( ;;*ast.PatternLit @ additive and mem storage:3:1-13 + "(?P.*)") ) - ( ;;*ast.StmtList @ floats:3:1-10 - ( ;;*ast.BinaryExpr @ floats:3:1-10 - = - ( ;;*ast.IndexedExpr @ floats:3:1-3 + ( ;;*ast.StmtList @ additive and mem storage:4:3-43 + ( ;;*ast.BinaryExpr @ additive and mem storage:4:3-43 + += + ( ;;*ast.IndexedExpr @ additive and mem storage:4:3-12 ( ;;*ast.ExprList @ ) - ( ;;*ast.IdTerm @ floats:3:1-3 - "foo") + ( ;;*ast.IdTerm @ additive and mem storage:4:3-12 + "time_total") + ) + ( ;;*ast.BinaryExpr @ additive and mem storage:4:27-43 + - + ( ;;*ast.BuiltinExpr @ additive and mem storage:4:27 + "timestamp" + ) + ( ;;*ast.IndexedExpr @ additive and mem storage:4:31-43 + ( ;;*ast.ExprList @ additive and mem storage:4:40-43 + ( ;;*ast.CaprefTerm @ additive and mem storage:4:40-43 + "foo") + ) + ( ;;*ast.IdTerm @ additive and mem storage:4:31-38 + "variable") + ) ) - ( ;;*ast.FloatLit @ floats:3:7-10 - 3.14) ) ) ) ) - --- PASS: TestParserRoundTrip/delete (0.01s) + --- PASS: TestParserRoundTrip/strptime_and_capref (0.02s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ delete:1:9-11 - ( ;;*ast.VarDecl @ delete:1:9-11 - counter foo (bar)) - ( ;;*ast.CondStmt @ delete:2:1-5 - ( ;;*ast.PatternExpr @ delete:2:1-5 - ( ;;*ast.PatternLit @ delete:2:1-5 - "foo") + ( ;;*ast.StmtList @ strptime and capref:1:1-6 + ( ;;*ast.CondStmt @ strptime and capref:1:1-6 + ( ;;*ast.PatternExpr @ strptime and capref:1:1-6 + ( ;;*ast.PatternLit @ strptime and capref:1:1-6 + "(.*)") ) - ( ;;*ast.StmtList @ delete:4:14 - ( ;;*ast.DelStmt @ delete:4:14 - del) + ( ;;*ast.StmtList @ strptime and capref:2:41 + ( ;;*ast.BuiltinExpr @ strptime and capref:2:41 + "strptime" + ( ;;*ast.ExprList @ strptime and capref:2:10-40 + ( ;;*ast.CaprefTerm @ strptime and capref:2:10-11 + "1") + ( ;;*ast.StringLit @ strptime and capref:2:14-40 + "2006-01-02T15:04:05Z07:00") + ) + ) ) ) ) - --- PASS: TestParserRoundTrip/paren_expr (0.01s) + --- PASS: TestParserRoundTrip/regex_match_includes_escaped_slashes (0.02s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ paren expr:2:2-14 - ( ;;*ast.CondStmt @ paren expr:2:2-14 - ( ;;*ast.BinaryExpr @ paren expr:2:2-14 - || - ( ;;*ast.IntLit @ paren expr:2:2 - 0) - ( ;;*ast.BinaryExpr @ paren expr:2:9-14 - && - ( ;;*ast.IntLit @ paren expr:2:9 - 1) - ( ;;*ast.IntLit @ paren expr:2:14 - 3) - ) + ( ;;*ast.StmtList @ regex match includes escaped slashes:1:9-11 + ( ;;*ast.VarDecl @ regex match includes escaped slashes:1:9-11 + counter foo) + ( ;;*ast.CondStmt @ regex match includes escaped slashes:2:1-15 + ( ;;*ast.PatternExpr @ regex match includes escaped slashes:2:1-7 + ( ;;*ast.PatternLit @ regex match includes escaped slashes:2:1-7 + "foo/") ) - ( ;;*ast.StmtList @ + ( ;;*ast.StmtList @ regex match includes escaped slashes:2:11-15 + ( ;;*ast.UnaryExpr @ regex match includes escaped slashes:2:11-15 + ++ + ( ;;*ast.IndexedExpr @ regex match includes escaped slashes:2:11-13 + ( ;;*ast.ExprList @ + ) + ( ;;*ast.IdTerm @ regex match includes escaped slashes:2:11-13 + "foo") + ) + ) + ) ) ) - ) - --- PASS: TestParserRoundTrip/delete_after (0.02s) + --- PASS: TestParserRoundTrip/bitwise (0.01s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ delete after:1:9-11 - ( ;;*ast.VarDecl @ delete after:1:9-11 - counter foo (bar)) - ( ;;*ast.CondStmt @ delete after:2:1-5 - ( ;;*ast.PatternExpr @ delete after:2:1-5 - ( ;;*ast.PatternLit @ delete after:2:1-5 - "foo") + ( ;;*ast.StmtList @ bitwise:1:1-9 + ( ;;*ast.CondStmt @ bitwise:1:1-9 + ( ;;*ast.PatternExpr @ bitwise:1:1-9 + ( ;;*ast.PatternLit @ bitwise:1:1-9 + "foo(\\d)") ) - ( ;;*ast.StmtList @ delete after:3:21-24 - ( ;;*ast.DelStmt @ delete after:3:21-24 - del after 168h0m0s) + ( ;;*ast.StmtList @ bitwise:2:3-8 + ( ;;*ast.BinaryExpr @ bitwise:2:3-8 + & + ( ;;*ast.CaprefTerm @ bitwise:2:3-4 + "1") + ( ;;*ast.IntLit @ bitwise:2:8 + 7) + ) + ( ;;*ast.BinaryExpr @ bitwise:3:3-8 + | + ( ;;*ast.CaprefTerm @ bitwise:3:3-4 + "1") + ( ;;*ast.IntLit @ bitwise:3:8 + 8) + ) + ( ;;*ast.BinaryExpr @ bitwise:4:3-9 + << + ( ;;*ast.CaprefTerm @ bitwise:4:3-4 + "1") + ( ;;*ast.IntLit @ bitwise:4:9 + 4) + ) + ( ;;*ast.BinaryExpr @ bitwise:5:3-10 + >> + ( ;;*ast.CaprefTerm @ bitwise:5:3-4 + "1") + ( ;;*ast.IntLit @ bitwise:5:9-10 + 20) + ) + ( ;;*ast.BinaryExpr @ bitwise:6:3-9 + ^ + ( ;;*ast.CaprefTerm @ bitwise:6:3-4 + "1") + ( ;;*ast.IntLit @ bitwise:6:8-9 + 15) + ) + ( ;;*ast.UnaryExpr @ bitwise:8:6 + ~ + ( ;;*ast.IntLit @ bitwise:7:5 + 1) + ) + ) ) ) - ) - --- PASS: TestParserRoundTrip/pattern_action_then_otherwise_action (0.02s) + --- PASS: TestParserRoundTrip/decrement_counter (0.03s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ pattern action then otherwise action:1:9-18 - ( ;;*ast.VarDecl @ pattern action then otherwise action:1:9-18 - counter line_count (type)) - ( ;;*ast.CondStmt @ pattern action then otherwise action:2:3-7 - ( ;;*ast.PatternExpr @ pattern action then otherwise action:2:3-7 - ( ;;*ast.PatternLit @ pattern action then otherwise action:2:3-7 + ( ;;*ast.StmtList @ decrement counter:1:9 + ( ;;*ast.VarDecl @ decrement counter:1:9 + counter i) + ( ;;*ast.CondStmt @ decrement counter:2:1-5 + ( ;;*ast.PatternExpr @ decrement counter:2:1-5 + ( ;;*ast.PatternLit @ decrement counter:2:1-5 "foo") ) - ( ;;*ast.StmtList @ pattern action then otherwise action:3:4-22 - ( ;;*ast.UnaryExpr @ pattern action then otherwise action:3:4-22 - ++ - ( ;;*ast.IndexedExpr @ pattern action then otherwise action:3:4-19 - ( ;;*ast.ExprList @ pattern action then otherwise action:3:15-19 - ( ;;*ast.StringLit @ pattern action then otherwise action:3:15-19 - "foo") + ( ;;*ast.StmtList @ decrement counter:3:3-5 + ( ;;*ast.UnaryExpr @ decrement counter:3:3-5 + -- + ( ;;*ast.IndexedExpr @ decrement counter:3:3 + ( ;;*ast.ExprList @ ) - ( ;;*ast.IdTerm @ pattern action then otherwise action:3:4-13 - "line_count") + ( ;;*ast.IdTerm @ decrement counter:3:3 + "i") ) ) ) ) - ( ;;*ast.CondStmt @ pattern action then otherwise action:7:3 - ( ;;*ast.OtherwiseStmt @ pattern action then otherwise action:7:3 - otherwise) - ( ;;*ast.StmtList @ pattern action then otherwise action:6:4-27 - ( ;;*ast.BinaryExpr @ pattern action then otherwise action:6:4-27 - += - ( ;;*ast.IndexedExpr @ pattern action then otherwise action:6:4-20 - ( ;;*ast.ExprList @ pattern action then otherwise action:6:15-20 - ( ;;*ast.StringLit @ pattern action then otherwise action:6:15-20 - "misc") - ) - ( ;;*ast.IdTerm @ pattern action then otherwise action:6:4-13 - "line_count") - ) - ( ;;*ast.IntLit @ pattern action then otherwise action:6:26-27 - 10) + ) + + --- PASS: TestParserRoundTrip/logical (0.02s) + parser_test.go:337: AST: + ( ;;*ast.StmtList @ logical:1:1-11 + ( ;;*ast.CondStmt @ logical:1:1-11 + ( ;;*ast.BinaryExpr @ logical:1:1-11 + && + ( ;;*ast.BinaryExpr @ logical:1:1-6 + || + ( ;;*ast.IntLit @ logical:1:1 + 0) + ( ;;*ast.IntLit @ logical:1:6 + 1) ) - ) + ( ;;*ast.IntLit @ logical:1:11 + 0) + ) + ( ;;*ast.StmtList @ + ) + ) + ) + + --- PASS: TestParserRoundTrip/simple_else_clause (0.02s) + parser_test.go:337: AST: + ( ;;*ast.StmtList @ simple else clause:1:1-5 + ( ;;*ast.CondStmt @ simple else clause:1:1-5 + ( ;;*ast.PatternExpr @ simple else clause:1:1-5 + ( ;;*ast.PatternLit @ simple else clause:1:1-5 + "foo") + ) + ( ;;*ast.StmtList @ + ) + ( ;;*ast.StmtList @ ) ) + ) - --- PASS: TestParserRoundTrip/conditional_expressions (0.03s) + --- PASS: TestParserRoundTrip/conditional_expressions (0.02s) parser_test.go:337: AST: ( ;;*ast.StmtList @ conditional expressions:1:9-11 ( ;;*ast.VarDecl @ conditional expressions:1:9-11 @@ -16964,6 +16921,84 @@ ) ) + --- PASS: TestParserRoundTrip/pattern_action_then_otherwise_action (0.03s) + parser_test.go:337: AST: + ( ;;*ast.StmtList @ pattern action then otherwise action:1:9-18 + ( ;;*ast.VarDecl @ pattern action then otherwise action:1:9-18 + counter line_count (type)) + ( ;;*ast.CondStmt @ pattern action then otherwise action:2:3-7 + ( ;;*ast.PatternExpr @ pattern action then otherwise action:2:3-7 + ( ;;*ast.PatternLit @ pattern action then otherwise action:2:3-7 + "foo") + ) + ( ;;*ast.StmtList @ pattern action then otherwise action:3:4-22 + ( ;;*ast.UnaryExpr @ pattern action then otherwise action:3:4-22 + ++ + ( ;;*ast.IndexedExpr @ pattern action then otherwise action:3:4-19 + ( ;;*ast.ExprList @ pattern action then otherwise action:3:15-19 + ( ;;*ast.StringLit @ pattern action then otherwise action:3:15-19 + "foo") + ) + ( ;;*ast.IdTerm @ pattern action then otherwise action:3:4-13 + "line_count") + ) + ) + ) + ) + ( ;;*ast.CondStmt @ pattern action then otherwise action:7:3 + ( ;;*ast.OtherwiseStmt @ pattern action then otherwise action:7:3 + otherwise) + ( ;;*ast.StmtList @ pattern action then otherwise action:6:4-27 + ( ;;*ast.BinaryExpr @ pattern action then otherwise action:6:4-27 + += + ( ;;*ast.IndexedExpr @ pattern action then otherwise action:6:4-20 + ( ;;*ast.ExprList @ pattern action then otherwise action:6:15-20 + ( ;;*ast.StringLit @ pattern action then otherwise action:6:15-20 + "misc") + ) + ( ;;*ast.IdTerm @ pattern action then otherwise action:6:4-13 + "line_count") + ) + ( ;;*ast.IntLit @ pattern action then otherwise action:6:26-27 + 10) + ) + ) + ) + ) + + --- PASS: TestParserRoundTrip/nested_else_clause (0.03s) + parser_test.go:337: AST: + ( ;;*ast.StmtList @ nested else clause:1:1-34 + ( ;;*ast.CondStmt @ nested else clause:1:1-34 + ( ;;*ast.PatternExpr @ nested else clause:1:1-5 + ( ;;*ast.PatternLit @ nested else clause:1:1-5 + "foo") + ) + ( ;;*ast.StmtList @ nested else clause:1:9-14 + ( ;;*ast.CondStmt @ nested else clause:1:9-14 + ( ;;*ast.PatternExpr @ nested else clause:1:9-14 + ( ;;*ast.PatternLit @ nested else clause:1:9-14 + " bar") + ) + ( ;;*ast.StmtList @ + ) + ) + ) + ( ;;*ast.StmtList @ nested else clause:1:29-34 + ( ;;*ast.CondStmt @ nested else clause:1:29-34 + ( ;;*ast.PatternExpr @ nested else clause:1:29-34 + ( ;;*ast.PatternLit @ nested else clause:1:29-34 + "quux") + ) + ( ;;*ast.StmtList @ + ) + ( ;;*ast.StmtList @ + ) + ) + ) + ) + ) + --- PASS: TestParserRoundTrip/nested_scope (0.04s) parser_test.go:337: AST: ( ;;*ast.StmtList @ nested scope:1:9-11 @@ -17105,6 +17140,7 @@ === CONT TestParseInvalidPrograms/index_of_non-terminal_1 reduce 2 in: state-0 +=== CONT TestParseInvalidPrograms/unterminated_string lex DIV(57374) reduce 108 in: state-2 @@ -17132,6 +17168,8 @@ state-5 reduce 3 in: state-3 +reduce 2 in: + state-0 lex ID(57367) reduce 83 in: state-45 @@ -17149,6 +17187,19 @@ lex LSQUARE(57403) reduce 66 in: state-39 +=== CONT TestParseInvalidPrograms/unterminated_const_regex +reduce 2 in: + state-0 +lex INVALID(57346) +reduce 13 in: + state-13 +reduce 3 in: + state-3 +lex $end(0) +reduce 1 in: + state-2 +lex CONST(57354) +lex ID(57367) reduce 60 in: state-28 reduce 47 in: @@ -17159,6 +17210,21 @@ state-29 reduce 30 in: state-25 +=== CONT TestParseInvalidPrograms/unterminated_regex +reduce 2 in: + state-0 +lex DIV(57374) +reduce 108 in: + state-2 +reduce 109 in: + state-59 +lex INVALID(57346) +state-109 saw INVALID +error recovery pops state 109 +error recovery pops state 59 +error recovery pops state 19 +error recovery pops state 2 +error recovery pops state 0 reduce 24 in: state-21 reduce 21 in: @@ -17172,11 +17238,6 @@ error recovery pops state 14 error recovery pops state 2 error recovery pops state 0 -=== CONT TestParseInvalidPrograms/unterminated_const_regex -reduce 2 in: - state-0 -lex CONST(57354) -lex ID(57367) reduce 83 in: state-45 reduce 108 in: @@ -17193,39 +17254,13 @@ error recovery pops state 11 error recovery pops state 2 error recovery pops state 0 -=== CONT TestParseInvalidPrograms/unterminated_string -reduce 2 in: - state-0 -lex INVALID(57346) -reduce 13 in: - state-13 -reduce 3 in: - state-3 -lex $end(0) -reduce 1 in: - state-2 -=== CONT TestParseInvalidPrograms/unterminated_regex -reduce 2 in: - state-0 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 109 in: - state-59 -lex INVALID(57346) -state-109 saw INVALID -error recovery pops state 109 -error recovery pops state 59 -error recovery pops state 19 -error recovery pops state 2 -error recovery pops state 0 ---- PASS: TestParseInvalidPrograms (0.01s) +--- PASS: TestParseInvalidPrograms (0.00s) --- PASS: TestParseInvalidPrograms/unknown_character (0.00s) --- PASS: TestParseInvalidPrograms/index_of_non-terminal_2 (0.00s) - --- PASS: TestParseInvalidPrograms/index_of_non-terminal_1 (0.00s) - --- PASS: TestParseInvalidPrograms/unterminated_const_regex (0.00s) --- PASS: TestParseInvalidPrograms/unterminated_string (0.00s) --- PASS: TestParseInvalidPrograms/unterminated_regex (0.00s) + --- PASS: TestParseInvalidPrograms/index_of_non-terminal_1 (0.00s) + --- PASS: TestParseInvalidPrograms/unterminated_const_regex (0.00s) === RUN TestParsePositionTests === RUN TestParsePositionTests/empty reduce 2 in: @@ -17287,16 +17322,16 @@ === RUN TestTokenString --- PASS: TestTokenString (0.00s) PASS -ok github.com/google/mtail/internal/vm/parser 0.118s +ok github.com/google/mtail/internal/vm/parser 0.070s ? github.com/google/mtail/internal/vm/position [no test files] === RUN TestInsertLookup --- PASS: TestInsertLookup (0.00s) === RUN TestInsertLookupQuick ---- PASS: TestInsertLookupQuick (4.07s) +--- PASS: TestInsertLookupQuick (2.44s) === RUN TestNestedScope --- PASS: TestNestedScope (0.00s) PASS -ok github.com/google/mtail/internal/vm/symbol 4.086s +ok github.com/google/mtail/internal/vm/symbol 2.454s === RUN TestTypeUnification === RUN TestTypeUnification/None_None === PAUSE TestTypeUnification/None_None @@ -17349,7 +17384,6 @@ === RUN TestTypeUnification/String_Pattern === PAUSE TestTypeUnification/String_Pattern === CONT TestTypeUnification/None_None -=== CONT TestTypeUnification/Int_Float === CONT TestTypeUnification/String_Pattern === CONT TestTypeUnification/Pattern_String === CONT TestTypeUnification/Int_Bool @@ -17361,21 +17395,21 @@ === CONT TestTypeUnification/String_Int === CONT TestTypeUnification/Int_String === CONT TestTypeUnification/Float_Int -=== CONT TestTypeUnification/typeVar0_Int +=== CONT TestTypeUnification/Int_Float === CONT TestTypeUnification/String_typeVar0 === CONT TestTypeUnification/Int_typeVar0 === CONT TestTypeUnification/Float_typeVar0 === CONT TestTypeUnification/None_typeVar0 === CONT TestTypeUnification/typeVar0_String -=== CONT TestTypeUnification/typeVar0_typeVar0 +=== CONT TestTypeUnification/typeVar0_Int === CONT TestTypeUnification/typeVar0_Float === CONT TestTypeUnification/typeVar0_None -=== CONT TestTypeUnification/Int_Int +=== CONT TestTypeUnification/typeVar0_typeVar0 === CONT TestTypeUnification/Float_Float +=== CONT TestTypeUnification/Int_Int === CONT TestTypeUnification/String_String --- PASS: TestTypeUnification (0.00s) --- PASS: TestTypeUnification/None_None (0.00s) - --- PASS: TestTypeUnification/Int_Float (0.00s) --- PASS: TestTypeUnification/String_Pattern (0.00s) --- PASS: TestTypeUnification/Pattern_String (0.00s) --- PASS: TestTypeUnification/Int_Bool (0.00s) @@ -17387,17 +17421,18 @@ --- PASS: TestTypeUnification/String_Int (0.00s) --- PASS: TestTypeUnification/Int_String (0.00s) --- PASS: TestTypeUnification/Float_Int (0.00s) - --- PASS: TestTypeUnification/typeVar0_Int (0.00s) + --- PASS: TestTypeUnification/Int_Float (0.00s) --- PASS: TestTypeUnification/String_typeVar0 (0.00s) --- PASS: TestTypeUnification/Int_typeVar0 (0.00s) --- PASS: TestTypeUnification/Float_typeVar0 (0.00s) --- PASS: TestTypeUnification/None_typeVar0 (0.00s) --- PASS: TestTypeUnification/typeVar0_String (0.00s) - --- PASS: TestTypeUnification/typeVar0_typeVar0 (0.00s) + --- PASS: TestTypeUnification/typeVar0_Int (0.00s) --- PASS: TestTypeUnification/typeVar0_Float (0.00s) --- PASS: TestTypeUnification/typeVar0_None (0.00s) - --- PASS: TestTypeUnification/Int_Int (0.00s) + --- PASS: TestTypeUnification/typeVar0_typeVar0 (0.00s) --- PASS: TestTypeUnification/Float_Float (0.00s) + --- PASS: TestTypeUnification/Int_Int (0.00s) --- PASS: TestTypeUnification/String_String (0.00s) === RUN TestGroupOnlyMatches --- PASS: TestGroupOnlyMatches (0.00s) @@ -17426,7 +17461,7 @@ === RUN TestTypeEquals --- PASS: TestTypeEquals (0.00s) PASS -ok github.com/google/mtail/internal/vm/types 0.028s +ok github.com/google/mtail/internal/vm/types 0.026s === RUN TestFakeWatcher --- PASS: TestFakeWatcher (0.00s) === RUN TestFakeWatcherUnwatchedFiles @@ -17434,7 +17469,7 @@ === RUN TestNoSuchHandle --- PASS: TestNoSuchHandle (0.00s) === RUN TestLogWatcher ---- PASS: TestLogWatcher (0.05s) +--- PASS: TestLogWatcher (0.01s) === RUN TestFsnotifyErrorFallbackToPoll --- PASS: TestFsnotifyErrorFallbackToPoll (0.00s) === RUN TestLogWatcherAddError @@ -17442,15 +17477,15 @@ === RUN TestLogWatcherAddWhilePermissionDenied --- PASS: TestLogWatcherAddWhilePermissionDenied (0.00s) === RUN TestWatcherErrors -E0318 13:15:12.622572 3330786 log_watcher.go:132] fsnotify error: Injected error for test +E0420 19:42:07.658401 1183302 log_watcher.go:132] fsnotify error: Injected error for test --- PASS: TestWatcherErrors (0.00s) PASS -ok github.com/google/mtail/internal/watcher 0.072s +ok github.com/google/mtail/internal/watcher 0.031s # Only run race tests on amd64. test "amd64" != amd64 || \ GOPATH=/build/mtail-3.0.0~rc19/build go test -v -timeout 5m -race -tags=integration \ github.com/google/mtail/... -go: disabling cache (/nonexistent/first-build/.cache/go-build) due to initialization failure: mkdir /nonexistent: permission denied +go: disabling cache (/nonexistent/second-build/.cache/go-build) due to initialization failure: mkdir /nonexistent: permission denied ? github.com/google/mtail/cmd/mdot [no test files] ? github.com/google/mtail/cmd/mgen [no test files] ? github.com/google/mtail/cmd/mtail [no test files] @@ -17459,7 +17494,7 @@ === RUN TestMetricToCollectd --- PASS: TestMetricToCollectd (0.00s) === RUN TestMetricToGraphite ---- PASS: TestMetricToGraphite (0.01s) +--- PASS: TestMetricToGraphite (0.00s) === RUN TestMetricToStatsd --- PASS: TestMetricToStatsd (0.00s) === RUN TestHandleJSON @@ -17469,13 +17504,13 @@ === PAUSE TestHandleJSON/single === RUN TestHandleJSON/dimensioned === PAUSE TestHandleJSON/dimensioned -=== CONT TestHandleJSON/dimensioned === CONT TestHandleJSON/single +=== CONT TestHandleJSON/dimensioned === CONT TestHandleJSON/empty --- PASS: TestHandleJSON (0.00s) - --- PASS: TestHandleJSON/empty (0.00s) - --- PASS: TestHandleJSON/dimensioned (0.00s) --- PASS: TestHandleJSON/single (0.00s) + --- PASS: TestHandleJSON/dimensioned (0.00s) + --- PASS: TestHandleJSON/empty (0.00s) === RUN TestHandlePrometheus === RUN TestHandlePrometheus/empty === PAUSE TestHandlePrometheus/empty @@ -17500,28 +17535,28 @@ === RUN TestHandlePrometheus/2_help_with_label === PAUSE TestHandlePrometheus/2_help_with_label === CONT TestHandlePrometheus/empty -=== CONT TestHandlePrometheus/2_help_with_label -=== CONT TestHandlePrometheus/2_help -=== CONT TestHandlePrometheus/help === CONT TestHandlePrometheus/text -=== CONT TestHandlePrometheus/quotes -=== CONT TestHandlePrometheus/timer -=== CONT TestHandlePrometheus/dimensioned === CONT TestHandlePrometheus/with_prog_label +=== CONT TestHandlePrometheus/dimensioned +=== CONT TestHandlePrometheus/help === CONT TestHandlePrometheus/single +=== CONT TestHandlePrometheus/2_help === CONT TestHandlePrometheus/gauge +=== CONT TestHandlePrometheus/2_help_with_label +=== CONT TestHandlePrometheus/quotes +=== CONT TestHandlePrometheus/timer --- PASS: TestHandlePrometheus (0.00s) --- PASS: TestHandlePrometheus/empty (0.00s) --- PASS: TestHandlePrometheus/text (0.00s) - --- PASS: TestHandlePrometheus/with_prog_label (0.00s) - --- PASS: TestHandlePrometheus/timer (0.00s) - --- PASS: TestHandlePrometheus/dimensioned (0.00s) --- PASS: TestHandlePrometheus/help (0.00s) + --- PASS: TestHandlePrometheus/dimensioned (0.01s) + --- PASS: TestHandlePrometheus/single (0.01s) + --- PASS: TestHandlePrometheus/with_prog_label (0.01s) + --- PASS: TestHandlePrometheus/gauge (0.01s) --- PASS: TestHandlePrometheus/quotes (0.00s) - --- PASS: TestHandlePrometheus/single (0.00s) - --- PASS: TestHandlePrometheus/2_help (0.00s) - --- PASS: TestHandlePrometheus/gauge (0.00s) - --- PASS: TestHandlePrometheus/2_help_with_label (0.01s) + --- PASS: TestHandlePrometheus/timer (0.00s) + --- PASS: TestHandlePrometheus/2_help (0.01s) + --- PASS: TestHandlePrometheus/2_help_with_label (0.00s) === RUN TestHandleVarz === RUN TestHandleVarz/empty === PAUSE TestHandleVarz/empty @@ -17532,16 +17567,16 @@ === RUN TestHandleVarz/text === PAUSE TestHandleVarz/text === CONT TestHandleVarz/single +=== CONT TestHandleVarz/text === CONT TestHandleVarz/dimensioned === CONT TestHandleVarz/empty -=== CONT TestHandleVarz/text --- PASS: TestHandleVarz (0.00s) - --- PASS: TestHandleVarz/empty (0.00s) --- PASS: TestHandleVarz/single (0.00s) - --- PASS: TestHandleVarz/dimensioned (0.00s) + --- PASS: TestHandleVarz/empty (0.00s) --- PASS: TestHandleVarz/text (0.00s) + --- PASS: TestHandleVarz/dimensioned (0.00s) PASS -ok github.com/google/mtail/internal/exporter 1.061s +ok github.com/google/mtail/internal/exporter 1.055s ? github.com/google/mtail/internal/logline [no test files] === RUN TestKindType --- PASS: TestKindType (0.00s) @@ -17557,12 +17592,12 @@ === CONT TestEmitLabelSet/[a_b_c] === CONT TestEmitLabelSet/[a_b_d] --- PASS: TestEmitLabelSet (0.00s) - --- PASS: TestEmitLabelSet/[a_b_c] (0.00s) --- PASS: TestEmitLabelSet/[a_b_d] (0.00s) + --- PASS: TestEmitLabelSet/[a_b_c] (0.00s) === RUN TestFindLabelValueOrNil --- PASS: TestFindLabelValueOrNil (0.00s) === RUN TestMetricJSONRoundTrip ---- PASS: TestMetricJSONRoundTrip (1.14s) +--- PASS: TestMetricJSONRoundTrip (0.46s) === RUN TestTimer --- PASS: TestTimer (0.00s) === RUN TestRemoveMetricLabelValue @@ -17576,7 +17611,7 @@ === RUN TestExpireMetric --- PASS: TestExpireMetric (0.00s) PASS -ok github.com/google/mtail/internal/metrics 2.184s +ok github.com/google/mtail/internal/metrics 1.497s === RUN TestDatumSetAndValue --- PASS: TestDatumSetAndValue (0.00s) === RUN TestMarshalJSON @@ -17584,31 +17619,31 @@ === RUN TestDecrementScalarInt --- PASS: TestDecrementScalarInt (0.00s) PASS -ok github.com/google/mtail/internal/metrics/datum 1.048s +ok github.com/google/mtail/internal/metrics/datum 1.020s === RUN TestDoOrTimeout ---- PASS: TestDoOrTimeout (0.03s) +--- PASS: TestDoOrTimeout (0.02s) === RUN TestHandleLogUpdates ---- PASS: TestHandleLogUpdates (0.11s) +--- PASS: TestHandleLogUpdates (0.05s) === RUN TestHandleLogRotation ---- PASS: TestHandleLogRotation (1.22s) +--- PASS: TestHandleLogRotation (1.21s) === RUN TestHandleNewLogAfterStart --- PASS: TestHandleNewLogAfterStart (0.03s) === RUN TestHandleNewLogIgnored ---- PASS: TestHandleNewLogIgnored (0.02s) +--- PASS: TestHandleNewLogIgnored (0.01s) === RUN TestHandleSoftLinkChange --- PASS: TestHandleSoftLinkChange (0.03s) === RUN TestGlob ---- PASS: TestGlob (0.12s) +--- PASS: TestGlob (0.11s) === RUN TestGlobAfterStart ---- PASS: TestGlobAfterStart (0.22s) +--- PASS: TestGlobAfterStart (0.21s) === RUN TestHandleLogTruncate ---- PASS: TestHandleLogTruncate (0.04s) +--- PASS: TestHandleLogTruncate (0.03s) === RUN TestHandleRelativeLogAppend ---- PASS: TestHandleRelativeLogAppend (0.05s) +--- PASS: TestHandleRelativeLogAppend (0.04s) === RUN TestProgramReloadNoDuplicateMetrics ---- PASS: TestProgramReloadNoDuplicateMetrics (0.16s) +--- PASS: TestProgramReloadNoDuplicateMetrics (0.15s) === RUN TestBasicTail ---- PASS: TestBasicTail (5.58s) +--- PASS: TestBasicTail (6.04s) === RUN TestBadProgramFailsCompilation --- PASS: TestBadProgramFailsCompilation (0.00s) === RUN TestExamplePrograms @@ -17632,15 +17667,15 @@ === RUN TestExamplePrograms/examples/decorator.mtail_on_testdata/decorator.log === RUN TestExamplePrograms/examples/stringy.mtail_on_testdata/stringy.log === RUN TestExamplePrograms/examples/ip-addr.mtail_on_testdata/ip-addr.log ---- PASS: TestExamplePrograms (57.55s) - --- PASS: TestExamplePrograms/examples/rsyncd.mtail_on_testdata/rsyncd.log (0.18s) - --- PASS: TestExamplePrograms/examples/sftp.mtail_on_testdata/sftp_chroot.log (0.08s) - --- PASS: TestExamplePrograms/examples/dhcpd.mtail_on_testdata/anonymised_dhcpd_log (56.95s) +--- PASS: TestExamplePrograms (42.45s) + --- PASS: TestExamplePrograms/examples/rsyncd.mtail_on_testdata/rsyncd.log (0.12s) + --- PASS: TestExamplePrograms/examples/sftp.mtail_on_testdata/sftp_chroot.log (0.05s) + --- PASS: TestExamplePrograms/examples/dhcpd.mtail_on_testdata/anonymised_dhcpd_log (42.02s) --- PASS: TestExamplePrograms/examples/ntpd.mtail_on_testdata/ntp4 (0.07s) - --- PASS: TestExamplePrograms/examples/ntpd_peerstats.mtail_on_testdata/xntp3_peerstats (0.05s) + --- PASS: TestExamplePrograms/examples/ntpd_peerstats.mtail_on_testdata/xntp3_peerstats (0.02s) --- PASS: TestExamplePrograms/examples/otherwise.mtail_on_testdata/otherwise.log (0.01s) --- PASS: TestExamplePrograms/examples/else.mtail_on_testdata/else.log (0.01s) - --- PASS: TestExamplePrograms/examples/types.mtail_on_testdata/types.log (0.03s) + --- PASS: TestExamplePrograms/examples/types.mtail_on_testdata/types.log (0.01s) --- PASS: TestExamplePrograms/examples/filename.mtail_on_testdata/else.log (0.01s) --- PASS: TestExamplePrograms/examples/logical.mtail_on_testdata/logical.log (0.01s) --- PASS: TestExamplePrograms/examples/strcat.mtail_on_testdata/strcat.log (0.01s) @@ -17648,7 +17683,7 @@ --- PASS: TestExamplePrograms/examples/typed-comparison.mtail_on_testdata/typed-comparison.log (0.02s) --- PASS: TestExamplePrograms/examples/match-expression.mtail_on_testdata/match-expression.log (0.01s) --- PASS: TestExamplePrograms/examples/apache_combined.mtail_on_testdata/apache-combined.log (0.02s) - --- PASS: TestExamplePrograms/examples/apache_common.mtail_on_testdata/apache-common.log (0.03s) + --- PASS: TestExamplePrograms/examples/apache_common.mtail_on_testdata/apache-common.log (0.02s) --- PASS: TestExamplePrograms/examples/metric-as-rvalue.mtail_on_testdata/metric-as-rvalue.log (0.01s) --- PASS: TestExamplePrograms/examples/decorator.mtail_on_testdata/decorator.log (0.01s) --- PASS: TestExamplePrograms/examples/stringy.mtail_on_testdata/stringy.log (0.01s) @@ -17656,33 +17691,33 @@ === RUN TestCompileExamplePrograms --- PASS: TestCompileExamplePrograms (0.00s) === RUN TestGlobRelativeAfterStart ---- PASS: TestGlobRelativeAfterStart (5.19s) +--- PASS: TestGlobRelativeAfterStart (5.59s) === RUN TestLogGlobMatchesAfterStartupWithPollInterval === RUN TestLogGlobMatchesAfterStartupWithPollInterval/0s === RUN TestLogGlobMatchesAfterStartupWithPollInterval/250ms ---- PASS: TestLogGlobMatchesAfterStartupWithPollInterval (10.24s) - --- PASS: TestLogGlobMatchesAfterStartupWithPollInterval/0s (6.13s) - --- PASS: TestLogGlobMatchesAfterStartupWithPollInterval/250ms (4.10s) +--- PASS: TestLogGlobMatchesAfterStartupWithPollInterval (9.64s) + --- PASS: TestLogGlobMatchesAfterStartupWithPollInterval/0s (4.07s) + --- PASS: TestLogGlobMatchesAfterStartupWithPollInterval/250ms (5.56s) === RUN TestLogRotation ---- PASS: TestLogRotation (6.05s) +--- PASS: TestLogRotation (6.04s) === RUN TestMultipleLinesInOneWrite ---- PASS: TestMultipleLinesInOneWrite (6.04s) +--- PASS: TestMultipleLinesInOneWrite (6.05s) === RUN TestNewProg ---- PASS: TestNewProg (5.56s) +--- PASS: TestNewProg (6.03s) === RUN TestPartialLineRead ---- PASS: TestPartialLineRead (3.09s) +--- PASS: TestPartialLineRead (6.13s) === RUN TestPermissionDeniedOnLog ---- PASS: TestPermissionDeniedOnLog (6.03s) +--- PASS: TestPermissionDeniedOnLog (6.08s) === RUN TestReadFromPipe ---- PASS: TestReadFromPipe (17.04s) +--- PASS: TestReadFromPipe (17.06s) === RUN TestTruncatedLogRead ---- PASS: TestTruncatedLogRead (4.14s) +--- PASS: TestTruncatedLogRead (5.63s) PASS -ok github.com/google/mtail/internal/mtail 129.607s +ok github.com/google/mtail/internal/mtail 119.697s === RUN TestReadTestData --- PASS: TestReadTestData (0.00s) PASS -ok github.com/google/mtail/internal/mtail/golden 1.040s +ok github.com/google/mtail/internal/mtail/golden 1.031s === RUN TestReadPartial --- PASS: TestReadPartial (0.00s) === RUN TestOpenRetries @@ -17702,14 +17737,14 @@ === RUN TestHandleLogRotate --- PASS: TestHandleLogRotate (0.00s) === RUN TestHandleLogRotateSignalsWrong ---- PASS: TestHandleLogRotateSignalsWrong (0.01s) +--- PASS: TestHandleLogRotateSignalsWrong (0.00s) PASS -ok github.com/google/mtail/internal/tailer 1.083s +ok github.com/google/mtail/internal/tailer 1.035s ? github.com/google/mtail/internal/testutil [no test files] === RUN TestNewLoader --- PASS: TestNewLoader (0.00s) === RUN TestCompileAndRun ---- PASS: TestCompileAndRun (0.01s) +--- PASS: TestCompileAndRun (0.00s) === RUN TestProcessEvents === RUN TestProcessEvents/load === PAUSE TestProcessEvents/load @@ -17721,17 +17756,17 @@ === PAUSE TestProcessEvents/bad_extension === RUN TestProcessEvents/not_exist === PAUSE TestProcessEvents/not_exist -=== CONT TestProcessEvents/not_exist === CONT TestProcessEvents/bad_extension -=== CONT TestProcessEvents/unload === CONT TestProcessEvents/reload === CONT TestProcessEvents/load +=== CONT TestProcessEvents/not_exist +=== CONT TestProcessEvents/unload --- PASS: TestProcessEvents (0.00s) + --- PASS: TestProcessEvents/not_exist (0.00s) --- PASS: TestProcessEvents/bad_extension (0.01s) - --- PASS: TestProcessEvents/load (0.02s) - --- PASS: TestProcessEvents/not_exist (0.04s) - --- PASS: TestProcessEvents/reload (0.04s) - --- PASS: TestProcessEvents/unload (0.04s) + --- PASS: TestProcessEvents/unload (0.00s) + --- PASS: TestProcessEvents/load (0.01s) + --- PASS: TestProcessEvents/reload (0.01s) === RUN TestLoadProg --- PASS: TestLoadProg (0.00s) === RUN TestInstrs @@ -17858,128 +17893,128 @@ === RUN TestInstrs/scmp_eq_false === PAUSE TestInstrs/scmp_eq_false === CONT TestInstrs/match -=== CONT TestInstrs/or -=== CONT TestInstrs/scmp_eq_false -=== CONT TestInstrs/shr -=== CONT TestInstrs/cmp_gt_int_float#01 -=== CONT TestInstrs/jm -=== CONT TestInstrs/cmp_ne -=== CONT TestInstrs/cmp_le -=== CONT TestInstrs/setmatched_true === CONT TestInstrs/fcmp_gt_false +=== CONT TestInstrs/otherwise === CONT TestInstrs/icmp_gt_false -=== CONT TestInstrs/f2s -=== CONT TestInstrs/i2s -=== CONT TestInstrs/getfilename +=== CONT TestInstrs/and +=== CONT TestInstrs/fadd +=== CONT TestInstrs/s2f +=== CONT TestInstrs/fmod +=== CONT TestInstrs/or +=== CONT TestInstrs/push_float +=== CONT TestInstrs/scmp_eq_false === CONT TestInstrs/fpow === CONT TestInstrs/cat -=== CONT TestInstrs/fdiv -=== CONT TestInstrs/fmod -=== CONT TestInstrs/fmul -=== CONT TestInstrs/fsub -=== CONT TestInstrs/otherwise -=== CONT TestInstrs/fadd -=== CONT TestInstrs/setmatched_false +=== CONT TestInstrs/getfilename === CONT TestInstrs/push_int -=== CONT TestInstrs/push_float -=== CONT TestInstrs/i2f -=== CONT TestInstrs/s2f +=== CONT TestInstrs/jnm +=== CONT TestInstrs/shr +=== CONT TestInstrs/setmatched_true === CONT TestInstrs/settime -=== CONT TestInstrs/s2i_pop +=== CONT TestInstrs/setmatched_false +=== CONT TestInstrs/length +=== CONT TestInstrs/isub +=== CONT TestInstrs/f2s +=== CONT TestInstrs/tolower +=== CONT TestInstrs/shl +=== CONT TestInstrs/imod_2 +=== CONT TestInstrs/imul +=== CONT TestInstrs/iadd +=== CONT TestInstrs/jmp +=== CONT TestInstrs/imod +=== CONT TestInstrs/jm +=== CONT TestInstrs/strptime +=== CONT TestInstrs/length_0 +=== CONT TestInstrs/cmp_eq_string_string_false +=== CONT TestInstrs/idiv === CONT TestInstrs/s2i +=== CONT TestInstrs/cmp_gt_float_int +=== CONT TestInstrs/fdiv +=== CONT TestInstrs/i2f === CONT TestInstrs/pow -=== CONT TestInstrs/not -=== CONT TestInstrs/neg -=== CONT TestInstrs/xor_3 -=== CONT TestInstrs/xor -=== CONT TestInstrs/xor_2 +=== CONT TestInstrs/i2s +=== CONT TestInstrs/fsub +=== CONT TestInstrs/cmp_ge +=== CONT TestInstrs/s2i_pop +=== CONT TestInstrs/cmp_ne === CONT TestInstrs/cmp_gt_float_int#01 === CONT TestInstrs/cmp_gt_float_float#01 +=== CONT TestInstrs/cmp_gt_float_float +=== CONT TestInstrs/cmp_le +=== CONT TestInstrs/cmp_gt_int_float#01 +=== CONT TestInstrs/fmul +=== CONT TestInstrs/cmp_gt_int_float +=== CONT TestInstrs/neg === CONT TestInstrs/cmp_eq_string_string_true -=== CONT TestInstrs/cmp_eq_string_string_false === CONT TestInstrs/cmp_gt -=== CONT TestInstrs/cmp_ge -=== CONT TestInstrs/cmp_lt -=== CONT TestInstrs/length_0 -=== CONT TestInstrs/and -=== CONT TestInstrs/shl +=== CONT TestInstrs/not === CONT TestInstrs/cmp_eq -=== CONT TestInstrs/cmp_gt_float_float -=== CONT TestInstrs/cmp_gt_float_int -=== CONT TestInstrs/strptime -=== CONT TestInstrs/idiv -=== CONT TestInstrs/isub -=== CONT TestInstrs/iadd -=== CONT TestInstrs/cmp_gt_int_float -=== CONT TestInstrs/length -=== CONT TestInstrs/tolower -=== CONT TestInstrs/imul -=== CONT TestInstrs/jmp -=== CONT TestInstrs/jnm -=== CONT TestInstrs/imod_2 -=== CONT TestInstrs/imod ---- PASS: TestInstrs (0.03s) - --- PASS: TestInstrs/scmp_eq_false (0.00s) - --- PASS: TestInstrs/or (0.01s) - --- PASS: TestInstrs/match (0.02s) - --- PASS: TestInstrs/shr (0.02s) - --- PASS: TestInstrs/cmp_ne (0.02s) - --- PASS: TestInstrs/jm (0.03s) - --- PASS: TestInstrs/cmp_gt_int_float#01 (0.03s) - --- PASS: TestInstrs/cmp_le (0.00s) - --- PASS: TestInstrs/fcmp_gt_false (0.00s) - --- PASS: TestInstrs/f2s (0.00s) - --- PASS: TestInstrs/icmp_gt_false (0.00s) - --- PASS: TestInstrs/i2s (0.00s) - --- PASS: TestInstrs/setmatched_true (0.00s) +=== CONT TestInstrs/cmp_lt +=== CONT TestInstrs/xor_3 +=== CONT TestInstrs/xor_2 +=== CONT TestInstrs/xor +--- PASS: TestInstrs (0.02s) + --- PASS: TestInstrs/match (0.00s) + --- PASS: TestInstrs/and (0.00s) + --- PASS: TestInstrs/fmod (0.00s) + --- PASS: TestInstrs/otherwise (0.01s) --- PASS: TestInstrs/fpow (0.00s) - --- PASS: TestInstrs/getfilename (0.00s) + --- PASS: TestInstrs/fadd (0.01s) + --- PASS: TestInstrs/s2f (0.01s) --- PASS: TestInstrs/cat (0.00s) - --- PASS: TestInstrs/fdiv (0.00s) - --- PASS: TestInstrs/fmod (0.00s) - --- PASS: TestInstrs/fmul (0.00s) - --- PASS: TestInstrs/fsub (0.00s) - --- PASS: TestInstrs/otherwise (0.00s) - --- PASS: TestInstrs/fadd (0.00s) - --- PASS: TestInstrs/setmatched_false (0.00s) - --- PASS: TestInstrs/push_int (0.00s) - --- PASS: TestInstrs/push_float (0.00s) - --- PASS: TestInstrs/i2f (0.00s) + --- PASS: TestInstrs/fcmp_gt_false (0.01s) + --- PASS: TestInstrs/jnm (0.00s) + --- PASS: TestInstrs/icmp_gt_false (0.01s) + --- PASS: TestInstrs/or (0.01s) + --- PASS: TestInstrs/scmp_eq_false (0.00s) --- PASS: TestInstrs/settime (0.00s) - --- PASS: TestInstrs/s2i_pop (0.00s) - --- PASS: TestInstrs/s2i (0.00s) - --- PASS: TestInstrs/pow (0.00s) - --- PASS: TestInstrs/not (0.00s) - --- PASS: TestInstrs/xor_3 (0.01s) - --- PASS: TestInstrs/s2f (0.04s) - --- PASS: TestInstrs/xor (0.07s) - --- PASS: TestInstrs/cmp_gt_float_int#01 (0.07s) - --- PASS: TestInstrs/neg (0.10s) - --- PASS: TestInstrs/xor_2 (0.11s) - --- PASS: TestInstrs/cmp_eq_string_string_true (0.04s) - --- PASS: TestInstrs/cmp_gt (0.01s) - --- PASS: TestInstrs/length_0 (0.00s) - --- PASS: TestInstrs/and (0.00s) - --- PASS: TestInstrs/shl (0.00s) - --- PASS: TestInstrs/cmp_eq (0.00s) - --- PASS: TestInstrs/cmp_gt_float_float#01 (0.08s) - --- PASS: TestInstrs/cmp_ge (0.02s) - --- PASS: TestInstrs/cmp_gt_float_float (0.00s) - --- PASS: TestInstrs/cmp_eq_string_string_false (0.02s) - --- PASS: TestInstrs/cmp_gt_float_int (0.00s) - --- PASS: TestInstrs/cmp_lt (0.01s) - --- PASS: TestInstrs/strptime (0.00s) - --- PASS: TestInstrs/idiv (0.00s) --- PASS: TestInstrs/isub (0.00s) + --- PASS: TestInstrs/shl (0.00s) --- PASS: TestInstrs/iadd (0.00s) + --- PASS: TestInstrs/imod (0.00s) + --- PASS: TestInstrs/imod_2 (0.00s) + --- PASS: TestInstrs/f2s (0.00s) + --- PASS: TestInstrs/push_float (0.01s) --- PASS: TestInstrs/length (0.00s) - --- PASS: TestInstrs/cmp_gt_int_float (0.00s) + --- PASS: TestInstrs/setmatched_false (0.00s) + --- PASS: TestInstrs/shr (0.01s) + --- PASS: TestInstrs/jm (0.00s) + --- PASS: TestInstrs/jmp (0.00s) + --- PASS: TestInstrs/push_int (0.01s) + --- PASS: TestInstrs/getfilename (0.01s) --- PASS: TestInstrs/imul (0.00s) + --- PASS: TestInstrs/setmatched_true (0.01s) --- PASS: TestInstrs/tolower (0.00s) - --- PASS: TestInstrs/jnm (0.00s) - --- PASS: TestInstrs/jmp (0.00s) - --- PASS: TestInstrs/imod_2 (0.00s) - --- PASS: TestInstrs/imod (0.00s) + --- PASS: TestInstrs/strptime (0.00s) + --- PASS: TestInstrs/idiv (0.00s) + --- PASS: TestInstrs/s2i (0.00s) + --- PASS: TestInstrs/cmp_eq_string_string_false (0.00s) + --- PASS: TestInstrs/length_0 (0.00s) + --- PASS: TestInstrs/i2s (0.00s) + --- PASS: TestInstrs/fsub (0.00s) + --- PASS: TestInstrs/cmp_ge (0.00s) + --- PASS: TestInstrs/cmp_gt_float_int#01 (0.00s) + --- PASS: TestInstrs/cmp_gt_float_float#01 (0.00s) + --- PASS: TestInstrs/s2i_pop (0.00s) + --- PASS: TestInstrs/i2f (0.00s) + --- PASS: TestInstrs/fmul (0.00s) + --- PASS: TestInstrs/fdiv (0.00s) + --- PASS: TestInstrs/cmp_gt_int_float#01 (0.00s) + --- PASS: TestInstrs/cmp_gt_float_int (0.00s) + --- PASS: TestInstrs/cmp_gt_int_float (0.00s) + --- PASS: TestInstrs/neg (0.00s) + --- PASS: TestInstrs/cmp_eq_string_string_true (0.00s) + --- PASS: TestInstrs/cmp_le (0.00s) + --- PASS: TestInstrs/cmp_ne (0.00s) + --- PASS: TestInstrs/not (0.00s) + --- PASS: TestInstrs/cmp_lt (0.00s) + --- PASS: TestInstrs/cmp_gt_float_float (0.00s) + --- PASS: TestInstrs/xor_2 (0.00s) + --- PASS: TestInstrs/xor (0.00s) + --- PASS: TestInstrs/cmp_eq (0.00s) + --- PASS: TestInstrs/xor_3 (0.00s) + --- PASS: TestInstrs/cmp_gt (0.00s) + --- PASS: TestInstrs/pow (0.01s) === RUN TestDatumSetInstrs --- PASS: TestDatumSetInstrs (0.00s) === RUN TestStrptimeWithTimezone @@ -17993,13 +18028,13 @@ === RUN TestTimestampInstr --- PASS: TestTimestampInstr (0.00s) PASS -ok github.com/google/mtail/internal/vm 1.306s +ok github.com/google/mtail/internal/vm 1.083s === RUN TestWalkPanicsOnUnknown --- PASS: TestWalkPanicsOnUnknown (0.00s) === RUN TestAstReplacement --- PASS: TestAstReplacement (0.00s) PASS -ok github.com/google/mtail/internal/vm/ast 1.026s +ok github.com/google/mtail/internal/vm/ast 1.019s === RUN TestCheckInvalidPrograms === RUN TestCheckInvalidPrograms/undefined_named_capture_group === PAUSE TestCheckInvalidPrograms/undefined_named_capture_group @@ -18038,42 +18073,42 @@ === RUN TestCheckInvalidPrograms/def_with_two_nexts === PAUSE TestCheckInvalidPrograms/def_with_two_nexts === CONT TestCheckInvalidPrograms/undefined_named_capture_group -=== CONT TestCheckInvalidPrograms/indexedExpr_binary_expression -=== CONT TestCheckInvalidPrograms/indexedExpr_parameter_count -=== CONT TestCheckInvalidPrograms/invalid_regex_3 === CONT TestCheckInvalidPrograms/def_with_two_nexts -=== CONT TestCheckInvalidPrograms/duplicate_declaration -=== CONT TestCheckInvalidPrograms/invalid_regex_2 -=== CONT TestCheckInvalidPrograms/def_without_next +=== CONT TestCheckInvalidPrograms/indexedExpr_parameter_count +=== CONT TestCheckInvalidPrograms/undefined_const_regex +=== CONT TestCheckInvalidPrograms/builtin_parameter_mismatch === CONT TestCheckInvalidPrograms/invalid_regex_1 +=== CONT TestCheckInvalidPrograms/bad_strptime_format === CONT TestCheckInvalidPrograms/invalid_del_index_count +=== CONT TestCheckInvalidPrograms/invalid_regex_3 +=== CONT TestCheckInvalidPrograms/def_without_next +=== CONT TestCheckInvalidPrograms/invalid_regex_2 +=== CONT TestCheckInvalidPrograms/indexedExpr_binary_expression === CONT TestCheckInvalidPrograms/undefined_decorator +=== CONT TestCheckInvalidPrograms/duplicate_declaration === CONT TestCheckInvalidPrograms/unused_symbols -=== CONT TestCheckInvalidPrograms/out_of_bounds_capref -=== CONT TestCheckInvalidPrograms/undefined_identifier === CONT TestCheckInvalidPrograms/def_without_usage -=== CONT TestCheckInvalidPrograms/undefined_const_regex -=== CONT TestCheckInvalidPrograms/builtin_parameter_mismatch -=== CONT TestCheckInvalidPrograms/bad_strptime_format +=== CONT TestCheckInvalidPrograms/undefined_identifier +=== CONT TestCheckInvalidPrograms/out_of_bounds_capref --- PASS: TestCheckInvalidPrograms (0.01s) - --- PASS: TestCheckInvalidPrograms/invalid_regex_2 (0.03s) - --- PASS: TestCheckInvalidPrograms/indexedExpr_parameter_count (0.16s) - --- PASS: TestCheckInvalidPrograms/invalid_del_index_count (0.14s) - --- PASS: TestCheckInvalidPrograms/indexedExpr_binary_expression (0.15s) - --- PASS: TestCheckInvalidPrograms/def_without_next (0.22s) - --- PASS: TestCheckInvalidPrograms/out_of_bounds_capref (0.18s) - --- PASS: TestCheckInvalidPrograms/invalid_regex_3 (0.26s) - --- PASS: TestCheckInvalidPrograms/invalid_regex_1 (0.26s) - --- PASS: TestCheckInvalidPrograms/undefined_const_regex (0.19s) - --- PASS: TestCheckInvalidPrograms/def_without_usage (0.21s) - --- PASS: TestCheckInvalidPrograms/def_with_two_nexts (0.30s) - --- PASS: TestCheckInvalidPrograms/duplicate_declaration (0.31s) - --- PASS: TestCheckInvalidPrograms/builtin_parameter_mismatch (0.16s) - --- PASS: TestCheckInvalidPrograms/undefined_named_capture_group (0.31s) - --- PASS: TestCheckInvalidPrograms/undefined_decorator (0.31s) - --- PASS: TestCheckInvalidPrograms/bad_strptime_format (0.16s) - --- PASS: TestCheckInvalidPrograms/unused_symbols (0.28s) - --- PASS: TestCheckInvalidPrograms/undefined_identifier (0.23s) + --- PASS: TestCheckInvalidPrograms/def_with_two_nexts (0.00s) + --- PASS: TestCheckInvalidPrograms/invalid_regex_3 (0.01s) + --- PASS: TestCheckInvalidPrograms/builtin_parameter_mismatch (0.03s) + --- PASS: TestCheckInvalidPrograms/indexedExpr_binary_expression (0.02s) + --- PASS: TestCheckInvalidPrograms/def_without_usage (0.01s) + --- PASS: TestCheckInvalidPrograms/invalid_del_index_count (0.03s) + --- PASS: TestCheckInvalidPrograms/undefined_named_capture_group (0.03s) + --- PASS: TestCheckInvalidPrograms/unused_symbols (0.01s) + --- PASS: TestCheckInvalidPrograms/invalid_regex_2 (0.02s) + --- PASS: TestCheckInvalidPrograms/undefined_decorator (0.02s) + --- PASS: TestCheckInvalidPrograms/indexedExpr_parameter_count (0.03s) + --- PASS: TestCheckInvalidPrograms/undefined_const_regex (0.03s) + --- PASS: TestCheckInvalidPrograms/invalid_regex_1 (0.03s) + --- PASS: TestCheckInvalidPrograms/bad_strptime_format (0.03s) + --- PASS: TestCheckInvalidPrograms/undefined_identifier (0.01s) + --- PASS: TestCheckInvalidPrograms/duplicate_declaration (0.02s) + --- PASS: TestCheckInvalidPrograms/def_without_next (0.03s) + --- PASS: TestCheckInvalidPrograms/out_of_bounds_capref (0.01s) === RUN TestCheckValidPrograms === RUN TestCheckValidPrograms/capture_group === PAUSE TestCheckValidPrograms/capture_group @@ -18127,238 +18162,114 @@ === PAUSE TestCheckValidPrograms/decrement === RUN TestCheckValidPrograms/stop === PAUSE TestCheckValidPrograms/stop -=== CONT TestCheckValidPrograms/capture_group -=== CONT TestCheckValidPrograms/capref_used_in_def -=== CONT TestCheckValidPrograms/strptime_format -=== CONT TestCheckValidPrograms/string_concat -=== CONT TestCheckValidPrograms/stop -=== CONT TestCheckValidPrograms/paren_expr -=== CONT TestCheckValidPrograms/decrement -=== CONT TestCheckValidPrograms/odd_indexes -=== CONT TestCheckValidPrograms/conversions -=== CONT TestCheckValidPrograms/logical_operators === CONT TestCheckValidPrograms/sibling_positionals -=== CONT TestCheckValidPrograms/nested_binary_conditional -=== CONT TestCheckValidPrograms/shadowed_positionals +=== CONT TestCheckValidPrograms/match_expr_1 === CONT TestCheckValidPrograms/concat_expr_1 +=== CONT TestCheckValidPrograms/concat_expr_2 +=== CONT TestCheckValidPrograms/concat_with_add_assign === CONT TestCheckValidPrograms/function_return_value -=== CONT TestCheckValidPrograms/index_expression -=== CONT TestCheckValidPrograms/binop_compare_type_conversion +=== CONT TestCheckValidPrograms/odd_indexes +=== CONT TestCheckValidPrograms/conversions +=== CONT TestCheckValidPrograms/match_expr_4 +=== CONT TestCheckValidPrograms/decorator_scopes +=== CONT TestCheckValidPrograms/stop +=== CONT TestCheckValidPrograms/string_concat +=== CONT TestCheckValidPrograms/paren_expr +=== CONT TestCheckValidPrograms/strptime_format +=== CONT TestCheckValidPrograms/nested_binary_conditional +=== CONT TestCheckValidPrograms/logical_operators === CONT TestCheckValidPrograms/binop_arith_type_conversion -=== CONT TestCheckValidPrograms/match_expr_1 -=== CONT TestCheckValidPrograms/namespace +=== CONT TestCheckValidPrograms/decrement === CONT TestCheckValidPrograms/implicit_int -=== CONT TestCheckValidPrograms/match_expr_4 -=== CONT TestCheckValidPrograms/concat_with_add_assign +=== CONT TestCheckValidPrograms/index_expression +=== CONT TestCheckValidPrograms/shadowed_positionals +=== CONT TestCheckValidPrograms/capture_group === CONT TestCheckValidPrograms/match_expression_3 -=== CONT TestCheckValidPrograms/decorator_scopes -=== CONT TestCheckValidPrograms/concat_expr_2 +=== CONT TestCheckValidPrograms/capref_used_in_def +=== CONT TestCheckValidPrograms/binop_compare_type_conversion +=== CONT TestCheckValidPrograms/namespace --- PASS: TestCheckValidPrograms (0.01s) - --- PASS: TestCheckValidPrograms/capture_group (0.00s) + --- PASS: TestCheckValidPrograms/concat_expr_2 (0.00s) checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ capture group:1:9-11 - ( ;;*ast.VarDecl @ capture group:1:9-11 - counter foo) - ( ;;*ast.CondStmt @ capture group:2:1-6 - ( ;;*ast.PatternExpr @ capture group:2:1-6 - ( ;;*ast.PatternLit @ capture group:2:1-6 - "(.*)") - ) - ( ;;*ast.StmtList @ capture group:3:3-11 - ( ;;*ast.BinaryExpr @ capture group:3:3-11 - += - ( ;;*ast.IndexedExpr @ capture group:3:3-5 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ capture group:3:3-5 - "foo") - ) - ( ;;*ast.CaprefTerm @ capture group:3:10-11 - "1") + ( ;;*ast.StmtList @ concat expr 2:2:7 + ( ;;*ast.PatternFragment @ concat expr 2:2:7 + const ( ;;*ast.IdTerm @ concat expr 2:2:7 + "X") + ) + ( ;;*ast.CondStmt @ concat expr 2:3:1 + ( ;;*ast.IndexedExpr @ concat expr 2:3:1 + ( ;;*ast.ExprList <⨯> @ ) - ) - ) - ) - - --- PASS: TestCheckValidPrograms/strptime_format (0.00s) - checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ strptime format:2:54 - ( ;;*ast.BuiltinExpr @ strptime format:2:54 - "strptime" - ( ;;*ast.ExprList @ strptime format:2:10-53 - ( ;;*ast.StringLit @ strptime format:2:10-30 - "2006-01-02 15:04:05") - ( ;;*ast.StringLit @ strptime format:2:33-53 - "2006-01-02 15:04:05") - ) - ) - ) - - --- PASS: TestCheckValidPrograms/capref_used_in_def (0.00s) - checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ capref used in def:2:1-22 - ( ;;*ast.CondStmt @ capref used in def:2:1-22 - ( ;;*ast.BinaryExpr @ capref used in def:2:1-22 - && - ( ;;*ast.ConvExpr @ capref used in def:2:1-12 - conv( ;;*ast.PatternExpr @ capref used in def:2:1-12 - ( ;;*ast.PatternLit @ capref used in def:2:1-12 - "(?P\\d+)") - ) - ) - ( ;;*ast.BinaryExpr @ capref used in def:2:17-22 - > - ( ;;*ast.CaprefTerm @ capref used in def:2:17-18 - "x") - ( ;;*ast.IntLit @ capref used in def:2:22 - 0) - ) + ( ;;*ast.IdTerm @ concat expr 2:3:1 + "X") ) ( ;;*ast.StmtList @ ) ) ) - --- PASS: TestCheckValidPrograms/string_concat (0.00s) + --- PASS: TestCheckValidPrograms/concat_expr_1 (0.00s) checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ string concat:2:9 - ( ;;*ast.VarDecl @ string concat:2:9 - counter f (s)) - ( ;;*ast.CondStmt @ string concat:3:1-12 - ( ;;*ast.PatternExpr @ string concat:3:1-12 - ( ;;*ast.PatternLit @ string concat:3:1-12 - "(.*), (.*)") - ) - ( ;;*ast.StmtList @ string concat:4:3-14 - ( ;;*ast.UnaryExpr @ string concat:4:3-14 + ( ;;*ast.StmtList @ concat expr 1:2:7 + ( ;;*ast.PatternFragment @ concat expr 1:2:7 + const ( ;;*ast.IdTerm @ concat expr 1:2:7 + "X") + ) + ( ;;*ast.CondStmt @ concat expr 1:3:1-9 + ( ;;*ast.PatternExpr @ concat expr 1:3:1-9 + ( ;;*ast.BinaryExpr @ concat expr 1:3:1-9 ++ - ( ;;*ast.IndexedExpr @ string concat:4:3-11 - ( ;;*ast.ExprList <⨯ String> @ string concat:4:5-11 - ( ;;*ast.BinaryExpr @ string concat:4:5-11 - + - ( ;;*ast.CaprefTerm @ string concat:4:5-6 - "1") - ( ;;*ast.CaprefTerm @ string concat:4:10-11 - "2") - ) - ) - ( ;;*ast.IdTerm @ string concat:4:3 - "f") - ) - ) + ( ;;*ast.PatternLit @ concat expr 1:3:1-5 + "bar") + ( ;;*ast.IdTerm @ concat expr 1:3:9 + "X") ) ) - ) - - --- PASS: TestCheckValidPrograms/stop (0.00s) - checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ stop:2:1-4 - ( ;;*ast.StopStmt @ stop:2:1-4 - stop) - ( ;;*ast.CondStmt @ stop:3:1-2 - ( ;;*ast.PatternExpr @ stop:3:1-2 - ( ;;*ast.PatternLit @ stop:3:1-2 - "") - ) - ( ;;*ast.StmtList @ stop:4:1-4 - ( ;;*ast.StopStmt @ stop:4:1-4 - stop) - ) - ) - ) - - --- PASS: TestCheckValidPrograms/paren_expr (0.00s) - checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ paren expr:2:2-14 - ( ;;*ast.CondStmt @ paren expr:2:2-14 - ( ;;*ast.BinaryExpr @ paren expr:2:2-14 - || - ( ;;*ast.IntLit @ paren expr:2:2 - 0) - ( ;;*ast.ConvExpr @ paren expr:2:9-14 - conv( ;;*ast.BinaryExpr @ paren expr:2:9-14 - && - ( ;;*ast.IntLit @ paren expr:2:9 - 1) - ( ;;*ast.IntLit @ paren expr:2:14 - 3) - ) - ) - ) ( ;;*ast.StmtList @ ) ) ) - --- PASS: TestCheckValidPrograms/conversions (0.00s) + --- PASS: TestCheckValidPrograms/concat_with_add_assign (0.01s) checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ conversions:1:9 - ( ;;*ast.VarDecl @ conversions:1:9 - counter i) - ( ;;*ast.VarDecl @ conversions:2:10 - counter f) - ( ;;*ast.CondStmt @ conversions:3:2-7 - ( ;;*ast.PatternExpr @ conversions:3:2-7 - ( ;;*ast.PatternLit @ conversions:3:2-7 - "(.*)") + ( ;;*ast.StmtList @ concat with add_assign:2:6-8 + ( ;;*ast.VarDecl @ concat with add_assign:2:6-8 + text foo) + ( ;;*ast.CondStmt @ concat with add_assign:3:1-11 + ( ;;*ast.PatternExpr @ concat with add_assign:3:1-11 + ( ;;*ast.PatternLit @ concat with add_assign:3:1-11 + "(?P.*)") ) - ( ;;*ast.StmtList @ conversions:4:4-14 - ( ;;*ast.BinaryExpr @ conversions:4:4-14 - = - ( ;;*ast.IndexedExpr @ conversions:4:4 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ conversions:4:4 - "i") - ) - ( ;;*ast.BuiltinExpr @ conversions:4:14 - "int" - ( ;;*ast.ExprList <⨯ String> @ conversions:4:12-13 - ( ;;*ast.CaprefTerm @ conversions:4:12-13 - "1") - ) - ) - ) - ( ;;*ast.BinaryExpr @ conversions:5:4-16 - = - ( ;;*ast.IndexedExpr @ conversions:5:4 + ( ;;*ast.StmtList @ concat with add_assign:4:3-11 + ( ;;*ast.BinaryExpr @ concat with add_assign:4:3-11 + += + ( ;;*ast.IndexedExpr @ concat with add_assign:4:3-5 ( ;;*ast.ExprList <⨯> @ ) - ( ;;*ast.IdTerm @ conversions:5:4 - "f") - ) - ( ;;*ast.BuiltinExpr @ conversions:5:16 - "float" - ( ;;*ast.ExprList <⨯ String> @ conversions:5:14-15 - ( ;;*ast.CaprefTerm @ conversions:5:14-15 - "1") - ) + ( ;;*ast.IdTerm @ concat with add_assign:4:3-5 + "foo") ) + ( ;;*ast.CaprefTerm @ concat with add_assign:4:10-11 + "v") ) ) ) ) - --- PASS: TestCheckValidPrograms/logical_operators (0.00s) + --- PASS: TestCheckValidPrograms/function_return_value (0.01s) checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ logical operators:1:1-6 - ( ;;*ast.CondStmt @ logical operators:1:1-6 - ( ;;*ast.BinaryExpr @ logical operators:1:1-6 - || - ( ;;*ast.IntLit @ logical operators:1:1 - 0) - ( ;;*ast.IntLit @ logical operators:1:6 - 1) - ) - ( ;;*ast.StmtList @ - ) - ) - ( ;;*ast.CondStmt @ logical operators:3:1-6 - ( ;;*ast.BinaryExpr @ logical operators:3:1-6 - && - ( ;;*ast.IntLit @ logical operators:3:1 - 1) - ( ;;*ast.IntLit @ logical operators:3:6 + ( ;;*ast.StmtList @ function return value:1:10-14 + ( ;;*ast.CondStmt @ function return value:1:10-14 + ( ;;*ast.BinaryExpr @ function return value:1:10-14 + > + ( ;;*ast.BuiltinExpr @ function return value:1:10 + "len" + ( ;;*ast.ExprList <⨯ String> @ function return value:1:5-9 + ( ;;*ast.StringLit @ function return value:1:5-9 + "foo") + ) + ) + ( ;;*ast.IntLit @ function return value:1:14 0) ) ( ;;*ast.StmtList @ @@ -18366,33 +18277,33 @@ ) ) - --- PASS: TestCheckValidPrograms/nested_binary_conditional (0.00s) + --- PASS: TestCheckValidPrograms/match_expr_1 (0.01s) checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ nested binary conditional:1:1-16 - ( ;;*ast.CondStmt @ nested binary conditional:1:1-16 - ( ;;*ast.BinaryExpr @ nested binary conditional:1:1-16 - && - ( ;;*ast.BinaryExpr @ nested binary conditional:1:1-6 - != - ( ;;*ast.IntLit @ nested binary conditional:1:1 - 1) - ( ;;*ast.IntLit @ nested binary conditional:1:6 - 0) + ( ;;*ast.StmtList @ match expr 1:2:1-13 + ( ;;*ast.CondStmt @ match expr 1:2:1-13 + ( ;;*ast.PatternExpr @ match expr 1:2:1-13 + ( ;;*ast.PatternLit @ match expr 1:2:1-13 + "(?P.*)") + ) + ( ;;*ast.StmtList @ match expr 1:3:3-15 + ( ;;*ast.CondStmt @ match expr 1:3:3-15 + ( ;;*ast.BinaryExpr @ match expr 1:3:3-15 + =~ + ( ;;*ast.CaprefTerm @ match expr 1:3:3-6 + "foo") + ( ;;*ast.PatternExpr @ match expr 1:3:11-15 + ( ;;*ast.PatternLit @ match expr 1:3:11-15 + "bar") + ) ) - ( ;;*ast.BinaryExpr @ nested binary conditional:1:11-16 - == - ( ;;*ast.IntLit @ nested binary conditional:1:11 - 0) - ( ;;*ast.IntLit @ nested binary conditional:1:16 - 1) + ( ;;*ast.StmtList @ ) - ) - ( ;;*ast.StmtList @ + ) ) ) ) - --- PASS: TestCheckValidPrograms/sibling_positionals (0.00s) + --- PASS: TestCheckValidPrograms/sibling_positionals (0.02s) checker_test.go:367: Typed AST: ( ;;*ast.StmtList @ sibling positionals:1:9-11 ( ;;*ast.VarDecl @ sibling positionals:1:9-11 @@ -18437,27 +18348,6 @@ ) ) - --- PASS: TestCheckValidPrograms/function_return_value (0.00s) - checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ function return value:1:10-14 - ( ;;*ast.CondStmt @ function return value:1:10-14 - ( ;;*ast.BinaryExpr @ function return value:1:10-14 - > - ( ;;*ast.BuiltinExpr @ function return value:1:10 - "len" - ( ;;*ast.ExprList <⨯ String> @ function return value:1:5-9 - ( ;;*ast.StringLit @ function return value:1:5-9 - "foo") - ) - ) - ( ;;*ast.IntLit @ function return value:1:14 - 0) - ) - ( ;;*ast.StmtList @ - ) - ) - ) - --- PASS: TestCheckValidPrograms/odd_indexes (0.01s) checker_test.go:367: Typed AST: ( ;;*ast.StmtList @ odd indexes:1:9-11 @@ -18488,118 +18378,38 @@ ) ) - --- PASS: TestCheckValidPrograms/concat_expr_1 (0.00s) - checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ concat expr 1:2:7 - ( ;;*ast.PatternFragment @ concat expr 1:2:7 - const ( ;;*ast.IdTerm @ concat expr 1:2:7 - "X") - ) - ( ;;*ast.CondStmt @ concat expr 1:3:1-9 - ( ;;*ast.PatternExpr @ concat expr 1:3:1-9 - ( ;;*ast.BinaryExpr @ concat expr 1:3:1-9 - ++ - ( ;;*ast.PatternLit @ concat expr 1:3:1-5 - "bar") - ( ;;*ast.IdTerm @ concat expr 1:3:9 - "X") - ) - ) - ( ;;*ast.StmtList @ - ) - ) - ) - - --- PASS: TestCheckValidPrograms/index_expression (0.05s) - checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ index expression:1:9-11 - ( ;;*ast.VarDecl @ index expression:1:9-11 - counter foo (a b)) - ( ;;*ast.CondStmt @ index expression:2:1-6 - ( ;;*ast.PatternExpr @ index expression:2:1-6 - ( ;;*ast.PatternLit @ index expression:2:1-6 - "(\\d)") - ) - ( ;;*ast.StmtList @ index expression:3:3-15 - ( ;;*ast.BinaryExpr @ index expression:3:3-15 - = - ( ;;*ast.IndexedExpr @ index expression:3:3-10 - ( ;;*ast.ExprList @ index expression:3:7-10 - ( ;;*ast.IntLit @ index expression:3:7 - 1) - ( ;;*ast.CaprefTerm @ index expression:3:9-10 - "1") - ) - ( ;;*ast.IdTerm @ index expression:3:3-5 - "foo") - ) - ( ;;*ast.IntLit @ index expression:3:15 - 3) - ) - ) - ) - ) - - --- PASS: TestCheckValidPrograms/binop_arith_type_conversion (0.06s) + --- PASS: TestCheckValidPrograms/stop (0.01s) checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ binop arith type conversion:2:7-9 - ( ;;*ast.VarDecl @ binop arith type conversion:2:7-9 - gauge var) - ( ;;*ast.CondStmt @ binop arith type conversion:3:1-23 - ( ;;*ast.PatternExpr @ binop arith type conversion:3:1-23 - ( ;;*ast.PatternLit @ binop arith type conversion:3:1-23 - "(?P\\d+) (\\d+\\.\\d+)") + ( ;;*ast.StmtList @ stop:2:1-4 + ( ;;*ast.StopStmt @ stop:2:1-4 + stop) + ( ;;*ast.CondStmt @ stop:3:1-2 + ( ;;*ast.PatternExpr @ stop:3:1-2 + ( ;;*ast.PatternLit @ stop:3:1-2 + "") ) - ( ;;*ast.StmtList @ binop arith type conversion:4:3-15 - ( ;;*ast.BinaryExpr @ binop arith type conversion:4:3-15 - = - ( ;;*ast.IndexedExpr @ binop arith type conversion:4:3-5 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ binop arith type conversion:4:3-5 - "var") - ) - ( ;;*ast.BinaryExpr @ binop arith type conversion:4:9-15 - + - ( ;;*ast.ConvExpr @ binop arith type conversion:4:9-10 - conv( ;;*ast.CaprefTerm @ binop arith type conversion:4:9-10 - "x") - ) - ( ;;*ast.CaprefTerm @ binop arith type conversion:4:14-15 - "2") - ) - ) + ( ;;*ast.StmtList @ stop:4:1-4 + ( ;;*ast.StopStmt @ stop:4:1-4 + stop) ) ) ) - --- PASS: TestCheckValidPrograms/match_expr_1 (0.06s) + --- PASS: TestCheckValidPrograms/strptime_format (0.01s) checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ match expr 1:2:1-13 - ( ;;*ast.CondStmt @ match expr 1:2:1-13 - ( ;;*ast.PatternExpr @ match expr 1:2:1-13 - ( ;;*ast.PatternLit @ match expr 1:2:1-13 - "(?P.*)") - ) - ( ;;*ast.StmtList @ match expr 1:3:3-15 - ( ;;*ast.CondStmt @ match expr 1:3:3-15 - ( ;;*ast.BinaryExpr @ match expr 1:3:3-15 - =~ - ( ;;*ast.CaprefTerm @ match expr 1:3:3-6 - "foo") - ( ;;*ast.PatternExpr @ match expr 1:3:11-15 - ( ;;*ast.PatternLit @ match expr 1:3:11-15 - "bar") - ) - ) - ( ;;*ast.StmtList @ - ) - ) + ( ;;*ast.StmtList @ strptime format:2:54 + ( ;;*ast.BuiltinExpr @ strptime format:2:54 + "strptime" + ( ;;*ast.ExprList @ strptime format:2:10-53 + ( ;;*ast.StringLit @ strptime format:2:10-30 + "2006-01-02 15:04:05") + ( ;;*ast.StringLit @ strptime format:2:33-53 + "2006-01-02 15:04:05") ) ) ) - --- PASS: TestCheckValidPrograms/implicit_int (0.06s) + --- PASS: TestCheckValidPrograms/implicit_int (0.00s) checker_test.go:367: Typed AST: ( ;;*ast.StmtList @ implicit int:1:9-11 ( ;;*ast.VarDecl @ implicit int:1:9-11 @@ -18623,7 +18433,31 @@ ) ) - --- PASS: TestCheckValidPrograms/match_expr_4 (0.06s) + --- PASS: TestCheckValidPrograms/decrement (0.01s) + checker_test.go:367: Typed AST: + ( ;;*ast.StmtList @ decrement:2:9 + ( ;;*ast.VarDecl @ decrement:2:9 + counter i) + ( ;;*ast.CondStmt @ decrement:3:1-4 + ( ;;*ast.PatternExpr @ decrement:3:1-4 + ( ;;*ast.PatternLit @ decrement:3:1-4 + ".*") + ) + ( ;;*ast.StmtList @ decrement:4:3-5 + ( ;;*ast.UnaryExpr @ decrement:4:3-5 + -- + ( ;;*ast.IndexedExpr @ decrement:4:3 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ decrement:4:3 + "i") + ) + ) + ) + ) + ) + + --- PASS: TestCheckValidPrograms/match_expr_4 (0.01s) checker_test.go:367: Typed AST: ( ;;*ast.StmtList @ match expr 4:2:1-27 ( ;;*ast.CondStmt @ match expr 4:2:1-27 @@ -18647,57 +18481,7 @@ ) ) - --- PASS: TestCheckValidPrograms/concat_with_add_assign (0.06s) - checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ concat with add_assign:2:6-8 - ( ;;*ast.VarDecl @ concat with add_assign:2:6-8 - text foo) - ( ;;*ast.CondStmt @ concat with add_assign:3:1-11 - ( ;;*ast.PatternExpr @ concat with add_assign:3:1-11 - ( ;;*ast.PatternLit @ concat with add_assign:3:1-11 - "(?P.*)") - ) - ( ;;*ast.StmtList @ concat with add_assign:4:3-11 - ( ;;*ast.BinaryExpr @ concat with add_assign:4:3-11 - += - ( ;;*ast.IndexedExpr @ concat with add_assign:4:3-5 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ concat with add_assign:4:3-5 - "foo") - ) - ( ;;*ast.CaprefTerm @ concat with add_assign:4:10-11 - "v") - ) - ) - ) - ) - - --- PASS: TestCheckValidPrograms/namespace (0.06s) - checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ namespace:2:9-12 - ( ;;*ast.VarDecl @ namespace:2:9-12 - counter test) - ( ;;*ast.CondStmt @ namespace:4:1-14 - ( ;;*ast.PatternExpr @ namespace:4:1-14 - ( ;;*ast.PatternLit @ namespace:4:1-14 - "(?P.*)") - ) - ( ;;*ast.StmtList @ namespace:5:5-10 - ( ;;*ast.UnaryExpr @ namespace:5:5-10 - ++ - ( ;;*ast.IndexedExpr @ namespace:5:5-8 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ namespace:5:5-8 - "test") - ) - ) - ) - ) - ) - - --- PASS: TestCheckValidPrograms/decorator_scopes (0.06s) + --- PASS: TestCheckValidPrograms/decorator_scopes (0.01s) checker_test.go:367: Typed AST: ( ;;*ast.StmtList @ decorator scopes:2:9 ( ;;*ast.VarDecl @ decorator scopes:2:9 @@ -18742,32 +18526,32 @@ ) ) - --- PASS: TestCheckValidPrograms/binop_compare_type_conversion (0.07s) + --- PASS: TestCheckValidPrograms/binop_arith_type_conversion (0.01s) checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ binop compare type conversion:2:7-9 - ( ;;*ast.VarDecl @ binop compare type conversion:2:7-9 + ( ;;*ast.StmtList @ binop arith type conversion:2:7-9 + ( ;;*ast.VarDecl @ binop arith type conversion:2:7-9 gauge var) - ( ;;*ast.CondStmt @ binop compare type conversion:3:1-23 - ( ;;*ast.PatternExpr @ binop compare type conversion:3:1-23 - ( ;;*ast.PatternLit @ binop compare type conversion:3:1-23 + ( ;;*ast.CondStmt @ binop arith type conversion:3:1-23 + ( ;;*ast.PatternExpr @ binop arith type conversion:3:1-23 + ( ;;*ast.PatternLit @ binop arith type conversion:3:1-23 "(?P\\d+) (\\d+\\.\\d+)") ) - ( ;;*ast.StmtList @ binop compare type conversion:4:3-15 - ( ;;*ast.BinaryExpr @ binop compare type conversion:4:3-15 + ( ;;*ast.StmtList @ binop arith type conversion:4:3-15 + ( ;;*ast.BinaryExpr @ binop arith type conversion:4:3-15 = - ( ;;*ast.IndexedExpr @ binop compare type conversion:4:3-5 + ( ;;*ast.IndexedExpr @ binop arith type conversion:4:3-5 ( ;;*ast.ExprList <⨯> @ ) - ( ;;*ast.IdTerm @ binop compare type conversion:4:3-5 + ( ;;*ast.IdTerm @ binop arith type conversion:4:3-5 "var") ) - ( ;;*ast.BinaryExpr @ binop compare type conversion:4:9-15 + ( ;;*ast.BinaryExpr @ binop arith type conversion:4:9-15 + - ( ;;*ast.ConvExpr @ binop compare type conversion:4:9-10 - conv( ;;*ast.CaprefTerm @ binop compare type conversion:4:9-10 + ( ;;*ast.ConvExpr @ binop arith type conversion:4:9-10 + conv( ;;*ast.CaprefTerm @ binop arith type conversion:4:9-10 "x") ) - ( ;;*ast.CaprefTerm @ binop compare type conversion:4:14-15 + ( ;;*ast.CaprefTerm @ binop arith type conversion:4:14-15 "2") ) ) @@ -18775,7 +18559,140 @@ ) ) - --- PASS: TestCheckValidPrograms/match_expression_3 (0.07s) + --- PASS: TestCheckValidPrograms/paren_expr (0.01s) + checker_test.go:367: Typed AST: + ( ;;*ast.StmtList @ paren expr:2:2-14 + ( ;;*ast.CondStmt @ paren expr:2:2-14 + ( ;;*ast.BinaryExpr @ paren expr:2:2-14 + || + ( ;;*ast.IntLit @ paren expr:2:2 + 0) + ( ;;*ast.ConvExpr @ paren expr:2:9-14 + conv( ;;*ast.BinaryExpr @ paren expr:2:9-14 + && + ( ;;*ast.IntLit @ paren expr:2:9 + 1) + ( ;;*ast.IntLit @ paren expr:2:14 + 3) + ) + ) + ) + ( ;;*ast.StmtList @ + ) + ) + ) + + --- PASS: TestCheckValidPrograms/logical_operators (0.01s) + checker_test.go:367: Typed AST: + ( ;;*ast.StmtList @ logical operators:1:1-6 + ( ;;*ast.CondStmt @ logical operators:1:1-6 + ( ;;*ast.BinaryExpr @ logical operators:1:1-6 + || + ( ;;*ast.IntLit @ logical operators:1:1 + 0) + ( ;;*ast.IntLit @ logical operators:1:6 + 1) + ) + ( ;;*ast.StmtList @ + ) + ) + ( ;;*ast.CondStmt @ logical operators:3:1-6 + ( ;;*ast.BinaryExpr @ logical operators:3:1-6 + && + ( ;;*ast.IntLit @ logical operators:3:1 + 1) + ( ;;*ast.IntLit @ logical operators:3:6 + 0) + ) + ( ;;*ast.StmtList @ + ) + ) + ) + + --- PASS: TestCheckValidPrograms/nested_binary_conditional (0.01s) + checker_test.go:367: Typed AST: + ( ;;*ast.StmtList @ nested binary conditional:1:1-16 + ( ;;*ast.CondStmt @ nested binary conditional:1:1-16 + ( ;;*ast.BinaryExpr @ nested binary conditional:1:1-16 + && + ( ;;*ast.BinaryExpr @ nested binary conditional:1:1-6 + != + ( ;;*ast.IntLit @ nested binary conditional:1:1 + 1) + ( ;;*ast.IntLit @ nested binary conditional:1:6 + 0) + ) + ( ;;*ast.BinaryExpr @ nested binary conditional:1:11-16 + == + ( ;;*ast.IntLit @ nested binary conditional:1:11 + 0) + ( ;;*ast.IntLit @ nested binary conditional:1:16 + 1) + ) + ) + ( ;;*ast.StmtList @ + ) + ) + ) + + --- PASS: TestCheckValidPrograms/string_concat (0.01s) + checker_test.go:367: Typed AST: + ( ;;*ast.StmtList @ string concat:2:9 + ( ;;*ast.VarDecl @ string concat:2:9 + counter f (s)) + ( ;;*ast.CondStmt @ string concat:3:1-12 + ( ;;*ast.PatternExpr @ string concat:3:1-12 + ( ;;*ast.PatternLit @ string concat:3:1-12 + "(.*), (.*)") + ) + ( ;;*ast.StmtList @ string concat:4:3-14 + ( ;;*ast.UnaryExpr @ string concat:4:3-14 + ++ + ( ;;*ast.IndexedExpr @ string concat:4:3-11 + ( ;;*ast.ExprList <⨯ String> @ string concat:4:5-11 + ( ;;*ast.BinaryExpr @ string concat:4:5-11 + + + ( ;;*ast.CaprefTerm @ string concat:4:5-6 + "1") + ( ;;*ast.CaprefTerm @ string concat:4:10-11 + "2") + ) + ) + ( ;;*ast.IdTerm @ string concat:4:3 + "f") + ) + ) + ) + ) + ) + + --- PASS: TestCheckValidPrograms/capture_group (0.00s) + checker_test.go:367: Typed AST: + ( ;;*ast.StmtList @ capture group:1:9-11 + ( ;;*ast.VarDecl @ capture group:1:9-11 + counter foo) + ( ;;*ast.CondStmt @ capture group:2:1-6 + ( ;;*ast.PatternExpr @ capture group:2:1-6 + ( ;;*ast.PatternLit @ capture group:2:1-6 + "(.*)") + ) + ( ;;*ast.StmtList @ capture group:3:3-11 + ( ;;*ast.BinaryExpr @ capture group:3:3-11 + += + ( ;;*ast.IndexedExpr @ capture group:3:3-5 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ capture group:3:3-5 + "foo") + ) + ( ;;*ast.CaprefTerm @ capture group:3:10-11 + "1") + ) + ) + ) + ) + + --- PASS: TestCheckValidPrograms/match_expression_3 (0.00s) checker_test.go:367: Typed AST: ( ;;*ast.StmtList @ match expression 3:2:7 ( ;;*ast.PatternFragment @ match expression 3:2:7 @@ -18799,50 +18716,111 @@ ) ) - --- PASS: TestCheckValidPrograms/concat_expr_2 (0.07s) + --- PASS: TestCheckValidPrograms/index_expression (0.00s) checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ concat expr 2:2:7 - ( ;;*ast.PatternFragment @ concat expr 2:2:7 - const ( ;;*ast.IdTerm @ concat expr 2:2:7 - "X") - ) - ( ;;*ast.CondStmt @ concat expr 2:3:1 - ( ;;*ast.IndexedExpr @ concat expr 2:3:1 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ concat expr 2:3:1 - "X") + ( ;;*ast.StmtList @ index expression:1:9-11 + ( ;;*ast.VarDecl @ index expression:1:9-11 + counter foo (a b)) + ( ;;*ast.CondStmt @ index expression:2:1-6 + ( ;;*ast.PatternExpr @ index expression:2:1-6 + ( ;;*ast.PatternLit @ index expression:2:1-6 + "(\\d)") ) - ( ;;*ast.StmtList @ + ( ;;*ast.StmtList @ index expression:3:3-15 + ( ;;*ast.BinaryExpr @ index expression:3:3-15 + = + ( ;;*ast.IndexedExpr @ index expression:3:3-10 + ( ;;*ast.ExprList @ index expression:3:7-10 + ( ;;*ast.IntLit @ index expression:3:7 + 1) + ( ;;*ast.CaprefTerm @ index expression:3:9-10 + "1") + ) + ( ;;*ast.IdTerm @ index expression:3:3-5 + "foo") + ) + ( ;;*ast.IntLit @ index expression:3:15 + 3) + ) ) ) ) - --- PASS: TestCheckValidPrograms/decrement (0.08s) + --- PASS: TestCheckValidPrograms/conversions (0.02s) checker_test.go:367: Typed AST: - ( ;;*ast.StmtList @ decrement:2:9 - ( ;;*ast.VarDecl @ decrement:2:9 + ( ;;*ast.StmtList @ conversions:1:9 + ( ;;*ast.VarDecl @ conversions:1:9 counter i) - ( ;;*ast.CondStmt @ decrement:3:1-4 - ( ;;*ast.PatternExpr @ decrement:3:1-4 - ( ;;*ast.PatternLit @ decrement:3:1-4 - ".*") + ( ;;*ast.VarDecl @ conversions:2:10 + counter f) + ( ;;*ast.CondStmt @ conversions:3:2-7 + ( ;;*ast.PatternExpr @ conversions:3:2-7 + ( ;;*ast.PatternLit @ conversions:3:2-7 + "(.*)") ) - ( ;;*ast.StmtList @ decrement:4:3-5 - ( ;;*ast.UnaryExpr @ decrement:4:3-5 - -- - ( ;;*ast.IndexedExpr @ decrement:4:3 + ( ;;*ast.StmtList @ conversions:4:4-14 + ( ;;*ast.BinaryExpr @ conversions:4:4-14 + = + ( ;;*ast.IndexedExpr @ conversions:4:4 ( ;;*ast.ExprList <⨯> @ ) - ( ;;*ast.IdTerm @ decrement:4:3 + ( ;;*ast.IdTerm @ conversions:4:4 "i") ) - ) + ( ;;*ast.BuiltinExpr @ conversions:4:14 + "int" + ( ;;*ast.ExprList <⨯ String> @ conversions:4:12-13 + ( ;;*ast.CaprefTerm @ conversions:4:12-13 + "1") + ) + ) + ) + ( ;;*ast.BinaryExpr @ conversions:5:4-16 + = + ( ;;*ast.IndexedExpr @ conversions:5:4 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ conversions:5:4 + "f") + ) + ( ;;*ast.BuiltinExpr @ conversions:5:16 + "float" + ( ;;*ast.ExprList <⨯ String> @ conversions:5:14-15 + ( ;;*ast.CaprefTerm @ conversions:5:14-15 + "1") + ) + ) ) ) ) + ) + + --- PASS: TestCheckValidPrograms/capref_used_in_def (0.00s) + checker_test.go:367: Typed AST: + ( ;;*ast.StmtList @ capref used in def:2:1-22 + ( ;;*ast.CondStmt @ capref used in def:2:1-22 + ( ;;*ast.BinaryExpr @ capref used in def:2:1-22 + && + ( ;;*ast.ConvExpr @ capref used in def:2:1-12 + conv( ;;*ast.PatternExpr @ capref used in def:2:1-12 + ( ;;*ast.PatternLit @ capref used in def:2:1-12 + "(?P\\d+)") + ) + ) + ( ;;*ast.BinaryExpr @ capref used in def:2:17-22 + > + ( ;;*ast.CaprefTerm @ capref used in def:2:17-18 + "x") + ( ;;*ast.IntLit @ capref used in def:2:22 + 0) + ) + ) + ( ;;*ast.StmtList @ + ) + ) + ) - --- PASS: TestCheckValidPrograms/shadowed_positionals (0.08s) + --- PASS: TestCheckValidPrograms/shadowed_positionals (0.00s) checker_test.go:367: Typed AST: ( ;;*ast.StmtList @ shadowed positionals:1:9-11 ( ;;*ast.VarDecl @ shadowed positionals:1:9-11 @@ -18887,6 +18865,63 @@ ) ) + --- PASS: TestCheckValidPrograms/namespace (0.00s) + checker_test.go:367: Typed AST: + ( ;;*ast.StmtList @ namespace:2:9-12 + ( ;;*ast.VarDecl @ namespace:2:9-12 + counter test) + ( ;;*ast.CondStmt @ namespace:4:1-14 + ( ;;*ast.PatternExpr @ namespace:4:1-14 + ( ;;*ast.PatternLit @ namespace:4:1-14 + "(?P.*)") + ) + ( ;;*ast.StmtList @ namespace:5:5-10 + ( ;;*ast.UnaryExpr @ namespace:5:5-10 + ++ + ( ;;*ast.IndexedExpr @ namespace:5:5-8 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ namespace:5:5-8 + "test") + ) + ) + ) + ) + ) + + --- PASS: TestCheckValidPrograms/binop_compare_type_conversion (0.00s) + checker_test.go:367: Typed AST: + ( ;;*ast.StmtList @ binop compare type conversion:2:7-9 + ( ;;*ast.VarDecl @ binop compare type conversion:2:7-9 + gauge var) + ( ;;*ast.CondStmt @ binop compare type conversion:3:1-23 + ( ;;*ast.PatternExpr @ binop compare type conversion:3:1-23 + ( ;;*ast.PatternLit @ binop compare type conversion:3:1-23 + "(?P\\d+) (\\d+\\.\\d+)") + ) + ( ;;*ast.StmtList @ binop compare type conversion:4:3-15 + ( ;;*ast.BinaryExpr @ binop compare type conversion:4:3-15 + = + ( ;;*ast.IndexedExpr @ binop compare type conversion:4:3-5 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ binop compare type conversion:4:3-5 + "var") + ) + ( ;;*ast.BinaryExpr @ binop compare type conversion:4:9-15 + + + ( ;;*ast.ConvExpr @ binop compare type conversion:4:9-10 + conv( ;;*ast.CaprefTerm @ binop compare type conversion:4:9-10 + "x") + ) + ( ;;*ast.CaprefTerm @ binop compare type conversion:4:14-15 + "2") + ) + ) + ) + ) + ) + === RUN TestCheckTypeExpressions === RUN TestCheckTypeExpressions/Int_+_Int_->_Int === PAUSE TestCheckTypeExpressions/Int_+_Int_->_Int @@ -18894,21 +18929,21 @@ === PAUSE TestCheckTypeExpressions/Int_+_Float_->_Float === RUN TestCheckTypeExpressions/⍺_+_Float_->_Float === PAUSE TestCheckTypeExpressions/⍺_+_Float_->_Float -=== CONT TestCheckTypeExpressions/Int_+_Int_->_Int === CONT TestCheckTypeExpressions/⍺_+_Float_->_Float === CONT TestCheckTypeExpressions/Int_+_Float_->_Float +=== CONT TestCheckTypeExpressions/Int_+_Int_->_Int --- PASS: TestCheckTypeExpressions (0.00s) - --- PASS: TestCheckTypeExpressions/Int_+_Int_->_Int (0.00s) --- PASS: TestCheckTypeExpressions/⍺_+_Float_->_Float (0.00s) --- PASS: TestCheckTypeExpressions/Int_+_Float_->_Float (0.00s) + --- PASS: TestCheckTypeExpressions/Int_+_Int_->_Int (0.00s) PASS -ok github.com/google/mtail/internal/vm/checker 1.474s +ok github.com/google/mtail/internal/vm/checker 1.098s === RUN TestOpcodeHasString --- PASS: TestOpcodeHasString (0.00s) === RUN TestInstrString --- PASS: TestInstrString (0.00s) PASS -ok github.com/google/mtail/internal/vm/code 1.038s +ok github.com/google/mtail/internal/vm/code 1.023s === RUN TestCodegen === RUN TestCodegen/simple_line_counter === PAUSE TestCodegen/simple_line_counter @@ -19004,123 +19039,63 @@ === PAUSE TestCodegen/stop === RUN TestCodegen/stop_inside === PAUSE TestCodegen/stop_inside -=== CONT TestCodegen/strptime_and_capref -=== CONT TestCodegen/types -=== CONT TestCodegen/length -=== CONT TestCodegen/nested_cond -=== CONT TestCodegen/del_after +=== CONT TestCodegen/simple_line_counter +=== CONT TestCodegen/getfilename +=== CONT TestCodegen/deco === CONT TestCodegen/cond_expr_lt -=== CONT TestCodegen/float -=== CONT TestCodegen/indexed_expr -=== CONT TestCodegen/cond_expr_gt -=== CONT TestCodegen/pow -=== CONT TestCodegen/bitwise -=== CONT TestCodegen/strptime_and_named_capref -=== CONT TestCodegen/del -=== CONT TestCodegen/cond_expr_ge -=== CONT TestCodegen/stop -=== CONT TestCodegen/mod -=== CONT TestCodegen/strtol -=== CONT TestCodegen/inc_by_and_set -=== CONT TestCodegen/stop_inside -=== CONT TestCodegen/cast_to_self === CONT TestCodegen/cond_expr_le +=== CONT TestCodegen/stop_inside +=== CONT TestCodegen/del_after === CONT TestCodegen/cond_expr_ne -=== CONT TestCodegen/count_a -=== CONT TestCodegen/decrement -=== CONT TestCodegen/otherwise -=== CONT TestCodegen/deco -=== CONT TestCodegen/cond_else +=== CONT TestCodegen/cond_expr_gt +=== CONT TestCodegen/cast_to_self +=== CONT TestCodegen/nested_cond +=== CONT TestCodegen/cond_expr_ge +=== CONT TestCodegen/capref_and_settime === CONT TestCodegen/cond_expr_eq -=== CONT TestCodegen/nested_comparisons -=== CONT TestCodegen/simple_line_counter -=== CONT TestCodegen/string_concat -=== CONT TestCodegen/string_to_int -=== CONT TestCodegen/dimensioned_counter -=== CONT TestCodegen/int_to_string -=== CONT TestCodegen/float_to_string -=== CONT TestCodegen/capref_used_in_def +=== CONT TestCodegen/strptime_and_capref +=== CONT TestCodegen/concat_to_text +=== CONT TestCodegen/strptime_and_named_capref === CONT TestCodegen/set_string -=== CONT TestCodegen/binop_compare_type_conversion -=== CONT TestCodegen/int_to_float -=== CONT TestCodegen/getfilename +=== CONT TestCodegen/capref_used_in_def === CONT TestCodegen/binop_arith_type_conversion +=== CONT TestCodegen/binop_compare_type_conversion === CONT TestCodegen/negative_match_expression -=== CONT TestCodegen/concat_to_text -=== CONT TestCodegen/string_to_float === CONT TestCodegen/match_expression +=== CONT TestCodegen/nested_comparisons +=== CONT TestCodegen/stop +=== CONT TestCodegen/int_to_string +=== CONT TestCodegen/decrement === CONT TestCodegen/add_assign_float -=== CONT TestCodegen/capref_and_settime ---- PASS: TestCodegen (0.03s) - --- PASS: TestCodegen/strptime_and_capref (0.00s) - codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ strptime and capref:1:9-11 - ( ;;*ast.VarDecl @ strptime and capref:1:9-11 - counter foo) - ( ;;*ast.CondStmt @ strptime and capref:2:1-44 - ( ;;*ast.PatternExpr @ strptime and capref:2:1-6 - ( ;;*ast.PatternLit @ strptime and capref:2:1-6 - "(.*)") - ) - ( ;;*ast.StmtList @ strptime and capref:2:44 - ( ;;*ast.BuiltinExpr @ strptime and capref:2:44 - "strptime" - ( ;;*ast.ExprList @ strptime and capref:2:19-43 - ( ;;*ast.CaprefTerm @ strptime and capref:2:19-20 - "1") - ( ;;*ast.StringLit @ strptime and capref:2:23-43 - "2006-01-02T15:04:05") - ) - ) - ( ;;*ast.UnaryExpr @ strptime and capref:3:1-5 - ++ - ( ;;*ast.IndexedExpr @ strptime and capref:3:1-3 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ strptime and capref:3:1-3 - "foo") - ) - ) - ) - ) - ) - - --- PASS: TestCodegen/length (0.00s) +=== CONT TestCodegen/inc_by_and_set +=== CONT TestCodegen/int_to_float +=== CONT TestCodegen/string_concat +=== CONT TestCodegen/float_to_string +=== CONT TestCodegen/string_to_int +=== CONT TestCodegen/bitwise +=== CONT TestCodegen/otherwise +=== CONT TestCodegen/pow +=== CONT TestCodegen/indexed_expr +=== CONT TestCodegen/length +=== CONT TestCodegen/string_to_float +=== CONT TestCodegen/count_a +=== CONT TestCodegen/mod +=== CONT TestCodegen/del +=== CONT TestCodegen/strtol +=== CONT TestCodegen/cond_else +=== CONT TestCodegen/float +=== CONT TestCodegen/types +=== CONT TestCodegen/dimensioned_counter +--- PASS: TestCodegen (0.02s) + --- PASS: TestCodegen/getfilename (0.01s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ length:1:10-14 - ( ;;*ast.CondStmt @ length:1:10-14 - ( ;;*ast.BinaryExpr @ length:1:10-14 - > - ( ;;*ast.BuiltinExpr @ length:1:10 - "len" - ( ;;*ast.ExprList <⨯ String> @ length:1:5-9 - ( ;;*ast.StringLit @ length:1:5-9 - "foo") - ) - ) - ( ;;*ast.IntLit @ length:1:14 - 0) - ) - ( ;;*ast.StmtList @ - ) + ( ;;*ast.StmtList @ getfilename:2:13 + ( ;;*ast.BuiltinExpr @ getfilename:2:13 + "getfilename" ) ) - --- PASS: TestCodegen/float (0.00s) - codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ float:2:1-4 - ( ;;*ast.FloatLit @ float:2:1-4 - 20) - ) - - --- PASS: TestCodegen/stop (0.02s) - codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ stop:2:1-4 - ( ;;*ast.StopStmt @ stop:2:1-4 - stop) - ) - - --- PASS: TestCodegen/stop_inside (0.00s) + --- PASS: TestCodegen/stop_inside (0.01s) codegen_test.go:867: Typed AST: ( ;;*ast.StmtList @ stop inside:2:1-2 ( ;;*ast.CondStmt @ stop inside:2:1-2 @@ -19135,146 +19110,139 @@ ) ) - --- PASS: TestCodegen/cond_expr_ge (0.02s) + --- PASS: TestCodegen/simple_line_counter (0.03s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ cond expr ge:1:9-11 - ( ;;*ast.VarDecl @ cond expr ge:1:9-11 - counter foo) - ( ;;*ast.CondStmt @ cond expr ge:2:1-6 - ( ;;*ast.BinaryExpr @ cond expr ge:2:1-6 - >= - ( ;;*ast.IntLit @ cond expr ge:2:1 - 1) - ( ;;*ast.IntLit @ cond expr ge:2:6 - 0) + ( ;;*ast.StmtList @ simple line counter:1:9-18 + ( ;;*ast.VarDecl @ simple line counter:1:9-18 + counter line_count) + ( ;;*ast.CondStmt @ simple line counter:2:1-18 + ( ;;*ast.PatternExpr @ simple line counter:2:1-3 + ( ;;*ast.PatternLit @ simple line counter:2:1-3 + "$") ) - ( ;;*ast.StmtList @ cond expr ge:3:3-7 - ( ;;*ast.UnaryExpr @ cond expr ge:3:3-7 + ( ;;*ast.StmtList @ simple line counter:2:7-18 + ( ;;*ast.UnaryExpr @ simple line counter:2:7-18 ++ - ( ;;*ast.IndexedExpr @ cond expr ge:3:3-5 + ( ;;*ast.IndexedExpr @ simple line counter:2:7-16 ( ;;*ast.ExprList <⨯> @ ) - ( ;;*ast.IdTerm @ cond expr ge:3:3-5 - "foo") + ( ;;*ast.IdTerm @ simple line counter:2:7-16 + "line_count") ) ) ) ) ) - --- PASS: TestCodegen/inc_by_and_set (0.00s) + --- PASS: TestCodegen/cond_expr_gt (0.02s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ inc by and set:1:9-11 - ( ;;*ast.VarDecl @ inc by and set:1:9-11 + ( ;;*ast.StmtList @ cond expr gt:1:9-11 + ( ;;*ast.VarDecl @ cond expr gt:1:9-11 counter foo) - ( ;;*ast.VarDecl @ inc by and set:2:9-11 - counter bar) - ( ;;*ast.CondStmt @ inc by and set:3:1-10 - ( ;;*ast.PatternExpr @ inc by and set:3:1-10 - ( ;;*ast.PatternLit @ inc by and set:3:1-10 - "([0-9]+)") + ( ;;*ast.CondStmt @ cond expr gt:2:1-5 + ( ;;*ast.BinaryExpr @ cond expr gt:2:1-5 + > + ( ;;*ast.IntLit @ cond expr gt:2:1 + 1) + ( ;;*ast.IntLit @ cond expr gt:2:5 + 0) ) - ( ;;*ast.StmtList @ inc by and set:4:1-9 - ( ;;*ast.BinaryExpr @ inc by and set:4:1-9 - += - ( ;;*ast.IndexedExpr @ inc by and set:4:1-3 + ( ;;*ast.StmtList @ cond expr gt:3:3-7 + ( ;;*ast.UnaryExpr @ cond expr gt:3:3-7 + ++ + ( ;;*ast.IndexedExpr @ cond expr gt:3:3-5 ( ;;*ast.ExprList <⨯> @ ) - ( ;;*ast.IdTerm @ inc by and set:4:1-3 + ( ;;*ast.IdTerm @ cond expr gt:3:3-5 "foo") ) - ( ;;*ast.CaprefTerm @ inc by and set:4:8-9 - "1") - ) - ( ;;*ast.BinaryExpr @ inc by and set:5:1-8 - = - ( ;;*ast.IndexedExpr @ inc by and set:5:1-3 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ inc by and set:5:1-3 - "bar") - ) - ( ;;*ast.CaprefTerm @ inc by and set:5:7-8 - "1") + ) ) ) ) + + --- PASS: TestCodegen/del_after (0.02s) + codegen_test.go:867: Typed AST: + ( ;;*ast.StmtList @ del after:2:9 + ( ;;*ast.VarDecl @ del after:2:9 + counter a (b)) + ( ;;*ast.DelStmt @ del after:3:23-24 + del after 1h0m0s) ) - --- PASS: TestCodegen/cast_to_self (0.00s) + --- PASS: TestCodegen/deco (0.03s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ cast to self:2:1-7 - ( ;;*ast.CondStmt @ cast to self:2:1-7 - ( ;;*ast.PatternExpr @ cast to self:2:1-7 - ( ;;*ast.PatternLit @ cast to self:2:1-7 - "(\\d+)") + ( ;;*ast.StmtList @ deco:1:9-11 + ( ;;*ast.VarDecl @ deco:1:9-11 + counter foo) + ( ;;*ast.VarDecl @ deco:2:9-11 + counter bar) + ( ;;*ast.DecoDecl @ deco:4:3-6 + ( ;;*ast.StmtList @ deco:4:3-6 + ( ;;*ast.CondStmt @ deco:4:3-6 + ( ;;*ast.PatternExpr @ deco:4:3-6 + ( ;;*ast.PatternLit @ deco:4:3-6 + ".*") + ) + ( ;;*ast.StmtList @ deco:5:5-9 + ( ;;*ast.UnaryExpr @ deco:5:5-9 + ++ + ( ;;*ast.IndexedExpr @ deco:5:5-7 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ deco:5:5-7 + "foo") + ) + ) + ( ;;*ast.NextStmt @ deco:6:5-8 + next) + ) + ) + ) ) - ( ;;*ast.StmtList @ cast to self:3:16 - ( ;;*ast.BuiltinExpr @ cast to self:3:16 - "settime" - ( ;;*ast.ExprList <⨯ Int> @ cast to self:3:15 - ( ;;*ast.BuiltinExpr @ cast to self:3:15 - "int" - ( ;;*ast.ExprList <⨯ Int> @ cast to self:3:13-14 - ( ;;*ast.CaprefTerm @ cast to self:3:13-14 - "1") + ( ;;*ast.DecoStmt @ deco:9:1-16 + ( ;;*ast.StmtList @ deco:9:12-16 + ( ;;*ast.UnaryExpr @ deco:9:12-16 + ++ + ( ;;*ast.IndexedExpr @ deco:9:12-14 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ deco:9:12-14 + "bar") ) ) ) ) ) - ) - ) - - --- PASS: TestCodegen/mod (0.01s) - codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ mod:2:1-5 - ( ;;*ast.BinaryExpr @ mod:2:1-5 - % - ( ;;*ast.IntLit @ mod:2:1 - 3) - ( ;;*ast.IntLit @ mod:2:5 - 1) - ) - ) - --- PASS: TestCodegen/strtol (0.01s) + --- PASS: TestCodegen/cond_expr_ne (0.02s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ strtol:2:22 - ( ;;*ast.BuiltinExpr @ strtol:2:22 - "strtol" - ( ;;*ast.ExprList @ strtol:2:8-21 - ( ;;*ast.StringLit @ strtol:2:8-17 - "deadbeef") - ( ;;*ast.IntLit @ strtol:2:20-21 - 16) + ( ;;*ast.StmtList @ cond expr ne:1:9-11 + ( ;;*ast.VarDecl @ cond expr ne:1:9-11 + counter foo) + ( ;;*ast.CondStmt @ cond expr ne:2:1-6 + ( ;;*ast.BinaryExpr @ cond expr ne:2:1-6 + != + ( ;;*ast.IntLit @ cond expr ne:2:1 + 1) + ( ;;*ast.IntLit @ cond expr ne:2:6 + 0) ) - ) - ) - - --- PASS: TestCodegen/otherwise (0.01s) - codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ otherwise:2:9 - ( ;;*ast.VarDecl @ otherwise:2:9 - counter a) - ( ;;*ast.CondStmt @ otherwise:5:1 - ( ;;*ast.OtherwiseStmt @ otherwise:5:1 - otherwise) - ( ;;*ast.StmtList @ otherwise:4:2-4 - ( ;;*ast.UnaryExpr @ otherwise:4:2-4 + ( ;;*ast.StmtList @ cond expr ne:3:3-7 + ( ;;*ast.UnaryExpr @ cond expr ne:3:3-7 ++ - ( ;;*ast.IndexedExpr @ otherwise:4:2 + ( ;;*ast.IndexedExpr @ cond expr ne:3:3-5 ( ;;*ast.ExprList <⨯> @ ) - ( ;;*ast.IdTerm @ otherwise:4:2 - "a") + ( ;;*ast.IdTerm @ cond expr ne:3:3-5 + "foo") ) ) ) ) ) - --- PASS: TestCodegen/cond_expr_lt (0.05s) + --- PASS: TestCodegen/cond_expr_lt (0.03s) codegen_test.go:867: Typed AST: ( ;;*ast.StmtList @ cond expr lt:1:9-11 ( ;;*ast.VarDecl @ cond expr lt:1:9-11 @@ -19301,204 +19269,164 @@ ) ) - --- PASS: TestCodegen/types (0.05s) + --- PASS: TestCodegen/cond_expr_ge (0.02s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ types:2:7 - ( ;;*ast.VarDecl @ types:2:7 - gauge i) - ( ;;*ast.VarDecl @ types:3:7 - gauge f) - ( ;;*ast.CondStmt @ types:4:1-7 - ( ;;*ast.PatternExpr @ types:4:1-7 - ( ;;*ast.PatternLit @ types:4:1-7 - "(\\d+)") + ( ;;*ast.StmtList @ cond expr ge:1:9-11 + ( ;;*ast.VarDecl @ cond expr ge:1:9-11 + counter foo) + ( ;;*ast.CondStmt @ cond expr ge:2:1-6 + ( ;;*ast.BinaryExpr @ cond expr ge:2:1-6 + >= + ( ;;*ast.IntLit @ cond expr ge:2:1 + 1) + ( ;;*ast.IntLit @ cond expr ge:2:6 + 0) ) - ( ;;*ast.StmtList @ types:5:2-7 - ( ;;*ast.BinaryExpr @ types:5:2-7 - = - ( ;;*ast.IndexedExpr @ types:5:2 + ( ;;*ast.StmtList @ cond expr ge:3:3-7 + ( ;;*ast.UnaryExpr @ cond expr ge:3:3-7 + ++ + ( ;;*ast.IndexedExpr @ cond expr ge:3:3-5 ( ;;*ast.ExprList <⨯> @ ) - ( ;;*ast.IdTerm @ types:5:2 - "i") + ( ;;*ast.IdTerm @ cond expr ge:3:3-5 + "foo") ) - ( ;;*ast.CaprefTerm @ types:5:6-7 - "1") + ) ) ) ) - ( ;;*ast.CondStmt @ types:7:1-12 - ( ;;*ast.PatternExpr @ types:7:1-12 - ( ;;*ast.PatternLit @ types:7:1-12 - "(\\d+\\.\\d+)") + + --- PASS: TestCodegen/capref_and_settime (0.02s) + codegen_test.go:867: Typed AST: + ( ;;*ast.StmtList @ capref and settime:2:1-7 + ( ;;*ast.CondStmt @ capref and settime:2:1-7 + ( ;;*ast.PatternExpr @ capref and settime:2:1-7 + ( ;;*ast.PatternLit @ capref and settime:2:1-7 + "(\\d+)") ) - ( ;;*ast.StmtList @ types:8:2-7 - ( ;;*ast.BinaryExpr @ types:8:2-7 - = - ( ;;*ast.IndexedExpr @ types:8:2 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ types:8:2 - "f") - ) - ( ;;*ast.CaprefTerm @ types:8:6-7 + ( ;;*ast.StmtList @ capref and settime:3:13 + ( ;;*ast.BuiltinExpr @ capref and settime:3:13 + "settime" + ( ;;*ast.ExprList <⨯ Int> @ capref and settime:3:11-12 + ( ;;*ast.CaprefTerm @ capref and settime:3:11-12 "1") + ) ) ) ) ) - --- PASS: TestCodegen/del (0.03s) - codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ del:2:9 - ( ;;*ast.VarDecl @ del:2:9 - counter a (b)) - ( ;;*ast.DelStmt @ del:4:16 - del) - ) - - --- PASS: TestCodegen/cond_else (0.00s) + --- PASS: TestCodegen/strptime_and_capref (0.02s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ cond else:1:9-11 - ( ;;*ast.VarDecl @ cond else:1:9-11 + ( ;;*ast.StmtList @ strptime and capref:1:9-11 + ( ;;*ast.VarDecl @ strptime and capref:1:9-11 counter foo) - ( ;;*ast.VarDecl @ cond else:2:9-11 - counter bar) - ( ;;*ast.CondStmt @ cond else:3:1-5 - ( ;;*ast.BinaryExpr @ cond else:3:1-5 - > - ( ;;*ast.IntLit @ cond else:3:1 - 1) - ( ;;*ast.IntLit @ cond else:3:5 - 0) + ( ;;*ast.CondStmt @ strptime and capref:2:1-44 + ( ;;*ast.PatternExpr @ strptime and capref:2:1-6 + ( ;;*ast.PatternLit @ strptime and capref:2:1-6 + "(.*)") ) - ( ;;*ast.StmtList @ cond else:4:3-7 - ( ;;*ast.UnaryExpr @ cond else:4:3-7 + ( ;;*ast.StmtList @ strptime and capref:2:44 + ( ;;*ast.BuiltinExpr @ strptime and capref:2:44 + "strptime" + ( ;;*ast.ExprList @ strptime and capref:2:19-43 + ( ;;*ast.CaprefTerm @ strptime and capref:2:19-20 + "1") + ( ;;*ast.StringLit @ strptime and capref:2:23-43 + "2006-01-02T15:04:05") + ) + ) + ( ;;*ast.UnaryExpr @ strptime and capref:3:1-5 ++ - ( ;;*ast.IndexedExpr @ cond else:4:3-5 + ( ;;*ast.IndexedExpr @ strptime and capref:3:1-3 ( ;;*ast.ExprList <⨯> @ ) - ( ;;*ast.IdTerm @ cond else:4:3-5 + ( ;;*ast.IdTerm @ strptime and capref:3:1-3 "foo") ) ) ) - ( ;;*ast.StmtList @ cond else:6:3-7 - ( ;;*ast.UnaryExpr @ cond else:6:3-7 - ++ - ( ;;*ast.IndexedExpr @ cond else:6:3-5 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ cond else:6:3-5 - "bar") - ) - ) - ) - ) ) + ) - --- PASS: TestCodegen/del_after (0.01s) - codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ del after:2:9 - ( ;;*ast.VarDecl @ del after:2:9 - counter a (b)) - ( ;;*ast.DelStmt @ del after:3:23-24 - del after 1h0m0s) - ) - - --- PASS: TestCodegen/nested_cond (0.02s) + --- PASS: TestCodegen/cond_expr_le (0.04s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ nested cond:1:9-11 - ( ;;*ast.VarDecl @ nested cond:1:9-11 + ( ;;*ast.StmtList @ cond expr le:1:9-11 + ( ;;*ast.VarDecl @ cond expr le:1:9-11 counter foo) - ( ;;*ast.CondStmt @ nested cond:2:1-7 - ( ;;*ast.PatternExpr @ nested cond:2:1-7 - ( ;;*ast.PatternLit @ nested cond:2:1-7 - "(\\d+)") + ( ;;*ast.CondStmt @ cond expr le:2:1-6 + ( ;;*ast.BinaryExpr @ cond expr le:2:1-6 + <= + ( ;;*ast.IntLit @ cond expr le:2:1 + 1) + ( ;;*ast.IntLit @ cond expr le:2:6 + 0) ) - ( ;;*ast.StmtList @ nested cond:3:3-9 - ( ;;*ast.CondStmt @ nested cond:3:3-9 - ( ;;*ast.BinaryExpr @ nested cond:3:3-9 - <= - ( ;;*ast.CaprefTerm @ nested cond:3:3-4 - "1") - ( ;;*ast.IntLit @ nested cond:3:9 - 1) - ) - ( ;;*ast.StmtList @ nested cond:4:5-9 - ( ;;*ast.UnaryExpr @ nested cond:4:5-9 - ++ - ( ;;*ast.IndexedExpr @ nested cond:4:5-7 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ nested cond:4:5-7 - "foo") - ) + ( ;;*ast.StmtList @ cond expr le:3:3-7 + ( ;;*ast.UnaryExpr @ cond expr le:3:3-7 + ++ + ( ;;*ast.IndexedExpr @ cond expr le:3:3-5 + ( ;;*ast.ExprList <⨯> @ ) + ( ;;*ast.IdTerm @ cond expr le:3:3-5 + "foo") ) ) ) ) ) - --- PASS: TestCodegen/indexed_expr (0.00s) + --- PASS: TestCodegen/capref_used_in_def (0.01s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ indexed expr:2:9 - ( ;;*ast.VarDecl @ indexed expr:2:9 - counter a (b)) - ( ;;*ast.UnaryExpr @ indexed expr:3:1-13 - ++ - ( ;;*ast.IndexedExpr @ indexed expr:3:1-10 - ( ;;*ast.ExprList <⨯ String> @ indexed expr:3:3-10 - ( ;;*ast.StringLit @ indexed expr:3:3-10 - "string") + ( ;;*ast.StmtList @ capref used in def:2:1-22 + ( ;;*ast.CondStmt @ capref used in def:2:1-22 + ( ;;*ast.BinaryExpr @ capref used in def:2:1-22 + && + ( ;;*ast.ConvExpr @ capref used in def:2:1-12 + conv( ;;*ast.PatternExpr @ capref used in def:2:1-12 + ( ;;*ast.PatternLit @ capref used in def:2:1-12 + "(?P\\d+)") + ) + ) + ( ;;*ast.BinaryExpr @ capref used in def:2:17-22 + > + ( ;;*ast.CaprefTerm @ capref used in def:2:17-18 + "x") + ( ;;*ast.IntLit @ capref used in def:2:22 + 5) ) - ( ;;*ast.IdTerm @ indexed expr:3:1 - "a") - ) - ) - ) - - --- PASS: TestCodegen/pow (0.00s) - codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ pow:2:1-13 - ( ;;*ast.CondStmt @ pow:2:1-13 - ( ;;*ast.PatternExpr @ pow:2:1-13 - ( ;;*ast.PatternLit @ pow:2:1-13 - "(\\d+) (\\d+)") ) - ( ;;*ast.StmtList @ pow:3:1-8 - ( ;;*ast.BinaryExpr @ pow:3:1-8 - ** - ( ;;*ast.CaprefTerm @ pow:3:1-2 - "1") - ( ;;*ast.CaprefTerm @ pow:3:7-8 - "2") - ) + ( ;;*ast.StmtList @ ) ) ) - --- PASS: TestCodegen/cond_expr_gt (0.00s) + --- PASS: TestCodegen/strptime_and_named_capref (0.04s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ cond expr gt:1:9-11 - ( ;;*ast.VarDecl @ cond expr gt:1:9-11 + ( ;;*ast.StmtList @ strptime and named capref:1:9-11 + ( ;;*ast.VarDecl @ strptime and named capref:1:9-11 counter foo) - ( ;;*ast.CondStmt @ cond expr gt:2:1-5 - ( ;;*ast.BinaryExpr @ cond expr gt:2:1-5 - > - ( ;;*ast.IntLit @ cond expr gt:2:1 - 1) - ( ;;*ast.IntLit @ cond expr gt:2:5 - 0) + ( ;;*ast.CondStmt @ strptime and named capref:2:1-55 + ( ;;*ast.PatternExpr @ strptime and named capref:2:1-14 + ( ;;*ast.PatternLit @ strptime and named capref:2:1-14 + "(?P.*)") ) - ( ;;*ast.StmtList @ cond expr gt:3:3-7 - ( ;;*ast.UnaryExpr @ cond expr gt:3:3-7 + ( ;;*ast.StmtList @ strptime and named capref:2:55 + ( ;;*ast.BuiltinExpr @ strptime and named capref:2:55 + "strptime" + ( ;;*ast.ExprList @ strptime and named capref:2:27-54 + ( ;;*ast.CaprefTerm @ strptime and named capref:2:27-31 + "date") + ( ;;*ast.StringLit @ strptime and named capref:2:34-54 + "2006-01-02T15:04:05") + ) + ) + ( ;;*ast.UnaryExpr @ strptime and named capref:3:1-5 ++ - ( ;;*ast.IndexedExpr @ cond expr gt:3:3-5 + ( ;;*ast.IndexedExpr @ strptime and named capref:3:1-3 ( ;;*ast.ExprList <⨯> @ ) - ( ;;*ast.IdTerm @ cond expr gt:3:3-5 + ( ;;*ast.IdTerm @ strptime and named capref:3:1-3 "foo") ) ) @@ -19506,121 +19434,155 @@ ) ) - --- PASS: TestCodegen/bitwise (0.04s) + --- PASS: TestCodegen/set_string (0.03s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ bitwise:2:1-14 - ( ;;*ast.BinaryExpr @ bitwise:2:1-14 - | - ( ;;*ast.BinaryExpr @ bitwise:2:1-10 - ^ - ( ;;*ast.BinaryExpr @ bitwise:2:1-5 - & - ( ;;*ast.IntLit @ bitwise:2:1 - 1) - ( ;;*ast.IntLit @ bitwise:2:5 - 7) + ( ;;*ast.StmtList @ set string:2:6-8 + ( ;;*ast.VarDecl @ set string:2:6-8 + text foo) + ( ;;*ast.CondStmt @ set string:3:1-6 + ( ;;*ast.PatternExpr @ set string:3:1-6 + ( ;;*ast.PatternLit @ set string:3:1-6 + "(.*)") + ) + ( ;;*ast.StmtList @ set string:4:3-10 + ( ;;*ast.BinaryExpr @ set string:4:3-10 + = + ( ;;*ast.IndexedExpr @ set string:4:3-5 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ set string:4:3-5 + "foo") ) - ( ;;*ast.IntLit @ bitwise:2:9-10 - 15) + ( ;;*ast.CaprefTerm @ set string:4:9-10 + "1") ) - ( ;;*ast.IntLit @ bitwise:2:14 - 8) + ) ) - ( ;;*ast.BinaryExpr @ bitwise:3:3-9 - << - ( ;;*ast.UnaryExpr @ bitwise:3:3-7 - ~ - ( ;;*ast.IntLit @ bitwise:3:3-4 - 16) - ) - ( ;;*ast.IntLit @ bitwise:3:9 - 2) + ) + + --- PASS: TestCodegen/binop_arith_type_conversion (0.03s) + codegen_test.go:867: Typed AST: + ( ;;*ast.StmtList @ binop arith type conversion:2:7-9 + ( ;;*ast.VarDecl @ binop arith type conversion:2:7-9 + gauge var) + ( ;;*ast.CondStmt @ binop arith type conversion:3:1-23 + ( ;;*ast.PatternExpr @ binop arith type conversion:3:1-23 + ( ;;*ast.PatternLit @ binop arith type conversion:3:1-23 + "(?P\\d+) (\\d+\\.\\d+)") ) - ( ;;*ast.BinaryExpr @ bitwise:4:1-7 - >> - ( ;;*ast.IntLit @ bitwise:4:1 - 1) - ( ;;*ast.IntLit @ bitwise:4:6-7 - 20) + ( ;;*ast.StmtList @ binop arith type conversion:4:3-15 + ( ;;*ast.BinaryExpr @ binop arith type conversion:4:3-15 + = + ( ;;*ast.IndexedExpr @ binop arith type conversion:4:3-5 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ binop arith type conversion:4:3-5 + "var") + ) + ( ;;*ast.BinaryExpr @ binop arith type conversion:4:9-15 + + + ( ;;*ast.ConvExpr @ binop arith type conversion:4:9-10 + conv( ;;*ast.CaprefTerm @ binop arith type conversion:4:9-10 + "x") + ) + ( ;;*ast.CaprefTerm @ binop arith type conversion:4:14-15 + "2") + ) + ) ) ) + ) - --- PASS: TestCodegen/cond_expr_ne (0.01s) + --- PASS: TestCodegen/add_assign_float (0.01s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ cond expr ne:1:9-11 - ( ;;*ast.VarDecl @ cond expr ne:1:9-11 - counter foo) - ( ;;*ast.CondStmt @ cond expr ne:2:1-6 - ( ;;*ast.BinaryExpr @ cond expr ne:2:1-6 - != - ( ;;*ast.IntLit @ cond expr ne:2:1 - 1) - ( ;;*ast.IntLit @ cond expr ne:2:6 - 0) + ( ;;*ast.StmtList @ add assign float:2:7-9 + ( ;;*ast.VarDecl @ add assign float:2:7-9 + gauge foo) + ( ;;*ast.CondStmt @ add assign float:3:1-12 + ( ;;*ast.PatternExpr @ add assign float:3:1-12 + ( ;;*ast.PatternLit @ add assign float:3:1-12 + "(\\d+\\.\\d+)") ) - ( ;;*ast.StmtList @ cond expr ne:3:3-7 - ( ;;*ast.UnaryExpr @ cond expr ne:3:3-7 - ++ - ( ;;*ast.IndexedExpr @ cond expr ne:3:3-5 + ( ;;*ast.StmtList @ add assign float:4:3-11 + ( ;;*ast.BinaryExpr @ add assign float:4:3-11 + += + ( ;;*ast.IndexedExpr @ add assign float:4:3-5 ( ;;*ast.ExprList <⨯> @ ) - ( ;;*ast.IdTerm @ cond expr ne:3:3-5 + ( ;;*ast.IdTerm @ add assign float:4:3-5 "foo") ) - ) + ( ;;*ast.CaprefTerm @ add assign float:4:10-11 + "1") ) ) ) + ) - --- PASS: TestCodegen/count_a (0.01s) + --- PASS: TestCodegen/int_to_string (0.02s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ count a:1:9-15 - ( ;;*ast.VarDecl @ count a:1:9-15 - counter a_count) - ( ;;*ast.CondStmt @ count a:2:1-16 - ( ;;*ast.PatternExpr @ count a:2:1-4 - ( ;;*ast.PatternLit @ count a:2:1-4 - "a$") + ( ;;*ast.StmtList @ int to string:1:9 + ( ;;*ast.VarDecl @ int to string:1:9 + counter c (a)) + ( ;;*ast.CondStmt @ int to string:2:1-7 + ( ;;*ast.PatternExpr @ int to string:2:1-7 + ( ;;*ast.PatternLit @ int to string:2:1-7 + "(\\d+)") ) - ( ;;*ast.StmtList @ count a:2:8-16 - ( ;;*ast.UnaryExpr @ count a:2:8-16 + ( ;;*ast.StmtList @ int to string:3:3-18 + ( ;;*ast.UnaryExpr @ int to string:3:3-18 ++ - ( ;;*ast.IndexedExpr @ count a:2:8-14 - ( ;;*ast.ExprList <⨯> @ + ( ;;*ast.IndexedExpr @ int to string:3:3-14 + ( ;;*ast.ExprList <⨯ String> @ int to string:3:14 + ( ;;*ast.BuiltinExpr @ int to string:3:14 + "string" + ( ;;*ast.ExprList <⨯ Int> @ int to string:3:12-13 + ( ;;*ast.CaprefTerm @ int to string:3:12-13 + "1") + ) + ) ) - ( ;;*ast.IdTerm @ count a:2:8-14 - "a_count") + ( ;;*ast.IdTerm @ int to string:3:3 + "c") ) ) ) ) ) - --- PASS: TestCodegen/decrement (0.01s) + --- PASS: TestCodegen/stop (0.01s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ decrement:2:9 - ( ;;*ast.VarDecl @ decrement:2:9 - counter i) - ( ;;*ast.CondStmt @ decrement:3:1-2 - ( ;;*ast.PatternExpr @ decrement:3:1-2 - ( ;;*ast.PatternLit @ decrement:3:1-2 - "") + ( ;;*ast.StmtList @ stop:2:1-4 + ( ;;*ast.StopStmt @ stop:2:1-4 + stop) + ) + + --- PASS: TestCodegen/cast_to_self (0.04s) + codegen_test.go:867: Typed AST: + ( ;;*ast.StmtList @ cast to self:2:1-7 + ( ;;*ast.CondStmt @ cast to self:2:1-7 + ( ;;*ast.PatternExpr @ cast to self:2:1-7 + ( ;;*ast.PatternLit @ cast to self:2:1-7 + "(\\d+)") ) - ( ;;*ast.StmtList @ decrement:4:3-5 - ( ;;*ast.UnaryExpr @ decrement:4:3-5 - -- - ( ;;*ast.IndexedExpr @ decrement:4:3 - ( ;;*ast.ExprList <⨯> @ + ( ;;*ast.StmtList @ cast to self:3:16 + ( ;;*ast.BuiltinExpr @ cast to self:3:16 + "settime" + ( ;;*ast.ExprList <⨯ Int> @ cast to self:3:15 + ( ;;*ast.BuiltinExpr @ cast to self:3:15 + "int" + ( ;;*ast.ExprList <⨯ Int> @ cast to self:3:13-14 + ( ;;*ast.CaprefTerm @ cast to self:3:13-14 + "1") ) - ( ;;*ast.IdTerm @ decrement:4:3 - "i") ) ) ) ) ) + ) - --- PASS: TestCodegen/cond_expr_eq (0.00s) + --- PASS: TestCodegen/cond_expr_eq (0.04s) codegen_test.go:867: Typed AST: ( ;;*ast.StmtList @ cond expr eq:1:9-11 ( ;;*ast.VarDecl @ cond expr eq:1:9-11 @@ -19647,196 +19609,104 @@ ) ) - --- PASS: TestCodegen/simple_line_counter (0.00s) - codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ simple line counter:1:9-18 - ( ;;*ast.VarDecl @ simple line counter:1:9-18 - counter line_count) - ( ;;*ast.CondStmt @ simple line counter:2:1-18 - ( ;;*ast.PatternExpr @ simple line counter:2:1-3 - ( ;;*ast.PatternLit @ simple line counter:2:1-3 - "$") - ) - ( ;;*ast.StmtList @ simple line counter:2:7-18 - ( ;;*ast.UnaryExpr @ simple line counter:2:7-18 - ++ - ( ;;*ast.IndexedExpr @ simple line counter:2:7-16 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ simple line counter:2:7-16 - "line_count") - ) - ) - ) - ) - ) - - --- PASS: TestCodegen/strptime_and_named_capref (0.04s) + --- PASS: TestCodegen/nested_cond (0.03s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ strptime and named capref:1:9-11 - ( ;;*ast.VarDecl @ strptime and named capref:1:9-11 + ( ;;*ast.StmtList @ nested cond:1:9-11 + ( ;;*ast.VarDecl @ nested cond:1:9-11 counter foo) - ( ;;*ast.CondStmt @ strptime and named capref:2:1-55 - ( ;;*ast.PatternExpr @ strptime and named capref:2:1-14 - ( ;;*ast.PatternLit @ strptime and named capref:2:1-14 - "(?P.*)") + ( ;;*ast.CondStmt @ nested cond:2:1-7 + ( ;;*ast.PatternExpr @ nested cond:2:1-7 + ( ;;*ast.PatternLit @ nested cond:2:1-7 + "(\\d+)") ) - ( ;;*ast.StmtList @ strptime and named capref:2:55 - ( ;;*ast.BuiltinExpr @ strptime and named capref:2:55 - "strptime" - ( ;;*ast.ExprList @ strptime and named capref:2:27-54 - ( ;;*ast.CaprefTerm @ strptime and named capref:2:27-31 - "date") - ( ;;*ast.StringLit @ strptime and named capref:2:34-54 - "2006-01-02T15:04:05") - ) - ) - ( ;;*ast.UnaryExpr @ strptime and named capref:3:1-5 - ++ - ( ;;*ast.IndexedExpr @ strptime and named capref:3:1-3 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ strptime and named capref:3:1-3 - "foo") - ) + ( ;;*ast.StmtList @ nested cond:3:3-9 + ( ;;*ast.CondStmt @ nested cond:3:3-9 + ( ;;*ast.BinaryExpr @ nested cond:3:3-9 + <= + ( ;;*ast.CaprefTerm @ nested cond:3:3-4 + "1") + ( ;;*ast.IntLit @ nested cond:3:9 + 1) ) - ) - ) - ) - - --- PASS: TestCodegen/string_concat (0.00s) - codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ string concat:2:9 - ( ;;*ast.VarDecl @ string concat:2:9 - counter f (s)) - ( ;;*ast.CondStmt @ string concat:3:1-12 - ( ;;*ast.PatternExpr @ string concat:3:1-12 - ( ;;*ast.PatternLit @ string concat:3:1-12 - "(.*), (.*)") - ) - ( ;;*ast.StmtList @ string concat:4:3-14 - ( ;;*ast.UnaryExpr @ string concat:4:3-14 - ++ - ( ;;*ast.IndexedExpr @ string concat:4:3-11 - ( ;;*ast.ExprList <⨯ String> @ string concat:4:5-11 - ( ;;*ast.BinaryExpr @ string concat:4:5-11 - + - ( ;;*ast.CaprefTerm @ string concat:4:5-6 - "1") - ( ;;*ast.CaprefTerm @ string concat:4:10-11 - "2") + ( ;;*ast.StmtList @ nested cond:4:5-9 + ( ;;*ast.UnaryExpr @ nested cond:4:5-9 + ++ + ( ;;*ast.IndexedExpr @ nested cond:4:5-7 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ nested cond:4:5-7 + "foo") ) ) - ( ;;*ast.IdTerm @ string concat:4:3 - "f") ) ) ) ) ) - --- PASS: TestCodegen/deco (0.01s) + --- PASS: TestCodegen/match_expression (0.02s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ deco:1:9-11 - ( ;;*ast.VarDecl @ deco:1:9-11 + ( ;;*ast.StmtList @ match expression:2:10-12 + ( ;;*ast.VarDecl @ match expression:2:10-12 counter foo) - ( ;;*ast.VarDecl @ deco:2:9-11 - counter bar) - ( ;;*ast.DecoDecl @ deco:4:3-6 - ( ;;*ast.StmtList @ deco:4:3-6 - ( ;;*ast.CondStmt @ deco:4:3-6 - ( ;;*ast.PatternExpr @ deco:4:3-6 - ( ;;*ast.PatternLit @ deco:4:3-6 - ".*") + ( ;;*ast.CondStmt @ match expression:3:2-7 + ( ;;*ast.PatternExpr @ match expression:3:2-7 + ( ;;*ast.PatternLit @ match expression:3:2-7 + "(.*)") + ) + ( ;;*ast.StmtList @ match expression:4:4-15 + ( ;;*ast.CondStmt @ match expression:4:4-15 + ( ;;*ast.BinaryExpr @ match expression:4:4-15 + =~ + ( ;;*ast.CaprefTerm @ match expression:4:4-5 + "1") + ( ;;*ast.PatternExpr @ match expression:4:10-15 + ( ;;*ast.PatternLit @ match expression:4:10-15 + "asdf") + ) ) - ( ;;*ast.StmtList @ deco:5:5-9 - ( ;;*ast.UnaryExpr @ deco:5:5-9 + ( ;;*ast.StmtList @ match expression:5:6-10 + ( ;;*ast.UnaryExpr @ match expression:5:6-10 ++ - ( ;;*ast.IndexedExpr @ deco:5:5-7 + ( ;;*ast.IndexedExpr @ match expression:5:6-8 ( ;;*ast.ExprList <⨯> @ ) - ( ;;*ast.IdTerm @ deco:5:5-7 + ( ;;*ast.IdTerm @ match expression:5:6-8 "foo") ) ) - ( ;;*ast.NextStmt @ deco:6:5-8 - next) - ) - ) - ) - ) - ( ;;*ast.DecoStmt @ deco:9:1-16 - ( ;;*ast.StmtList @ deco:9:12-16 - ( ;;*ast.UnaryExpr @ deco:9:12-16 - ++ - ( ;;*ast.IndexedExpr @ deco:9:12-14 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ deco:9:12-14 - "bar") - ) ) ) ) ) + ) - --- PASS: TestCodegen/set_string (0.01s) + --- PASS: TestCodegen/concat_to_text (0.04s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ set string:2:6-8 - ( ;;*ast.VarDecl @ set string:2:6-8 + ( ;;*ast.StmtList @ concat to text:2:6-8 + ( ;;*ast.VarDecl @ concat to text:2:6-8 text foo) - ( ;;*ast.CondStmt @ set string:3:1-6 - ( ;;*ast.PatternExpr @ set string:3:1-6 - ( ;;*ast.PatternLit @ set string:3:1-6 - "(.*)") + ( ;;*ast.CondStmt @ concat to text:3:1-11 + ( ;;*ast.PatternExpr @ concat to text:3:1-11 + ( ;;*ast.PatternLit @ concat to text:3:1-11 + "(?P.*)") ) - ( ;;*ast.StmtList @ set string:4:3-10 - ( ;;*ast.BinaryExpr @ set string:4:3-10 - = - ( ;;*ast.IndexedExpr @ set string:4:3-5 + ( ;;*ast.StmtList @ concat to text:4:3-11 + ( ;;*ast.BinaryExpr @ concat to text:4:3-11 + += + ( ;;*ast.IndexedExpr @ concat to text:4:3-5 ( ;;*ast.ExprList <⨯> @ ) - ( ;;*ast.IdTerm @ set string:4:3-5 + ( ;;*ast.IdTerm @ concat to text:4:3-5 "foo") ) - ( ;;*ast.CaprefTerm @ set string:4:9-10 - "1") + ( ;;*ast.CaprefTerm @ concat to text:4:10-11 + "v") ) ) ) ) - --- PASS: TestCodegen/float_to_string (0.01s) - codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ float to string:1:9 - ( ;;*ast.VarDecl @ float to string:1:9 - counter c (a)) - ( ;;*ast.CondStmt @ float to string:2:1-12 - ( ;;*ast.PatternExpr @ float to string:2:1-12 - ( ;;*ast.PatternLit @ float to string:2:1-12 - "(\\d+\\.\\d+)") - ) - ( ;;*ast.StmtList @ float to string:3:3-18 - ( ;;*ast.UnaryExpr @ float to string:3:3-18 - ++ - ( ;;*ast.IndexedExpr @ float to string:3:3-14 - ( ;;*ast.ExprList <⨯ String> @ float to string:3:14 - ( ;;*ast.BuiltinExpr @ float to string:3:14 - "string" - ( ;;*ast.ExprList <⨯ Float> @ float to string:3:12-13 - ( ;;*ast.CaprefTerm @ float to string:3:12-13 - "1") - ) - ) - ) - ( ;;*ast.IdTerm @ float to string:3:3 - "c") - ) - ) - ) - ) - ) - --- PASS: TestCodegen/nested_comparisons (0.02s) codegen_test.go:867: Typed AST: ( ;;*ast.StmtList @ nested comparisons:1:9-11 @@ -19882,38 +19752,31 @@ ) ) - --- PASS: TestCodegen/string_to_int (0.02s) + --- PASS: TestCodegen/decrement (0.01s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ string to int:1:9 - ( ;;*ast.VarDecl @ string to int:1:9 - counter c) - ( ;;*ast.CondStmt @ string to int:2:1-6 - ( ;;*ast.PatternExpr @ string to int:2:1-6 - ( ;;*ast.PatternLit @ string to int:2:1-6 - "(.*)") + ( ;;*ast.StmtList @ decrement:2:9 + ( ;;*ast.VarDecl @ decrement:2:9 + counter i) + ( ;;*ast.CondStmt @ decrement:3:1-2 + ( ;;*ast.PatternExpr @ decrement:3:1-2 + ( ;;*ast.PatternLit @ decrement:3:1-2 + "") ) - ( ;;*ast.StmtList @ string to int:3:3-13 - ( ;;*ast.BinaryExpr @ string to int:3:3-13 - = - ( ;;*ast.IndexedExpr @ string to int:3:3 + ( ;;*ast.StmtList @ decrement:4:3-5 + ( ;;*ast.UnaryExpr @ decrement:4:3-5 + -- + ( ;;*ast.IndexedExpr @ decrement:4:3 ( ;;*ast.ExprList <⨯> @ ) - ( ;;*ast.IdTerm @ string to int:3:3 - "c") - ) - ( ;;*ast.BuiltinExpr @ string to int:3:13 - "int" - ( ;;*ast.ExprList <⨯ String> @ string to int:3:11-12 - ( ;;*ast.CaprefTerm @ string to int:3:11-12 - "1") - ) + ( ;;*ast.IdTerm @ decrement:4:3 + "i") ) + ) ) ) ) - ) - --- PASS: TestCodegen/binop_compare_type_conversion (0.00s) + --- PASS: TestCodegen/binop_compare_type_conversion (0.03s) codegen_test.go:867: Typed AST: ( ;;*ast.StmtList @ binop compare type conversion:2:9-11 ( ;;*ast.VarDecl @ binop compare type conversion:2:9-11 @@ -19950,195 +19813,238 @@ ) ) - --- PASS: TestCodegen/getfilename (0.05s) - codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ getfilename:2:13 - ( ;;*ast.BuiltinExpr @ getfilename:2:13 - "getfilename" - ) - ) - - --- PASS: TestCodegen/cond_expr_le (0.09s) + --- PASS: TestCodegen/int_to_float (0.01s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ cond expr le:1:9-11 - ( ;;*ast.VarDecl @ cond expr le:1:9-11 - counter foo) - ( ;;*ast.CondStmt @ cond expr le:2:1-6 - ( ;;*ast.BinaryExpr @ cond expr le:2:1-6 - <= - ( ;;*ast.IntLit @ cond expr le:2:1 - 1) - ( ;;*ast.IntLit @ cond expr le:2:6 - 0) + ( ;;*ast.StmtList @ int to float:1:9 + ( ;;*ast.VarDecl @ int to float:1:9 + counter c) + ( ;;*ast.CondStmt @ int to float:2:1-6 + ( ;;*ast.PatternExpr @ int to float:2:1-6 + ( ;;*ast.PatternLit @ int to float:2:1-6 + "(\\d)") ) - ( ;;*ast.StmtList @ cond expr le:3:3-7 - ( ;;*ast.UnaryExpr @ cond expr le:3:3-7 - ++ - ( ;;*ast.IndexedExpr @ cond expr le:3:3-5 + ( ;;*ast.StmtList @ int to float:3:3-15 + ( ;;*ast.BinaryExpr @ int to float:3:3-15 + = + ( ;;*ast.IndexedExpr @ int to float:3:3 ( ;;*ast.ExprList <⨯> @ ) - ( ;;*ast.IdTerm @ cond expr le:3:3-5 - "foo") + ( ;;*ast.IdTerm @ int to float:3:3 + "c") + ) + ( ;;*ast.BuiltinExpr @ int to float:3:15 + "float" + ( ;;*ast.ExprList <⨯ Int> @ int to float:3:13-14 + ( ;;*ast.CaprefTerm @ int to float:3:13-14 + "1") + ) ) - ) ) ) ) + ) - --- PASS: TestCodegen/int_to_string (0.08s) + --- PASS: TestCodegen/negative_match_expression (0.03s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ int to string:1:9 - ( ;;*ast.VarDecl @ int to string:1:9 - counter c (a)) - ( ;;*ast.CondStmt @ int to string:2:1-7 - ( ;;*ast.PatternExpr @ int to string:2:1-7 - ( ;;*ast.PatternLit @ int to string:2:1-7 - "(\\d+)") + ( ;;*ast.StmtList @ negative match expression:2:10-12 + ( ;;*ast.VarDecl @ negative match expression:2:10-12 + counter foo) + ( ;;*ast.CondStmt @ negative match expression:3:2-7 + ( ;;*ast.PatternExpr @ negative match expression:3:2-7 + ( ;;*ast.PatternLit @ negative match expression:3:2-7 + "(.*)") ) - ( ;;*ast.StmtList @ int to string:3:3-18 - ( ;;*ast.UnaryExpr @ int to string:3:3-18 - ++ - ( ;;*ast.IndexedExpr @ int to string:3:3-14 - ( ;;*ast.ExprList <⨯ String> @ int to string:3:14 - ( ;;*ast.BuiltinExpr @ int to string:3:14 - "string" - ( ;;*ast.ExprList <⨯ Int> @ int to string:3:12-13 - ( ;;*ast.CaprefTerm @ int to string:3:12-13 - "1") + ( ;;*ast.StmtList @ negative match expression:4:4-15 + ( ;;*ast.CondStmt @ negative match expression:4:4-15 + ( ;;*ast.BinaryExpr @ negative match expression:4:4-15 + !~ + ( ;;*ast.CaprefTerm @ negative match expression:4:4-5 + "1") + ( ;;*ast.PatternExpr @ negative match expression:4:10-15 + ( ;;*ast.PatternLit @ negative match expression:4:10-15 + "asdf") + ) + ) + ( ;;*ast.StmtList @ negative match expression:5:6-10 + ( ;;*ast.UnaryExpr @ negative match expression:5:6-10 + ++ + ( ;;*ast.IndexedExpr @ negative match expression:5:6-8 + ( ;;*ast.ExprList <⨯> @ ) + ( ;;*ast.IdTerm @ negative match expression:5:6-8 + "foo") ) ) - ( ;;*ast.IdTerm @ int to string:3:3 - "c") ) ) ) ) ) - --- PASS: TestCodegen/binop_arith_type_conversion (0.00s) + --- PASS: TestCodegen/inc_by_and_set (0.01s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ binop arith type conversion:2:7-9 - ( ;;*ast.VarDecl @ binop arith type conversion:2:7-9 - gauge var) - ( ;;*ast.CondStmt @ binop arith type conversion:3:1-23 - ( ;;*ast.PatternExpr @ binop arith type conversion:3:1-23 - ( ;;*ast.PatternLit @ binop arith type conversion:3:1-23 - "(?P\\d+) (\\d+\\.\\d+)") + ( ;;*ast.StmtList @ inc by and set:1:9-11 + ( ;;*ast.VarDecl @ inc by and set:1:9-11 + counter foo) + ( ;;*ast.VarDecl @ inc by and set:2:9-11 + counter bar) + ( ;;*ast.CondStmt @ inc by and set:3:1-10 + ( ;;*ast.PatternExpr @ inc by and set:3:1-10 + ( ;;*ast.PatternLit @ inc by and set:3:1-10 + "([0-9]+)") ) - ( ;;*ast.StmtList @ binop arith type conversion:4:3-15 - ( ;;*ast.BinaryExpr @ binop arith type conversion:4:3-15 - = - ( ;;*ast.IndexedExpr @ binop arith type conversion:4:3-5 + ( ;;*ast.StmtList @ inc by and set:4:1-9 + ( ;;*ast.BinaryExpr @ inc by and set:4:1-9 + += + ( ;;*ast.IndexedExpr @ inc by and set:4:1-3 ( ;;*ast.ExprList <⨯> @ ) - ( ;;*ast.IdTerm @ binop arith type conversion:4:3-5 - "var") + ( ;;*ast.IdTerm @ inc by and set:4:1-3 + "foo") ) - ( ;;*ast.BinaryExpr @ binop arith type conversion:4:9-15 - + - ( ;;*ast.ConvExpr @ binop arith type conversion:4:9-10 - conv( ;;*ast.CaprefTerm @ binop arith type conversion:4:9-10 - "x") - ) - ( ;;*ast.CaprefTerm @ binop arith type conversion:4:14-15 - "2") + ( ;;*ast.CaprefTerm @ inc by and set:4:8-9 + "1") + ) + ( ;;*ast.BinaryExpr @ inc by and set:5:1-8 + = + ( ;;*ast.IndexedExpr @ inc by and set:5:1-3 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ inc by and set:5:1-3 + "bar") ) + ( ;;*ast.CaprefTerm @ inc by and set:5:7-8 + "1") ) ) ) ) - --- PASS: TestCodegen/dimensioned_counter (0.09s) + --- PASS: TestCodegen/string_concat (0.01s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ dimensioned counter:1:9 - ( ;;*ast.VarDecl @ dimensioned counter:1:9 - counter c (a b c)) - ( ;;*ast.CondStmt @ dimensioned counter:2:1-16 - ( ;;*ast.PatternExpr @ dimensioned counter:2:1-16 - ( ;;*ast.PatternLit @ dimensioned counter:2:1-16 - "(\\d) (\\d) (\\d)") + ( ;;*ast.StmtList @ string concat:2:9 + ( ;;*ast.VarDecl @ string concat:2:9 + counter f (s)) + ( ;;*ast.CondStmt @ string concat:3:1-12 + ( ;;*ast.PatternExpr @ string concat:3:1-12 + ( ;;*ast.PatternLit @ string concat:3:1-12 + "(.*), (.*)") ) - ( ;;*ast.StmtList @ dimensioned counter:3:3-16 - ( ;;*ast.UnaryExpr @ dimensioned counter:3:3-16 + ( ;;*ast.StmtList @ string concat:4:3-14 + ( ;;*ast.UnaryExpr @ string concat:4:3-14 ++ - ( ;;*ast.IndexedExpr @ dimensioned counter:3:3-13 - ( ;;*ast.ExprList @ dimensioned counter:3:5-13 - ( ;;*ast.CaprefTerm @ dimensioned counter:3:5-6 - "1") - ( ;;*ast.CaprefTerm @ dimensioned counter:3:8-9 - "2") - ( ;;*ast.CaprefTerm @ dimensioned counter:3:12-13 - "3") + ( ;;*ast.IndexedExpr @ string concat:4:3-11 + ( ;;*ast.ExprList <⨯ String> @ string concat:4:5-11 + ( ;;*ast.BinaryExpr @ string concat:4:5-11 + + + ( ;;*ast.CaprefTerm @ string concat:4:5-6 + "1") + ( ;;*ast.CaprefTerm @ string concat:4:10-11 + "2") + ) ) - ( ;;*ast.IdTerm @ dimensioned counter:3:3 - "c") + ( ;;*ast.IdTerm @ string concat:4:3 + "f") ) ) ) ) ) - --- PASS: TestCodegen/negative_match_expression (0.01s) + --- PASS: TestCodegen/float_to_string (0.00s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ negative match expression:2:10-12 - ( ;;*ast.VarDecl @ negative match expression:2:10-12 - counter foo) - ( ;;*ast.CondStmt @ negative match expression:3:2-7 - ( ;;*ast.PatternExpr @ negative match expression:3:2-7 - ( ;;*ast.PatternLit @ negative match expression:3:2-7 - "(.*)") + ( ;;*ast.StmtList @ float to string:1:9 + ( ;;*ast.VarDecl @ float to string:1:9 + counter c (a)) + ( ;;*ast.CondStmt @ float to string:2:1-12 + ( ;;*ast.PatternExpr @ float to string:2:1-12 + ( ;;*ast.PatternLit @ float to string:2:1-12 + "(\\d+\\.\\d+)") ) - ( ;;*ast.StmtList @ negative match expression:4:4-15 - ( ;;*ast.CondStmt @ negative match expression:4:4-15 - ( ;;*ast.BinaryExpr @ negative match expression:4:4-15 - !~ - ( ;;*ast.CaprefTerm @ negative match expression:4:4-5 - "1") - ( ;;*ast.PatternExpr @ negative match expression:4:10-15 - ( ;;*ast.PatternLit @ negative match expression:4:10-15 - "asdf") - ) - ) - ( ;;*ast.StmtList @ negative match expression:5:6-10 - ( ;;*ast.UnaryExpr @ negative match expression:5:6-10 - ++ - ( ;;*ast.IndexedExpr @ negative match expression:5:6-8 - ( ;;*ast.ExprList <⨯> @ + ( ;;*ast.StmtList @ float to string:3:3-18 + ( ;;*ast.UnaryExpr @ float to string:3:3-18 + ++ + ( ;;*ast.IndexedExpr @ float to string:3:3-14 + ( ;;*ast.ExprList <⨯ String> @ float to string:3:14 + ( ;;*ast.BuiltinExpr @ float to string:3:14 + "string" + ( ;;*ast.ExprList <⨯ Float> @ float to string:3:12-13 + ( ;;*ast.CaprefTerm @ float to string:3:12-13 + "1") ) - ( ;;*ast.IdTerm @ negative match expression:5:6-8 - "foo") ) ) + ( ;;*ast.IdTerm @ float to string:3:3 + "c") ) ) ) ) ) - --- PASS: TestCodegen/int_to_float (0.07s) + --- PASS: TestCodegen/otherwise (0.00s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ int to float:1:9 - ( ;;*ast.VarDecl @ int to float:1:9 + ( ;;*ast.StmtList @ otherwise:2:9 + ( ;;*ast.VarDecl @ otherwise:2:9 + counter a) + ( ;;*ast.CondStmt @ otherwise:5:1 + ( ;;*ast.OtherwiseStmt @ otherwise:5:1 + otherwise) + ( ;;*ast.StmtList @ otherwise:4:2-4 + ( ;;*ast.UnaryExpr @ otherwise:4:2-4 + ++ + ( ;;*ast.IndexedExpr @ otherwise:4:2 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ otherwise:4:2 + "a") + ) + ) + ) + ) + ) + + --- PASS: TestCodegen/indexed_expr (0.00s) + codegen_test.go:867: Typed AST: + ( ;;*ast.StmtList @ indexed expr:2:9 + ( ;;*ast.VarDecl @ indexed expr:2:9 + counter a (b)) + ( ;;*ast.UnaryExpr @ indexed expr:3:1-13 + ++ + ( ;;*ast.IndexedExpr @ indexed expr:3:1-10 + ( ;;*ast.ExprList <⨯ String> @ indexed expr:3:3-10 + ( ;;*ast.StringLit @ indexed expr:3:3-10 + "string") + ) + ( ;;*ast.IdTerm @ indexed expr:3:1 + "a") + ) + ) + ) + + --- PASS: TestCodegen/string_to_int (0.00s) + codegen_test.go:867: Typed AST: + ( ;;*ast.StmtList @ string to int:1:9 + ( ;;*ast.VarDecl @ string to int:1:9 counter c) - ( ;;*ast.CondStmt @ int to float:2:1-6 - ( ;;*ast.PatternExpr @ int to float:2:1-6 - ( ;;*ast.PatternLit @ int to float:2:1-6 - "(\\d)") + ( ;;*ast.CondStmt @ string to int:2:1-6 + ( ;;*ast.PatternExpr @ string to int:2:1-6 + ( ;;*ast.PatternLit @ string to int:2:1-6 + "(.*)") ) - ( ;;*ast.StmtList @ int to float:3:3-15 - ( ;;*ast.BinaryExpr @ int to float:3:3-15 + ( ;;*ast.StmtList @ string to int:3:3-13 + ( ;;*ast.BinaryExpr @ string to int:3:3-13 = - ( ;;*ast.IndexedExpr @ int to float:3:3 + ( ;;*ast.IndexedExpr @ string to int:3:3 ( ;;*ast.ExprList <⨯> @ ) - ( ;;*ast.IdTerm @ int to float:3:3 + ( ;;*ast.IdTerm @ string to int:3:3 "c") ) - ( ;;*ast.BuiltinExpr @ int to float:3:15 - "float" - ( ;;*ast.ExprList <⨯ Int> @ int to float:3:13-14 - ( ;;*ast.CaprefTerm @ int to float:3:13-14 + ( ;;*ast.BuiltinExpr @ string to int:3:13 + "int" + ( ;;*ast.ExprList <⨯ String> @ string to int:3:11-12 + ( ;;*ast.CaprefTerm @ string to int:3:11-12 "1") ) ) @@ -20147,55 +20053,150 @@ ) ) - --- PASS: TestCodegen/capref_used_in_def (0.09s) + --- PASS: TestCodegen/length (0.00s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ capref used in def:2:1-22 - ( ;;*ast.CondStmt @ capref used in def:2:1-22 - ( ;;*ast.BinaryExpr @ capref used in def:2:1-22 - && - ( ;;*ast.ConvExpr @ capref used in def:2:1-12 - conv( ;;*ast.PatternExpr @ capref used in def:2:1-12 - ( ;;*ast.PatternLit @ capref used in def:2:1-12 - "(?P\\d+)") + ( ;;*ast.StmtList @ length:1:10-14 + ( ;;*ast.CondStmt @ length:1:10-14 + ( ;;*ast.BinaryExpr @ length:1:10-14 + > + ( ;;*ast.BuiltinExpr @ length:1:10 + "len" + ( ;;*ast.ExprList <⨯ String> @ length:1:5-9 + ( ;;*ast.StringLit @ length:1:5-9 + "foo") ) ) - ( ;;*ast.BinaryExpr @ capref used in def:2:17-22 - > - ( ;;*ast.CaprefTerm @ capref used in def:2:17-18 - "x") - ( ;;*ast.IntLit @ capref used in def:2:22 - 5) - ) + ( ;;*ast.IntLit @ length:1:14 + 0) ) ( ;;*ast.StmtList @ ) ) ) - --- PASS: TestCodegen/concat_to_text (0.00s) + --- PASS: TestCodegen/pow (0.00s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ concat to text:2:6-8 - ( ;;*ast.VarDecl @ concat to text:2:6-8 - text foo) - ( ;;*ast.CondStmt @ concat to text:3:1-11 - ( ;;*ast.PatternExpr @ concat to text:3:1-11 - ( ;;*ast.PatternLit @ concat to text:3:1-11 - "(?P.*)") + ( ;;*ast.StmtList @ pow:2:1-13 + ( ;;*ast.CondStmt @ pow:2:1-13 + ( ;;*ast.PatternExpr @ pow:2:1-13 + ( ;;*ast.PatternLit @ pow:2:1-13 + "(\\d+) (\\d+)") ) - ( ;;*ast.StmtList @ concat to text:4:3-11 - ( ;;*ast.BinaryExpr @ concat to text:4:3-11 - += - ( ;;*ast.IndexedExpr @ concat to text:4:3-5 + ( ;;*ast.StmtList @ pow:3:1-8 + ( ;;*ast.BinaryExpr @ pow:3:1-8 + ** + ( ;;*ast.CaprefTerm @ pow:3:1-2 + "1") + ( ;;*ast.CaprefTerm @ pow:3:7-8 + "2") + ) + ) + ) + ) + + --- PASS: TestCodegen/bitwise (0.00s) + codegen_test.go:867: Typed AST: + ( ;;*ast.StmtList @ bitwise:2:1-14 + ( ;;*ast.BinaryExpr @ bitwise:2:1-14 + | + ( ;;*ast.BinaryExpr @ bitwise:2:1-10 + ^ + ( ;;*ast.BinaryExpr @ bitwise:2:1-5 + & + ( ;;*ast.IntLit @ bitwise:2:1 + 1) + ( ;;*ast.IntLit @ bitwise:2:5 + 7) + ) + ( ;;*ast.IntLit @ bitwise:2:9-10 + 15) + ) + ( ;;*ast.IntLit @ bitwise:2:14 + 8) + ) + ( ;;*ast.BinaryExpr @ bitwise:3:3-9 + << + ( ;;*ast.UnaryExpr @ bitwise:3:3-7 + ~ + ( ;;*ast.IntLit @ bitwise:3:3-4 + 16) + ) + ( ;;*ast.IntLit @ bitwise:3:9 + 2) + ) + ( ;;*ast.BinaryExpr @ bitwise:4:1-7 + >> + ( ;;*ast.IntLit @ bitwise:4:1 + 1) + ( ;;*ast.IntLit @ bitwise:4:6-7 + 20) + ) + ) + + --- PASS: TestCodegen/mod (0.00s) + codegen_test.go:867: Typed AST: + ( ;;*ast.StmtList @ mod:2:1-5 + ( ;;*ast.BinaryExpr @ mod:2:1-5 + % + ( ;;*ast.IntLit @ mod:2:1 + 3) + ( ;;*ast.IntLit @ mod:2:5 + 1) + ) + ) + + --- PASS: TestCodegen/del (0.00s) + codegen_test.go:867: Typed AST: + ( ;;*ast.StmtList @ del:2:9 + ( ;;*ast.VarDecl @ del:2:9 + counter a (b)) + ( ;;*ast.DelStmt @ del:4:16 + del) + ) + + --- PASS: TestCodegen/strtol (0.00s) + codegen_test.go:867: Typed AST: + ( ;;*ast.StmtList @ strtol:2:22 + ( ;;*ast.BuiltinExpr @ strtol:2:22 + "strtol" + ( ;;*ast.ExprList @ strtol:2:8-21 + ( ;;*ast.StringLit @ strtol:2:8-17 + "deadbeef") + ( ;;*ast.IntLit @ strtol:2:20-21 + 16) + ) + ) + ) + + --- PASS: TestCodegen/count_a (0.00s) + codegen_test.go:867: Typed AST: + ( ;;*ast.StmtList @ count a:1:9-15 + ( ;;*ast.VarDecl @ count a:1:9-15 + counter a_count) + ( ;;*ast.CondStmt @ count a:2:1-16 + ( ;;*ast.PatternExpr @ count a:2:1-4 + ( ;;*ast.PatternLit @ count a:2:1-4 + "a$") + ) + ( ;;*ast.StmtList @ count a:2:8-16 + ( ;;*ast.UnaryExpr @ count a:2:8-16 + ++ + ( ;;*ast.IndexedExpr @ count a:2:8-14 ( ;;*ast.ExprList <⨯> @ ) - ( ;;*ast.IdTerm @ concat to text:4:3-5 - "foo") + ( ;;*ast.IdTerm @ count a:2:8-14 + "a_count") ) - ( ;;*ast.CaprefTerm @ concat to text:4:10-11 - "v") + ) ) ) ) + + --- PASS: TestCodegen/float (0.00s) + codegen_test.go:867: Typed AST: + ( ;;*ast.StmtList @ float:2:1-4 + ( ;;*ast.FloatLit @ float:2:1-4 + 20) ) --- PASS: TestCodegen/string_to_float (0.00s) @@ -20229,83 +20230,117 @@ ) ) - --- PASS: TestCodegen/capref_and_settime (0.00s) + --- PASS: TestCodegen/types (0.00s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ capref and settime:2:1-7 - ( ;;*ast.CondStmt @ capref and settime:2:1-7 - ( ;;*ast.PatternExpr @ capref and settime:2:1-7 - ( ;;*ast.PatternLit @ capref and settime:2:1-7 + ( ;;*ast.StmtList @ types:2:7 + ( ;;*ast.VarDecl @ types:2:7 + gauge i) + ( ;;*ast.VarDecl @ types:3:7 + gauge f) + ( ;;*ast.CondStmt @ types:4:1-7 + ( ;;*ast.PatternExpr @ types:4:1-7 + ( ;;*ast.PatternLit @ types:4:1-7 "(\\d+)") ) - ( ;;*ast.StmtList @ capref and settime:3:13 - ( ;;*ast.BuiltinExpr @ capref and settime:3:13 - "settime" - ( ;;*ast.ExprList <⨯ Int> @ capref and settime:3:11-12 - ( ;;*ast.CaprefTerm @ capref and settime:3:11-12 + ( ;;*ast.StmtList @ types:5:2-7 + ( ;;*ast.BinaryExpr @ types:5:2-7 + = + ( ;;*ast.IndexedExpr @ types:5:2 + ( ;;*ast.ExprList <⨯> @ + ) + ( ;;*ast.IdTerm @ types:5:2 + "i") + ) + ( ;;*ast.CaprefTerm @ types:5:6-7 "1") - ) ) ) ) - ) - - --- PASS: TestCodegen/add_assign_float (0.00s) - codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ add assign float:2:7-9 - ( ;;*ast.VarDecl @ add assign float:2:7-9 - gauge foo) - ( ;;*ast.CondStmt @ add assign float:3:1-12 - ( ;;*ast.PatternExpr @ add assign float:3:1-12 - ( ;;*ast.PatternLit @ add assign float:3:1-12 + ( ;;*ast.CondStmt @ types:7:1-12 + ( ;;*ast.PatternExpr @ types:7:1-12 + ( ;;*ast.PatternLit @ types:7:1-12 "(\\d+\\.\\d+)") ) - ( ;;*ast.StmtList @ add assign float:4:3-11 - ( ;;*ast.BinaryExpr @ add assign float:4:3-11 - += - ( ;;*ast.IndexedExpr @ add assign float:4:3-5 + ( ;;*ast.StmtList @ types:8:2-7 + ( ;;*ast.BinaryExpr @ types:8:2-7 + = + ( ;;*ast.IndexedExpr @ types:8:2 ( ;;*ast.ExprList <⨯> @ ) - ( ;;*ast.IdTerm @ add assign float:4:3-5 - "foo") + ( ;;*ast.IdTerm @ types:8:2 + "f") ) - ( ;;*ast.CaprefTerm @ add assign float:4:10-11 + ( ;;*ast.CaprefTerm @ types:8:6-7 "1") ) ) ) ) - --- PASS: TestCodegen/match_expression (0.00s) + --- PASS: TestCodegen/cond_else (0.01s) codegen_test.go:867: Typed AST: - ( ;;*ast.StmtList @ match expression:2:10-12 - ( ;;*ast.VarDecl @ match expression:2:10-12 + ( ;;*ast.StmtList @ cond else:1:9-11 + ( ;;*ast.VarDecl @ cond else:1:9-11 counter foo) - ( ;;*ast.CondStmt @ match expression:3:2-7 - ( ;;*ast.PatternExpr @ match expression:3:2-7 - ( ;;*ast.PatternLit @ match expression:3:2-7 - "(.*)") + ( ;;*ast.VarDecl @ cond else:2:9-11 + counter bar) + ( ;;*ast.CondStmt @ cond else:3:1-5 + ( ;;*ast.BinaryExpr @ cond else:3:1-5 + > + ( ;;*ast.IntLit @ cond else:3:1 + 1) + ( ;;*ast.IntLit @ cond else:3:5 + 0) ) - ( ;;*ast.StmtList @ match expression:4:4-15 - ( ;;*ast.CondStmt @ match expression:4:4-15 - ( ;;*ast.BinaryExpr @ match expression:4:4-15 - =~ - ( ;;*ast.CaprefTerm @ match expression:4:4-5 - "1") - ( ;;*ast.PatternExpr @ match expression:4:10-15 - ( ;;*ast.PatternLit @ match expression:4:10-15 - "asdf") + ( ;;*ast.StmtList @ cond else:4:3-7 + ( ;;*ast.UnaryExpr @ cond else:4:3-7 + ++ + ( ;;*ast.IndexedExpr @ cond else:4:3-5 + ( ;;*ast.ExprList <⨯> @ ) + ( ;;*ast.IdTerm @ cond else:4:3-5 + "foo") + ) ) - ( ;;*ast.StmtList @ match expression:5:6-10 - ( ;;*ast.UnaryExpr @ match expression:5:6-10 - ++ - ( ;;*ast.IndexedExpr @ match expression:5:6-8 - ( ;;*ast.ExprList <⨯> @ - ) - ( ;;*ast.IdTerm @ match expression:5:6-8 - "foo") + ) + ( ;;*ast.StmtList @ cond else:6:3-7 + ( ;;*ast.UnaryExpr @ cond else:6:3-7 + ++ + ( ;;*ast.IndexedExpr @ cond else:6:3-5 + ( ;;*ast.ExprList <⨯> @ ) + ( ;;*ast.IdTerm @ cond else:6:3-5 + "bar") + ) + ) + ) + ) + ) + + --- PASS: TestCodegen/dimensioned_counter (0.01s) + codegen_test.go:867: Typed AST: + ( ;;*ast.StmtList @ dimensioned counter:1:9 + ( ;;*ast.VarDecl @ dimensioned counter:1:9 + counter c (a b c)) + ( ;;*ast.CondStmt @ dimensioned counter:2:1-16 + ( ;;*ast.PatternExpr @ dimensioned counter:2:1-16 + ( ;;*ast.PatternLit @ dimensioned counter:2:1-16 + "(\\d) (\\d) (\\d)") + ) + ( ;;*ast.StmtList @ dimensioned counter:3:3-16 + ( ;;*ast.UnaryExpr @ dimensioned counter:3:3-16 + ++ + ( ;;*ast.IndexedExpr @ dimensioned counter:3:3-13 + ( ;;*ast.ExprList @ dimensioned counter:3:5-13 + ( ;;*ast.CaprefTerm @ dimensioned counter:3:5-6 + "1") + ( ;;*ast.CaprefTerm @ dimensioned counter:3:8-9 + "2") + ( ;;*ast.CaprefTerm @ dimensioned counter:3:12-13 + "3") ) + ( ;;*ast.IdTerm @ dimensioned counter:3:3 + "c") ) ) ) @@ -20313,7 +20348,7 @@ ) PASS -ok github.com/google/mtail/internal/vm/codegen 1.240s +ok github.com/google/mtail/internal/vm/codegen 1.124s ? github.com/google/mtail/internal/vm/errors [no test files] ? github.com/google/mtail/internal/vm/object [no test files] === RUN TestLex @@ -20367,57 +20402,57 @@ === PAUSE TestLex/unterminated_regex === RUN TestLex/unterminated_quoted_string === PAUSE TestLex/unterminated_quoted_string -=== CONT TestLex/spaces -=== CONT TestLex/unterminated_quoted_string -=== CONT TestLex/unterminated_regex -=== CONT TestLex/unexpected_char -=== CONT TestLex/large_program -=== CONT TestLex/decorator -=== CONT TestLex/escaped_quote_in_quoted_string -=== CONT TestLex/quoted_string -=== CONT TestLex/linecount -=== CONT TestLex/numerical_capref -=== CONT TestLex/capref -=== CONT TestLex/capref_with_trailing_punc === CONT TestLex/empty -=== CONT TestLex/operators === CONT TestLex/regex_with_escape_and_special_char -=== CONT TestLex/regex_with_escape === CONT TestLex/regex -=== CONT TestLex/keywords +=== CONT TestLex/regex_with_escape +=== CONT TestLex/quoted_string === CONT TestLex/identifier -=== CONT TestLex/numbers -=== CONT TestLex/punctuation -=== CONT TestLex/builtins +=== CONT TestLex/decorator +=== CONT TestLex/numerical_capref +=== CONT TestLex/escaped_quote_in_quoted_string +=== CONT TestLex/unterminated_regex +=== CONT TestLex/capref_with_trailing_punc === CONT TestLex/comment_not_at_col_1 +=== CONT TestLex/unexpected_char +=== CONT TestLex/linecount === CONT TestLex/comment +=== CONT TestLex/punctuation +=== CONT TestLex/large_program +=== CONT TestLex/spaces +=== CONT TestLex/capref +=== CONT TestLex/keywords +=== CONT TestLex/builtins +=== CONT TestLex/numbers +=== CONT TestLex/unterminated_quoted_string === CONT TestLex/newlines +=== CONT TestLex/operators --- PASS: TestLex (0.01s) - --- PASS: TestLex/spaces (0.00s) - --- PASS: TestLex/unterminated_quoted_string (0.00s) - --- PASS: TestLex/unterminated_regex (0.00s) - --- PASS: TestLex/unexpected_char (0.00s) - --- PASS: TestLex/large_program (0.00s) - --- PASS: TestLex/decorator (0.00s) - --- PASS: TestLex/escaped_quote_in_quoted_string (0.00s) - --- PASS: TestLex/quoted_string (0.00s) - --- PASS: TestLex/linecount (0.00s) - --- PASS: TestLex/numerical_capref (0.00s) - --- PASS: TestLex/capref (0.00s) --- PASS: TestLex/empty (0.00s) - --- PASS: TestLex/capref_with_trailing_punc (0.00s) + --- PASS: TestLex/regex (0.00s) --- PASS: TestLex/regex_with_escape_and_special_char (0.00s) --- PASS: TestLex/regex_with_escape (0.00s) - --- PASS: TestLex/operators (0.00s) - --- PASS: TestLex/regex (0.00s) + --- PASS: TestLex/quoted_string (0.00s) + --- PASS: TestLex/decorator (0.00s) --- PASS: TestLex/identifier (0.00s) - --- PASS: TestLex/keywords (0.00s) - --- PASS: TestLex/numbers (0.00s) - --- PASS: TestLex/punctuation (0.00s) + --- PASS: TestLex/numerical_capref (0.00s) + --- PASS: TestLex/unterminated_regex (0.00s) + --- PASS: TestLex/unexpected_char (0.00s) + --- PASS: TestLex/escaped_quote_in_quoted_string (0.00s) --- PASS: TestLex/comment_not_at_col_1 (0.00s) + --- PASS: TestLex/capref_with_trailing_punc (0.00s) --- PASS: TestLex/comment (0.00s) + --- PASS: TestLex/linecount (0.00s) + --- PASS: TestLex/spaces (0.00s) + --- PASS: TestLex/punctuation (0.00s) + --- PASS: TestLex/capref (0.00s) + --- PASS: TestLex/large_program (0.00s) + --- PASS: TestLex/unterminated_quoted_string (0.00s) --- PASS: TestLex/newlines (0.00s) - --- PASS: TestLex/builtins (0.01s) + --- PASS: TestLex/numbers (0.00s) + --- PASS: TestLex/builtins (0.00s) + --- PASS: TestLex/keywords (0.00s) + --- PASS: TestLex/operators (0.00s) === RUN TestParserRoundTrip === RUN TestParserRoundTrip/empty === PAUSE TestParserRoundTrip/empty @@ -20529,168 +20564,90 @@ === PAUSE TestParserRoundTrip/match_expr_4 === RUN TestParserRoundTrip/stop === PAUSE TestParserRoundTrip/stop -=== CONT TestParserRoundTrip/empty -=== CONT TestParserRoundTrip/const_regex -=== CONT TestParserRoundTrip/multiplicative +=== CONT TestParserRoundTrip/declare_counter +=== CONT TestParserRoundTrip/decorator_definition_and_invocation reduce 2 in: state-0 +=== CONT TestParserRoundTrip/delete +=== CONT TestParserRoundTrip/match_expression_3 reduce 2 in: state-0 -lex CONST(57354) -lex ID(57367) -reduce 83 in: - state-45 -reduce 108 in: - state-46 -lex DIV(57374) -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex NL(57406) -reduce 11 in: - state-101 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex PLUS(57378) -lex ID(57367) -reduce 110 in: - state-83 -reduce 83 in: - state-45 -reduce 57 in: - state-147 -lex PLUS(57378) -lex DIV(57374) -reduce 110 in: - state-83 -reduce 108 in: - state-119 -reduce 109 in: - state-59 -=== CONT TestParserRoundTrip/more_complex_action,_increment_counter reduce 2 in: state-0 -lex $end(0) -reduce 1 in: - state-2 +lex COUNTER(57347) reduce 2 in: state-0 -lex COUNTER(57347) +=== CONT TestParserRoundTrip/nested_match_conditions +lex DEF(57356) +reduce 2 in: + state-0 +reduce 108 in: + state-2 reduce 88 in: state-2 +=== CONT TestParserRoundTrip/decrement_counter +lex COUNTER(57347) reduce 94 in: state-55 -lex ID(57367) -reduce 2 in: - state-0 -=== CONT TestParserRoundTrip/simple_pattern_action -lex $end(0) -reduce 1 in: +reduce 88 in: state-2 reduce 2 in: state-0 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 109 in: - state-59 +lex ID(57367) +lex COUNTER(57347) reduce 92 in: state-107 -lex REGEX(57363) +reduce 94 in: + state-55 +lex ID(57367) +reduce 92 in: + state-107 +=== CONT TestParserRoundTrip/incby_operator lex NL(57406) -lex DIV(57374) -reduce 87 in: - state-106 -lex REGEX(57363) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -reduce 6 in: - state-6 -lex LCURLY(57399) -reduce 3 in: - state-3 -reduce 54 in: - state-30 -reduce 49 in: - state-26 -lex COUNTER(57347) reduce 88 in: state-2 reduce 94 in: state-55 -reduce 25 in: - state-22 +lex ID(57367) +reduce 87 in: + state-106 +reduce 2 in: + state-0 +lex LCURLY(57399) +lex COUNTER(57347) reduce 2 in: state-49 -lex RCURLY(57400) -reduce 19 in: - state-131 +lex NL(57406) +lex NEXT(57358) reduce 17 in: state-16 -lex NL(57406) +reduce 10 in: + state-10 reduce 5 in: state-5 -reduce 15 in: - state-47 reduce 3 in: state-3 -reduce 4 in: - state-4 +reduce 88 in: + state-2 +reduce 94 in: + state-55 +lex NL(57406) +reduce 87 in: + state-106 +reduce 6 in: + state-6 +lex COUNTER(57347) reduce 3 in: state-3 -lex DIV(57374) -reduce 17 in: - state-16 -reduce 108 in: +reduce 88 in: state-2 -reduce 5 in: - state-5 -reduce 109 in: - state-59 +reduce 94 in: + state-55 +lex ID(57367) reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 +lex CONST(57354) +lex ID(57367) lex NL(57406) reduce 17 in: state-16 @@ -20698,246 +20655,205 @@ state-5 reduce 3 in: state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex INC(57372) -reduce 72 in: - state-31 -reduce 68 in: - state-27 -reduce 70 in: - state-90 -reduce 69 in: - state-89 -lex NL(57406) -reduce 66 in: - state-39 -reduce 60 in: - state-28 -=== CONT TestParserRoundTrip/conditional_expressions -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 +lex RCURLY(57400) +reduce 19 in: + state-131 +=== CONT TestParserRoundTrip/more_complex_action,_increment_counter reduce 2 in: state-0 -reduce 24 in: - state-21 -reduce 21 in: - state-14 lex COUNTER(57347) -reduce 20 in: - state-23 reduce 88 in: state-2 -reduce 18 in: - state-53 reduce 94 in: state-55 -reduce 5 in: - state-5 -reduce 3 in: - state-3 +reduce 92 in: + state-107 lex ID(57367) -lex RCURLY(57400) reduce 92 in: state-107 -reduce 19 in: - state-131 lex NL(57406) lex NL(57406) reduce 87 in: state-106 -reduce 15 in: - state-47 +reduce 87 in: + state-106 reduce 6 in: state-6 -reduce 4 in: - state-4 -reduce 3 in: - state-3 -=== CONT TestParserRoundTrip/additive_and_mem_storage +reduce 6 in: + state-6 +lex ID(57367) +reduce 83 in: + state-45 +reduce 108 in: + state-46 +lex ID(57367) +lex DIV(57374) +reduce 92 in: + state-107 +reduce 109 in: + state-59 +reduce 104 in: + state-137 +lex NL(57406) +reduce 6 in: + state-6 +reduce 87 in: + state-106 +reduce 7 in: + state-7 +reduce 92 in: + state-107 reduce 17 in: state-16 -reduce 5 in: - state-5 +lex BY(57353) +lex ID(57367) +reduce 99 in: + state-154 reduce 3 in: state-3 -lex DIV(57374) +lex NL(57406) +=== CONT TestParserRoundTrip/conditional_expressions +reduce 17 in: + state-16 +reduce 6 in: + state-6 reduce 3 in: state-3 -reduce 2 in: - state-0 +=== CONT TestParserRoundTrip/const reduce 17 in: state-16 -reduce 5 in: - state-5 -lex COUNTER(57347) reduce 3 in: state-3 -=== CONT TestParserRoundTrip/declare_text -lex $end(0) -reduce 1 in: - state-2 +reduce 5 in: + state-5 reduce 2 in: state-0 -lex TEXT(57350) -reduce 88 in: - state-2 -reduce 97 in: - state-58 +reduce 3 in: + state-3 +lex CONST(57354) +lex DIV(57374) lex ID(57367) -reduce 92 in: - state-107 +reduce 3 in: + state-3 +reduce 108 in: + state-2 +reduce 109 in: + state-59 +lex REGEX(57363) +reduce 98 in: + state-153 +lex DIV(57374) +reduce 86 in: + state-157 +reduce 55 in: + state-42 lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 +reduce 11 in: + state-101 reduce 3 in: state-3 +reduce 2 in: + state-0 +reduce 17 in: + state-16 reduce 17 in: state-16 +lex COUNTER(57347) reduce 5 in: state-5 +reduce 83 in: + state-45 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: +=== CONT TestParserRoundTrip/additive_and_mem_storage +lex DIV(57374) +reduce 108 in: state-2 -lex ID(57367) -reduce 92 in: - state-107 -lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 reduce 3 in: state-3 -reduce 17 in: - state-16 -reduce 2 in: - state-0 +reduce 5 in: + state-5 +reduce 109 in: + state-59 reduce 2 in: state-0 -lex TEXT(57350) reduce 88 in: state-2 -lex DIV(57374) -reduce 97 in: - state-58 reduce 108 in: - state-2 -lex ID(57367) -=== CONT TestParserRoundTrip/declare_timer -reduce 92 in: - state-107 -lex NL(57406) -reduce 2 in: - state-0 -reduce 2 in: - state-0 + state-46 lex COUNTER(57347) -lex TIMER(57349) -reduce 88 in: - state-2 reduce 88 in: state-2 reduce 94 in: state-55 -reduce 96 in: - state-57 -lex ID(57367) -lex ID(57367) -reduce 92 in: - state-107 -reduce 92 in: - state-107 -lex NL(57406) -reduce 87 in: - state-106 -lex NL(57406) -reduce 109 in: - state-59 -=== CONT TestParserRoundTrip/numeric_capture_group_reference +lex DIV(57374) +reduce 90 in: + state-132 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 lex REGEX(57363) lex DIV(57374) reduce 86 in: state-157 -reduce 2 in: - state-0 +reduce 3 in: + state-3 reduce 55 in: state-42 -lex DIV(57374) -=== CONT TestParserRoundTrip/declare_hidden_counter +reduce 94 in: + state-55 +lex NL(57406) +lex ID(57367) lex LCURLY(57399) -reduce 108 in: - state-2 -reduce 109 in: - state-59 +reduce 17 in: + state-16 reduce 54 in: state-30 -reduce 2 in: - state-0 lex REGEX(57363) -reduce 49 in: - state-26 +reduce 5 in: + state-5 lex DIV(57374) -reduce 25 in: - state-22 -lex HIDDEN(57355) +reduce 3 in: + state-3 +reduce 92 in: + state-107 +lex NL(57406) +=== CONT TestParserRoundTrip/multiplicative +reduce 2 in: + state-0 +lex COUNTER(57347) reduce 88 in: state-2 -reduce 89 in: - state-24 -lex COUNTER(57347) reduce 94 in: state-55 -reduce 87 in: - state-106 lex ID(57367) -reduce 6 in: - state-6 reduce 92 in: state-107 -reduce 3 in: - state-3 lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 reduce 87 in: state-106 -reduce 3 in: - state-3 reduce 6 in: state-6 -lex $end(0) reduce 3 in: state-3 -reduce 1 in: - state-2 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: +lex COUNTER(57347) +reduce 88 in: state-2 reduce 94 in: state-55 +lex $end(0) lex ID(57367) +reduce 1 in: + state-2 reduce 92 in: state-107 lex NL(57406) @@ -20945,21 +20861,6 @@ state-106 reduce 6 in: state-6 -reduce 2 in: - state-0 -reduce 3 in: - state-3 -lex COUNTER(57347) -reduce 17 in: - state-16 -reduce 88 in: - state-2 -reduce 5 in: - state-5 -reduce 6 in: - state-6 -reduce 3 in: - state-3 reduce 3 in: state-3 reduce 17 in: @@ -20969,215 +20870,130 @@ reduce 3 in: state-3 lex DIV(57374) -reduce 108 in: - state-2 +reduce 49 in: + state-26 +=== CONT TestParserRoundTrip/declare_timer +reduce 25 in: + state-22 +reduce 2 in: + state-0 +reduce 2 in: + state-49 +lex NL(57406) lex COUNTER(57347) -reduce 109 in: - state-59 +=== CONT TestParserRoundTrip/assignment reduce 88 in: state-2 -lex REGEX(57363) reduce 94 in: state-55 -lex DIV(57374) +=== CONT TestParserRoundTrip/strptime_and_capref +reduce 2 in: + state-0 lex ID(57367) -reduce 86 in: - state-157 reduce 92 in: state-107 -reduce 55 in: - state-42 -lex LCURLY(57399) -lex BY(57353) -reduce 54 in: - state-30 -lex ID(57367) -reduce 49 in: - state-26 -reduce 99 in: - state-154 -reduce 25 in: - state-22 -reduce 5 in: - state-5 -lex NL(57406) -reduce 3 in: - state-3 -reduce 98 in: - state-153 lex COUNTER(57347) -reduce 90 in: - state-132 +reduce 2 in: + state-0 +lex NL(57406) reduce 88 in: state-2 reduce 87 in: state-106 -reduce 94 in: - state-55 -reduce 6 in: - state-6 -reduce 3 in: - state-3 -reduce 2 in: - state-49 -lex NL(57406) -reduce 17 in: - state-16 +lex DIV(57374) +reduce 87 in: + state-106 reduce 17 in: state-16 +=== CONT TestParserRoundTrip/regex_match_includes_escaped_slashes reduce 5 in: state-5 +reduce 94 in: + state-55 reduce 3 in: state-3 lex ID(57367) +lex ID(57367) +reduce 92 in: + state-107 reduce 83 in: state-45 reduce 81 in: state-43 -lex INC(57372) -reduce 72 in: - state-31 -reduce 86 in: - state-157 -lex ID(57367) -reduce 92 in: - state-107 -reduce 55 in: - state-42 -lex NL(57406) +lex ADD_ASSIGN(57394) +reduce 2 in: + state-0 reduce 87 in: state-106 -lex LCURLY(57399) +lex TIMER(57349) reduce 6 in: state-6 -reduce 54 in: - state-30 +reduce 88 in: + state-2 reduce 3 in: state-3 -reduce 49 in: - state-26 -reduce 17 in: - state-16 reduce 5 in: state-5 +reduce 17 in: + state-16 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 reduce 5 in: state-5 +reduce 5 in: + state-5 +lex COUNTER(57347) +reduce 3 in: + state-3 reduce 3 in: state-3 +reduce 88 in: + state-2 lex DIV(57374) +reduce 94 in: + state-55 reduce 108 in: state-2 +lex ID(57367) reduce 109 in: state-59 +reduce 96 in: + state-57 lex REGEX(57363) +lex ID(57367) lex DIV(57374) +reduce 92 in: + state-107 reduce 86 in: state-157 +lex NL(57406) reduce 55 in: state-42 -reduce 68 in: - state-27 reduce 87 in: state-106 lex LCURLY(57399) -reduce 70 in: - state-90 -reduce 54 in: - state-30 -reduce 69 in: - state-89 -reduce 49 in: - state-26 -lex NL(57406) -reduce 25 in: - state-22 -reduce 66 in: - state-39 -reduce 2 in: - state-49 -lex DIV(57374) -lex NL(57406) -reduce 17 in: - state-16 -reduce 86 in: - state-157 -reduce 5 in: - state-5 -reduce 56 in: - state-146 -reduce 108 in: - state-2 -lex LCURLY(57399) -reduce 109 in: - state-59 -reduce 54 in: - state-30 -lex REGEX(57363) -reduce 49 in: - state-26 -lex DIV(57374) -reduce 25 in: - state-22 -reduce 86 in: - state-157 -reduce 2 in: - state-49 -reduce 55 in: - state-42 -lex NL(57406) -lex LCURLY(57399) -reduce 17 in: - state-16 +reduce 6 in: + state-6 reduce 54 in: state-30 -reduce 5 in: - state-5 -reduce 49 in: - state-26 -reduce 3 in: - state-3 -reduce 25 in: - state-22 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex NL(57406) -reduce 2 in: - state-49 -reduce 15 in: - state-47 -lex NL(57406) -reduce 4 in: - state-4 -reduce 17 in: - state-16 reduce 3 in: state-3 -reduce 5 in: - state-5 reduce 17 in: state-16 -reduce 3 in: - state-3 reduce 5 in: state-5 -lex RCURLY(57400) reduce 3 in: state-3 -reduce 6 in: - state-6 lex $end(0) -reduce 3 in: - state-3 -reduce 94 in: - state-55 -reduce 17 in: - state-16 +reduce 1 in: + state-2 +reduce 2 in: + state-0 +lex TIMER(57349) +reduce 88 in: + state-2 +reduce 96 in: + state-57 lex ID(57367) reduce 92 in: state-107 @@ -21194,6 +21010,12 @@ state-5 reduce 3 in: state-3 +lex $end(0) +reduce 1 in: + state-2 +=== CONT TestParserRoundTrip/comment_then_code +reduce 2 in: + state-0 lex DIV(57374) reduce 108 in: state-2 @@ -21208,153 +21030,104 @@ lex LCURLY(57399) reduce 54 in: state-30 -reduce 60 in: - state-28 reduce 49 in: state-26 -reduce 47 in: - state-44 -reduce 25 in: - state-22 -reduce 43 in: - state-41 -reduce 2 in: - state-49 reduce 25 in: state-22 -lex NL(57406) -reduce 19 in: - state-131 reduce 2 in: state-49 lex NL(57406) -lex NL(57406) -reduce 17 in: - state-16 -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 -=== CONT TestParserRoundTrip/declare_multi-dimensioned_counter -reduce 2 in: - state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 -lex BY(57353) -lex ID(57367) -reduce 99 in: - state-154 -lex COMMA(57405) -lex ID(57367) -reduce 101 in: - state-160 +lex BUILTIN(57362) +lex LPAREN(57401) +lex CAPREF(57365) +reduce 75 in: + state-33 +reduce 68 in: + state-63 lex COMMA(57405) -lex ID(57367) -reduce 101 in: - state-160 +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 84 in: + state-121 +lex STRING(57364) +reduce 77 in: + state-35 +reduce 68 in: + state-63 +lex RPAREN(57402) +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 85 in: + state-158 +reduce 74 in: + state-150 lex NL(57406) -reduce 98 in: - state-153 -reduce 90 in: - state-132 -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex $end(0) -reduce 1 in: - state-2 +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-28 +lex ID(57367) reduce 2 in: state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) reduce 92 in: state-107 -lex BY(57353) -lex ID(57367) -reduce 99 in: - state-154 -lex COMMA(57405) -lex ID(57367) -reduce 101 in: - state-160 -lex COMMA(57405) -lex ID(57367) -reduce 101 in: - state-160 +reduce 47 in: + state-44 lex NL(57406) -reduce 98 in: - state-153 -reduce 90 in: - state-132 -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 -reduce 17 in: - state-16 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 reduce 5 in: state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 -=== CONT TestParserRoundTrip/declare_dimensioned_counter -reduce 2 in: - state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 -lex BY(57353) -lex ID(57367) -reduce 99 in: - state-154 +lex RCURLY(57400) +reduce 19 in: + state-131 lex NL(57406) -reduce 98 in: - state-153 -reduce 90 in: - state-132 -reduce 87 in: - state-106 -reduce 6 in: - state-6 +reduce 15 in: + state-47 +reduce 4 in: + state-4 reduce 3 in: state-3 reduce 17 in: @@ -21366,121 +21139,93 @@ lex $end(0) reduce 1 in: state-2 -reduce 2 in: - state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) reduce 92 in: state-107 -lex BY(57353) -lex ID(57367) -reduce 99 in: - state-154 +reduce 2 in: + state-0 lex NL(57406) -reduce 98 in: - state-153 -reduce 90 in: - state-132 +lex DIV(57374) +reduce 108 in: + state-2 reduce 87 in: state-106 +reduce 109 in: + state-59 reduce 6 in: state-6 reduce 3 in: state-3 +lex REGEX(57363) reduce 17 in: state-16 +lex DIV(57374) reduce 5 in: state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: +lex DIV(57374) +reduce 108 in: state-2 -reduce 35 in: - state-29 -reduce 30 in: - state-25 +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 55 in: + state-42 +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 25 in: + state-22 reduce 2 in: state-49 -reduce 5 in: - state-5 -=== CONT TestParserRoundTrip/nested_else_clause -reduce 3 in: - state-3 -lex $end(0) lex NL(57406) -reduce 1 in: - state-2 reduce 17 in: state-16 -reduce 17 in: - state-16 -=== CONT TestParserRoundTrip/declare_counter_string_name -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex CAPREF_NAMED(57366) -reduce 76 in: - state-34 -reduce 2 in: - state-0 reduce 5 in: state-5 -lex GT(57383) reduce 3 in: state-3 -reduce 68 in: - state-27 lex ID(57367) -=== CONT TestParserRoundTrip/decorator_definition_and_invocation reduce 83 in: state-45 -reduce 2 in: - state-0 reduce 81 in: state-43 -lex MUL(57376) -lex TIMER(57349) +lex ADD_ASSIGN(57394) reduce 72 in: state-31 -reduce 88 in: - state-2 reduce 68 in: state-27 -reduce 2 in: - state-0 -reduce 96 in: - state-57 reduce 66 in: state-39 -lex ID(57367) -reduce 92 in: - state-107 +lex CAPREF(57365) +reduce 110 in: + state-79 +reduce 75 in: + state-33 lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex $end(0) -reduce 1 in: - state-2 +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 reduce 24 in: state-21 -reduce 21 in: - state-14 +reduce 23 in: + state-144 reduce 20 in: state-23 reduce 18 in: @@ -21489,33 +21234,41 @@ state-5 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 +lex DIV(57374) +reduce 108 in: + state-105 +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 55 in: + state-42 +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +reduce 2 in: + state-49 lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex CAPREF(57365) -reduce 75 in: - state-33 +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 lex INC(57372) +reduce 72 in: + state-31 reduce 68 in: state-27 reduce 70 in: @@ -21547,14 +21300,46 @@ state-5 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 +lex CAPREF(57365) +reduce 75 in: + state-33 +lex INC(57372) +reduce 68 in: + state-27 +reduce 70 in: + state-90 +reduce 69 in: + state-89 lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 +reduce 66 in: + state-39 +reduce 60 in: + state-28 +reduce 47 in: + state-44 +lex CAPREF_NAMED(57366) +reduce 43 in: + state-41 +reduce 108 in: + state-2 +reduce 76 in: + state-34 +reduce 35 in: + state-29 +reduce 49 in: + state-26 +reduce 30 in: + state-25 +lex MATCH(57397) +reduce 25 in: + state-22 +reduce 24 in: + state-21 +lex NL(57406) +reduce 87 in: + state-106 +reduce 6 in: + state-6 reduce 3 in: state-3 reduce 17 in: @@ -21563,119 +21348,57 @@ state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 -reduce 3 in: - state-3 -lex DEF(57356) -reduce 108 in: - state-2 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -reduce 1 in: - state-2 -lex ADD_ASSIGN(57394) -reduce 72 in: - state-31 -reduce 68 in: - state-27 -reduce 66 in: - state-39 -lex BUILTIN(57362) -reduce 110 in: - state-79 -lex LPAREN(57401) -reduce 2 in: - state-0 -lex RPAREN(57402) -reduce 73 in: - state-123 -lex MINUS(57377) -reduce 68 in: - state-27 lex DIV(57374) -reduce 66 in: - state-39 reduce 108 in: state-2 -reduce 60 in: - state-122 reduce 109 in: state-59 -reduce 47 in: - state-44 lex REGEX(57363) -reduce 59 in: - state-95 lex DIV(57374) -lex ID(57367) -reduce 110 in: - state-93 reduce 86 in: state-157 -reduce 83 in: - state-45 -reduce 81 in: - state-43 reduce 55 in: state-42 -lex LSQUARE(57403) lex LCURLY(57399) -lex CAPREF_NAMED(57366) reduce 54 in: state-30 -reduce 76 in: - state-34 reduce 49 in: state-26 reduce 25 in: state-22 -reduce 68 in: - state-63 -lex RSQUARE(57404) reduce 2 in: state-49 -reduce 66 in: - state-39 lex NL(57406) -reduce 60 in: - state-122 reduce 17 in: state-16 -reduce 47 in: - state-44 -reduce 2 in: - state-0 reduce 5 in: state-5 reduce 3 in: state-3 -reduce 43 in: - state-41 lex ID(57367) -lex CAPREF(57365) reduce 83 in: state-45 -reduce 75 in: - state-33 reduce 81 in: state-43 -lex INC(57372) +lex ASSIGN(57395) +reduce 72 in: + state-31 reduce 68 in: state-27 -reduce 70 in: - state-90 -reduce 69 in: - state-89 +reduce 66 in: + state-39 +lex CAPREF_NAMED(57366) +reduce 110 in: + state-78 +reduce 76 in: + state-34 lex NL(57406) +reduce 68 in: + state-27 reduce 66 in: state-39 reduce 60 in: - state-28 + state-122 reduce 47 in: state-44 reduce 43 in: @@ -21686,8 +21409,8 @@ state-25 reduce 24 in: state-21 -reduce 21 in: - state-14 +reduce 22 in: + state-143 reduce 20 in: state-23 reduce 18 in: @@ -21715,7 +21438,6 @@ lex $end(0) reduce 1 in: state-2 -=== CONT TestParserRoundTrip/declare_counter reduce 2 in: state-0 lex COUNTER(57347) @@ -21739,111 +21461,8 @@ state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 -reduce 2 in: - state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 -lex NL(57406) -reduce 60 in: - state-28 -lex NL(57406) -=== CONT TestParserRoundTrip/newline -reduce 72 in: - state-31 -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-28 -=== CONT TestParserRoundTrip/declare_gauge -reduce 47 in: - state-44 -reduce 2 in: - state-0 -reduce 43 in: - state-41 -lex NL(57406) -reduce 35 in: - state-29 -reduce 17 in: - state-16 -reduce 30 in: - state-25 -reduce 5 in: - state-5 -reduce 24 in: - state-21 -=== CONT TestParserRoundTrip/pattern_action_then_otherwise_action -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -reduce 2 in: - state-0 -lex DIV(57374) -lex COUNTER(57347) -reduce 108 in: - state-2 -reduce 88 in: - state-2 -reduce 109 in: - state-59 -reduce 2 in: - state-0 -lex REGEX(57363) -lex DIV(57374) -lex DIV(57374) -reduce 108 in: - state-2 -reduce 86 in: - state-157 -reduce 109 in: - state-59 -reduce 55 in: - state-42 -lex REGEX(57363) -lex PLUS(57378) -lex DIV(57374) -lex ID(57367) -reduce 86 in: - state-157 -reduce 110 in: - state-83 -reduce 83 in: - state-45 -reduce 55 in: - state-42 -reduce 57 in: - state-147 -lex LCURLY(57399) -reduce 54 in: - state-30 -lex PLUS(57378) lex DIV(57374) -reduce 3 in: - state-3 -reduce 110 in: - state-83 -lex $end(0) reduce 108 in: - state-119 -reduce 1 in: state-2 reduce 109 in: state-59 @@ -21851,28 +21470,6 @@ lex DIV(57374) reduce 86 in: state-157 -reduce 56 in: - state-146 -reduce 2 in: - state-0 -lex LCURLY(57399) -reduce 35 in: - state-29 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 -lex DIV(57374) -reduce 108 in: - state-105 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 reduce 55 in: state-42 lex LCURLY(57399) @@ -21884,54 +21481,39 @@ state-22 reduce 2 in: state-49 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex RCURLY(57400) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 -reduce 19 in: - state-131 -lex ELSE(57360) -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 -lex LCURLY(57399) +lex NL(57406) reduce 17 in: state-16 -reduce 2 in: - state-49 reduce 5 in: state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 -reduce 30 in: - state-25 -reduce 84 in: - state-121 -reduce 82 in: - state-148 -lex NL(57406) +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex ASSIGN(57395) reduce 72 in: state-31 reduce 68 in: - state-63 + state-27 +reduce 66 in: + state-39 +lex CAPREF_NAMED(57366) +reduce 110 in: + state-78 +reduce 76 in: + state-34 +lex NL(57406) +reduce 68 in: + state-27 reduce 66 in: state-39 reduce 60 in: state-122 -reduce 48 in: - state-151 +reduce 47 in: + state-44 reduce 43 in: state-41 reduce 35 in: @@ -21940,8 +21522,8 @@ state-25 reduce 24 in: state-21 -reduce 23 in: - state-144 +reduce 22 in: + state-143 reduce 20 in: state-23 reduce 18 in: @@ -21969,76 +21551,22 @@ lex $end(0) reduce 1 in: state-2 -reduce 62 in: - state-97 -lex ID(57367) -lex ID(57367) -reduce 110 in: - state-96 -lex LCURLY(57399) -reduce 83 in: - state-45 -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 54 in: - state-30 -reduce 38 in: - state-70 -=== CONT TestParserRoundTrip/mod_operator -lex INTLITERAL(57369) -reduce 110 in: - state-68 -reduce 79 in: - state-37 -reduce 68 in: - state-63 -reduce 2 in: - state-0 -lex LCURLY(57399) -lex DIV(57374) -reduce 2 in: - state-0 +lex DECO(57368) reduce 108 in: state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 lex LCURLY(57399) -lex GAUGE(57348) -reduce 54 in: - state-30 -reduce 88 in: - state-2 -reduce 49 in: - state-26 -reduce 95 in: - state-56 -lex ID(57367) -reduce 92 in: - state-107 reduce 2 in: - state-0 -lex NL(57406) -reduce 87 in: - state-106 -lex COUNTER(57347) -reduce 6 in: - state-6 + state-49 +lex RCURLY(57400) +reduce 19 in: + state-131 +reduce 105 in: + state-111 +reduce 8 in: + state-8 reduce 3 in: state-3 +lex NL(57406) reduce 17 in: state-16 reduce 5 in: @@ -22050,76 +21578,147 @@ state-2 reduce 2 in: state-0 -lex GAUGE(57348) -reduce 88 in: +lex DEF(57356) +reduce 108 in: state-2 -reduce 95 in: - state-56 lex ID(57367) -reduce 92 in: - state-107 +lex LCURLY(57399) +reduce 2 in: + state-49 lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: +lex NEXT(57358) +reduce 10 in: + state-10 +reduce 52 in: + state-76 +lex DIV(57374) +lex ID(57367) +reduce 108 in: state-2 +reduce 86 in: + state-157 +reduce 55 in: + state-42 +lex COUNTER(57347) +reduce 21 in: + state-14 reduce 88 in: state-2 reduce 94 in: state-55 +reduce 20 in: + state-23 lex ID(57367) +reduce 18 in: + state-53 reduce 92 in: state-107 +reduce 5 in: + state-5 lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 72 in: + state-31 +reduce 55 in: + state-42 +reduce 68 in: + state-27 +lex LCURLY(57399) +reduce 66 in: + state-39 +lex LCURLY(57399) +lex INTLITERAL(57369) reduce 3 in: state-3 +lex NL(57406) reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex COUNTER(57347) -reduce 88 in: +reduce 6 in: + state-6 +reduce 108 in: state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 -lex BY(57353) -lex ID(57367) -reduce 99 in: - state-154 -lex NL(57406) -reduce 98 in: - state-153 -reduce 90 in: - state-132 +reduce 54 in: + state-30 reduce 87 in: state-106 reduce 6 in: state-6 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex DIV(57374) +reduce 108 in: state-2 +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 55 in: + state-42 +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +reduce 2 in: + state-49 +lex NL(57406) +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex CAPREF_NAMED(57366) +reduce 76 in: + state-34 +lex GT(57383) +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-28 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 38 in: + state-70 +lex INTLITERAL(57369) +reduce 110 in: + state-68 +reduce 79 in: + state-37 +reduce 68 in: + state-63 +lex LCURLY(57399) reduce 66 in: state-39 reduce 60 in: @@ -22276,110 +21875,161 @@ state-39 reduce 60 in: state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 23 in: - state-144 -reduce 20 in: - state-23 -reduce 18 in: - state-53 -reduce 5 in: - state-5 reduce 3 in: state-3 +reduce 6 in: + state-6 +reduce 49 in: + state-26 lex RCURLY(57400) +reduce 25 in: + state-22 reduce 19 in: state-131 +reduce 2 in: + state-49 +lex NL(57406) lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex CAPREF_NAMED(57366) -reduce 76 in: - state-34 -lex LT(57382) +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex MUL(57376) +reduce 72 in: + state-31 reduce 68 in: state-27 reduce 66 in: state-39 reduce 60 in: state-28 +reduce 62 in: + state-97 +lex ID(57367) +reduce 110 in: + state-96 +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex NL(57406) +reduce 72 in: + state-31 +reduce 68 in: + state-63 +reduce 66 in: + state-39 +reduce 61 in: + state-152 reduce 47 in: state-44 reduce 43 in: state-41 reduce 35 in: state-29 -reduce 37 in: - state-69 -lex INTLITERAL(57369) +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex POW(57379) +reduce 72 in: + state-31 +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-28 +reduce 65 in: + state-100 +lex ID(57367) reduce 110 in: - state-68 -reduce 79 in: - state-37 + state-96 +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex NL(57406) +reduce 72 in: + state-31 reduce 68 in: state-63 -lex LCURLY(57399) reduce 66 in: state-39 -reduce 60 in: - state-122 +reduce 61 in: + state-152 reduce 47 in: state-44 reduce 43 in: state-41 -reduce 36 in: - state-140 +reduce 35 in: + state-29 reduce 30 in: state-25 reduce 24 in: state-21 -reduce 2 in: - state-49 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex RCURLY(57400) +reduce 19 in: + state-131 lex NL(57406) +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 3 in: + state-3 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex ID(57367) -reduce 49 in: - state-26 -reduce 25 in: - state-22 +lex $end(0) +reduce 1 in: + state-2 +reduce 2 in: + state-0 +lex COUNTER(57347) +reduce 88 in: + state-2 reduce 94 in: state-55 lex ID(57367) reduce 92 in: state-107 -lex BY(57353) -lex ID(57367) -reduce 99 in: - state-154 lex NL(57406) -reduce 98 in: - state-153 -reduce 90 in: - state-132 reduce 87 in: state-106 reduce 6 in: @@ -22392,45 +22042,114 @@ state-5 reduce 3 in: state-3 -lex DIV(57374) -reduce 108 in: +lex COUNTER(57347) +reduce 88 in: state-2 +reduce 47 in: + state-44 +reduce 15 in: + state-47 +reduce 43 in: + state-41 +reduce 4 in: + state-4 reduce 109 in: state-59 +reduce 35 in: + state-29 +reduce 30 in: + state-25 lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 +reduce 24 in: + state-21 +reduce 2 in: + state-49 +lex NL(57406) +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 87 in: + state-106 +reduce 110 in: + state-75 +reduce 3 in: + state-3 +reduce 83 in: + state-45 +reduce 6 in: + state-6 +reduce 81 in: + state-43 +lex RCURLY(57400) lex LCURLY(57399) +reduce 19 in: + state-131 reduce 54 in: state-30 +reduce 104 in: + state-137 reduce 49 in: state-26 +reduce 7 in: + state-7 +reduce 110 in: + state-79 reduce 25 in: state-22 +reduce 79 in: + state-37 reduce 2 in: state-49 +reduce 94 in: + state-55 +lex NL(57406) +lex NL(57406) +reduce 68 in: + state-27 +reduce 3 in: + state-3 +reduce 66 in: + state-39 lex NL(57406) +reduce 60 in: + state-122 +reduce 3 in: + state-3 +reduce 17 in: + state-16 reduce 17 in: state-16 reduce 5 in: state-5 -reduce 3 in: - state-3 lex ID(57367) +reduce 17 in: + state-16 reduce 83 in: state-45 +reduce 5 in: + state-5 reduce 81 in: state-43 -lex LSQUARE(57403) -lex STRING(57364) -reduce 77 in: - state-35 +reduce 3 in: + state-3 +lex INC(57372) +reduce 72 in: + state-31 +lex BUILTIN(57362) +reduce 68 in: + state-27 +lex LPAREN(57401) +lex CAPREF(57365) +reduce 75 in: + state-33 reduce 68 in: state-63 -lex RSQUARE(57404) +lex COMMA(57405) reduce 66 in: state-39 reduce 60 in: @@ -22445,18 +22164,61 @@ state-25 reduce 84 in: state-121 -reduce 82 in: - state-148 -lex INC(57372) +lex ID(57367) +lex STRING(57364) +reduce 92 in: + state-107 +reduce 77 in: + state-35 reduce 72 in: state-31 reduce 68 in: - state-27 + state-63 +reduce 51 in: + state-142 +lex RPAREN(57402) +reduce 25 in: + state-22 +reduce 66 in: + state-39 +reduce 2 in: + state-49 +reduce 60 in: + state-122 +lex NL(57406) +reduce 47 in: + state-44 +reduce 17 in: + state-16 +reduce 43 in: + state-41 +reduce 5 in: + state-5 +reduce 35 in: + state-29 +reduce 3 in: + state-3 +lex RCURLY(57400) +reduce 30 in: + state-25 +reduce 19 in: + state-131 +reduce 85 in: + state-158 reduce 70 in: state-90 +lex $end(0) +reduce 15 in: + state-47 reduce 69 in: state-89 +reduce 4 in: + state-4 +reduce 3 in: + state-3 lex NL(57406) +reduce 1 in: + state-2 reduce 66 in: state-39 reduce 60 in: @@ -22481,73 +22243,41 @@ state-5 reduce 3 in: state-3 -reduce 83 in: - state-45 -reduce 2 in: - state-49 -reduce 81 in: - state-43 -lex NL(57406) -lex ADD_ASSIGN(57394) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -=== CONT TestParserRoundTrip/simple_else_clause -reduce 2 in: - state-0 -=== CONT TestParserRoundTrip/floats -reduce 2 in: - state-0 -lex GAUGE(57348) -reduce 88 in: - state-2 -reduce 95 in: - state-56 -lex ID(57367) -reduce 92 in: - state-107 +lex RCURLY(57400) +reduce 19 in: + state-131 lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 +reduce 15 in: + state-47 +reduce 4 in: + state-4 reduce 3 in: state-3 reduce 17 in: state-16 reduce 5 in: state-5 +reduce 2 in: + state-0 reduce 3 in: state-3 -lex DIV(57374) -reduce 108 in: +lex ID(57367) +reduce 83 in: + state-45 +lex $end(0) +reduce 81 in: + state-43 +reduce 1 in: state-2 -reduce 109 in: - state-59 -lex REGEX(57363) +lex NL(57406) reduce 72 in: state-31 -=== CONT TestParserRoundTrip/incby_operator -reduce 68 in: - state-27 -reduce 66 in: - state-39 -lex CAPREF_NAMED(57366) -reduce 2 in: - state-0 -reduce 110 in: - state-79 -reduce 76 in: - state-34 -lex COUNTER(57347) -lex NL(57406) reduce 68 in: state-27 reduce 66 in: state-39 reduce 60 in: - state-122 + state-28 reduce 47 in: state-44 reduce 43 in: @@ -22558,8 +22288,8 @@ state-25 reduce 24 in: state-21 -reduce 23 in: - state-144 +reduce 21 in: + state-14 reduce 20 in: state-23 reduce 18 in: @@ -22568,6 +22298,35 @@ state-5 reduce 3 in: state-3 +lex CAPREF_NAMED(57366) +reduce 76 in: + state-34 +lex MATCH(57397) +reduce 52 in: + state-76 +lex ID(57367) +reduce 110 in: + state-75 +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex LCURLY(57399) +reduce 72 in: + state-31 +reduce 51 in: + state-142 +reduce 25 in: + state-22 +reduce 2 in: + state-49 +lex NL(57406) +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 lex RCURLY(57400) reduce 19 in: state-131 @@ -22584,79 +22343,28 @@ state-5 reduce 3 in: state-3 -lex CAPREF_NAMED(57366) -reduce 76 in: - state-34 -lex LE(57384) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 39 in: - state-71 -lex INTLITERAL(57369) -reduce 110 in: - state-68 -reduce 79 in: - state-37 -reduce 68 in: - state-63 -lex LCURLY(57399) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 36 in: - state-140 -reduce 30 in: - state-25 -reduce 24 in: - state-21 reduce 2 in: - state-49 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 + state-0 +lex $end(0) +reduce 1 in: + state-2 +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 +reduce 74 in: + state-150 lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex ADD_ASSIGN(57394) -reduce 72 in: - state-31 -reduce 68 in: - state-27 -reduce 66 in: - state-39 -lex CAPREF_NAMED(57366) -reduce 110 in: - state-79 -reduce 76 in: - state-34 lex NL(57406) +reduce 92 in: + state-107 reduce 68 in: state-27 reduce 66 in: state-39 reduce 60 in: - state-122 + state-28 reduce 47 in: state-44 reduce 43 in: @@ -22667,8 +22375,8 @@ state-25 reduce 24 in: state-21 -reduce 23 in: - state-144 +reduce 21 in: + state-14 reduce 20 in: state-23 reduce 18 in: @@ -22693,48 +22401,9 @@ state-5 reduce 3 in: state-3 -lex CAPREF_NAMED(57366) -reduce 76 in: - state-34 -lex EQ(57386) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 41 in: - state-73 -lex INTLITERAL(57369) -reduce 110 in: - state-68 -reduce 79 in: - state-37 -lex COUNTER(57347) -reduce 88 in: +lex $end(0) +reduce 1 in: state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 -lex AS(57352) -lex STRING(57364) -reduce 103 in: - state-156 -reduce 91 in: - state-133 -lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 reduce 3 in: state-3 reduce 17 in: @@ -22743,177 +22412,117 @@ state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 -reduce 68 in: - state-63 -lex LCURLY(57399) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 36 in: - state-140 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 2 in: - state-49 +lex RCURLY(57400) +reduce 19 in: + state-131 lex NL(57406) -reduce 2 in: - state-0 +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 3 in: + state-3 reduce 17 in: state-16 reduce 5 in: state-5 -lex COUNTER(57347) reduce 3 in: state-3 +lex $end(0) +reduce 1 in: + state-2 +reduce 2 in: + state-0 +lex COUNTER(57347) reduce 88 in: state-2 -lex ID(57367) reduce 94 in: state-55 -reduce 83 in: - state-45 lex ID(57367) reduce 92 in: state-107 lex NL(57406) -reduce 81 in: - state-43 reduce 87 in: state-106 -lex ADD_ASSIGN(57394) reduce 6 in: state-6 -reduce 72 in: - state-31 -reduce 68 in: - state-27 reduce 3 in: state-3 -reduce 66 in: - state-39 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex CAPREF_NAMED(57366) -lex $end(0) -reduce 110 in: - state-79 -reduce 1 in: - state-2 -reduce 76 in: - state-34 -lex NL(57406) -reduce 68 in: - state-27 -reduce 66 in: - state-39 +lex COUNTER(57347) reduce 88 in: state-2 -reduce 60 in: - state-122 reduce 94 in: state-55 -reduce 47 in: - state-44 lex ID(57367) -reduce 81 in: - state-43 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 23 in: - state-144 -reduce 20 in: - state-23 -reduce 18 in: - state-53 -reduce 2 in: - state-49 -lex NEXT(57358) -reduce 10 in: - state-10 -reduce 3 in: - state-3 +reduce 92 in: + state-107 lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -reduce 104 in: - state-137 -reduce 7 in: - state-7 +reduce 87 in: + state-106 +reduce 6 in: + state-6 reduce 3 in: state-3 -lex NL(57406) reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex DECO(57368) +lex DIV(57374) reduce 108 in: state-2 +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 55 in: + state-42 lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 109 in: + state-59 +reduce 49 in: + state-26 +reduce 25 in: + state-22 reduce 2 in: state-49 -lex RCURLY(57400) -reduce 19 in: - state-131 -reduce 105 in: - state-111 -reduce 8 in: - state-8 -reduce 3 in: - state-3 +lex REGEX(57363) lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex $end(0) -reduce 1 in: - state-2 lex DIV(57374) +reduce 109 in: + state-59 reduce 86 in: state-157 reduce 55 in: state-42 +lex REGEX(57363) lex LCURLY(57399) +lex DIV(57374) reduce 54 in: state-30 +reduce 86 in: + state-157 reduce 49 in: state-26 +reduce 55 in: + state-42 reduce 25 in: state-22 +lex LCURLY(57399) reduce 2 in: state-49 +lex DIV(57374) lex NL(57406) reduce 17 in: state-16 @@ -22921,52 +22530,148 @@ state-5 reduce 3 in: state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +lex BUILTIN(57362) +reduce 3 in: + state-3 +lex LPAREN(57401) lex ID(57367) +lex CAPREF(57365) reduce 83 in: state-45 -reduce 2 in: - state-0 +reduce 75 in: + state-33 reduce 81 in: state-43 -lex ASSIGN(57395) -lex DEF(57356) +reduce 68 in: + state-63 +lex ADD_ASSIGN(57394) reduce 72 in: state-31 -reduce 108 in: +lex COMMA(57405) +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 66 in: + state-39 +reduce 60 in: + state-122 +lex CAPREF(57365) +reduce 47 in: + state-44 +reduce 86 in: + state-157 +reduce 43 in: + state-41 +reduce 55 in: + state-42 +reduce 35 in: + state-29 +lex $end(0) +reduce 30 in: + state-25 +reduce 11 in: + state-101 +reduce 84 in: + state-121 +reduce 3 in: + state-3 +reduce 1 in: state-2 +lex STRING(57364) +reduce 77 in: + state-35 +reduce 68 in: + state-63 +lex RPAREN(57402) +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 2 in: + state-0 +reduce 30 in: + state-25 +reduce 85 in: + state-158 +reduce 47 in: + state-44 +reduce 74 in: + state-150 +reduce 43 in: + state-41 +lex NL(57406) +reduce 35 in: + state-29 reduce 68 in: state-27 -lex ID(57367) -lex LCURLY(57399) +reduce 54 in: + state-30 reduce 66 in: state-39 +reduce 49 in: + state-26 +reduce 25 in: + state-22 reduce 2 in: state-49 lex NL(57406) -lex FLOATLITERAL(57370) reduce 17 in: state-16 -reduce 110 in: - state-78 reduce 5 in: state-5 -reduce 80 in: - state-38 reduce 3 in: state-3 -lex NL(57406) +lex DEL(57357) +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex LSQUARE(57403) +lex CAPREF(57365) +reduce 75 in: + state-33 reduce 68 in: - state-27 -lex NEXT(57358) + state-63 +lex RSQUARE(57404) reduce 66 in: state-39 -reduce 10 in: - state-10 reduce 60 in: state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 84 in: + state-121 +reduce 82 in: + state-148 +lex NL(57406) +reduce 72 in: + state-31 +reduce 68 in: + state-63 +reduce 107 in: + state-62 +reduce 9 in: + state-9 reduce 3 in: state-3 -lex NL(57406) reduce 17 in: state-16 reduce 5 in: @@ -22976,42 +22681,125 @@ lex RCURLY(57400) reduce 19 in: state-131 -reduce 104 in: - state-137 -reduce 7 in: - state-7 +lex $end(0) +reduce 15 in: + state-47 +reduce 4 in: + state-4 reduce 3 in: state-3 +reduce 1 in: + state-2 +reduce 30 in: + state-25 +reduce 2 in: + state-0 +reduce 24 in: + state-21 +lex COUNTER(57347) +reduce 23 in: + state-144 +reduce 88 in: + state-2 +reduce 60 in: + state-28 +reduce 94 in: + state-55 +reduce 5 in: + state-5 +lex ID(57367) +reduce 92 in: + state-107 +lex BY(57353) +lex ID(57367) +reduce 99 in: + state-154 lex NL(57406) +reduce 98 in: + state-153 +reduce 90 in: + state-132 +reduce 87 in: + state-106 +reduce 6 in: + state-6 +reduce 3 in: + state-3 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex DECO(57368) -reduce 108 in: +lex DIV(57374) +reduce 3 in: + state-3 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +lex $end(0) +reduce 5 in: + state-5 +reduce 1 in: state-2 -lex LCURLY(57399) +=== CONT TestParserRoundTrip/declare_counter_string_name reduce 2 in: - state-49 + state-0 +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 +lex ID(57367) +reduce 92 in: + state-107 +lex AS(57352) +lex STRING(57364) +reduce 103 in: + state-156 +reduce 91 in: + state-133 lex NL(57406) +reduce 87 in: + state-106 +reduce 6 in: + state-6 +reduce 3 in: + state-3 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -reduce 105 in: - state-111 -reduce 8 in: - state-8 +lex $end(0) +reduce 1 in: + state-2 +reduce 2 in: + state-0 +lex COUNTER(57347) +reduce 88 in: + state-2 +lex ID(57367) +reduce 94 in: + state-55 +reduce 83 in: + state-45 +lex ID(57367) +reduce 81 in: + state-43 +reduce 92 in: + state-107 +lex NL(57406) +lex NL(57406) +reduce 87 in: + state-106 +reduce 6 in: + state-6 +=== CONT TestParserRoundTrip/declare_hidden_counter reduce 3 in: state-3 -lex NL(57406) reduce 17 in: state-16 reduce 5 in: @@ -23019,42 +22807,92 @@ reduce 3 in: state-3 lex $end(0) -reduce 1 in: - state-2 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 reduce 2 in: - state-49 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex ELSE(57360) -lex LCURLY(57399) + state-0 +lex NL(57406) +reduce 87 in: + state-106 +lex HIDDEN(57355) +reduce 6 in: + state-6 +reduce 89 in: + state-24 +=== CONT TestParserRoundTrip/declare_dimensioned_counter +lex COUNTER(57347) +reduce 94 in: + state-55 +lex ID(57367) reduce 2 in: - state-49 + state-0 +reduce 92 in: + state-107 +lex NL(57406) +lex COUNTER(57347) +reduce 87 in: + state-106 +reduce 88 in: + state-2 +reduce 6 in: + state-6 +reduce 94 in: + state-55 +reduce 3 in: + state-3 +lex ID(57367) +reduce 17 in: + state-16 +reduce 92 in: + state-107 +reduce 5 in: + state-5 +lex BY(57353) +reduce 47 in: + state-44 +lex ID(57367) +reduce 43 in: + state-41 +reduce 99 in: + state-154 +reduce 35 in: + state-29 +lex NL(57406) +reduce 30 in: + state-25 +reduce 98 in: + state-153 +reduce 24 in: + state-21 +reduce 90 in: + state-132 +reduce 21 in: + state-14 +reduce 87 in: + state-106 +reduce 20 in: + state-23 +reduce 6 in: + state-6 +reduce 18 in: + state-53 +reduce 3 in: + state-3 +reduce 5 in: + state-5 +reduce 17 in: + state-16 +reduce 3 in: + state-3 +reduce 5 in: + state-5 lex RCURLY(57400) -reduce 25 in: - state-22 +reduce 3 in: + state-3 reduce 19 in: state-131 -=== CONT TestParserRoundTrip/increment_operator +lex $end(0) lex NL(57406) +reduce 1 in: + state-2 reduce 15 in: state-47 reduce 4 in: @@ -23065,190 +22903,338 @@ state-16 reduce 5 in: state-5 -reduce 2 in: - state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) reduce 3 in: state-3 -=== CONT TestParserRoundTrip/additive +lex $end(0) +reduce 1 in: + state-2 reduce 2 in: state-0 +reduce 110 in: + state-79 lex COUNTER(57347) reduce 88 in: state-2 +reduce 75 in: + state-33 reduce 94 in: state-55 +lex NL(57406) lex ID(57367) +reduce 68 in: + state-27 reduce 92 in: state-107 +reduce 66 in: + state-39 +lex BY(57353) +reduce 60 in: + state-122 +lex ID(57367) +reduce 99 in: + state-154 +=== CONT TestParserRoundTrip/declare_gauge lex NL(57406) +reduce 98 in: + state-153 +reduce 90 in: + state-132 reduce 87 in: state-106 reduce 6 in: state-6 +reduce 2 in: + state-0 reduce 3 in: state-3 +lex GAUGE(57348) reduce 17 in: state-16 -reduce 17 in: - state-16 +reduce 88 in: + state-2 reduce 5 in: state-5 +reduce 95 in: + state-56 reduce 3 in: state-3 -=== CONT TestParserRoundTrip/assignment -lex DIV(57374) -reduce 108 in: - state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -=== CONT TestParserRoundTrip/comment_then_code +lex ID(57367) +lex $end(0) reduce 92 in: state-107 +reduce 1 in: + state-2 lex NL(57406) reduce 87 in: state-106 +reduce 6 in: + state-6 reduce 2 in: state-0 +reduce 3 in: + state-3 lex DIV(57374) -reduce 6 in: - state-6 +=== CONT TestParserRoundTrip/declare_text reduce 108 in: state-2 -reduce 3 in: - state-3 reduce 109 in: state-59 +reduce 2 in: + state-0 +lex REGEX(57363) +lex TEXT(57350) lex DIV(57374) +reduce 88 in: + state-2 reduce 86 in: state-157 +reduce 97 in: + state-58 reduce 55 in: state-42 +lex ID(57367) lex LCURLY(57399) +reduce 92 in: + state-107 reduce 54 in: state-30 +lex NL(57406) reduce 49 in: state-26 +reduce 87 in: + state-106 reduce 25 in: state-22 +reduce 6 in: + state-6 reduce 2 in: state-49 +reduce 3 in: + state-3 lex NL(57406) reduce 17 in: state-16 +reduce 17 in: + state-16 +reduce 5 in: + state-5 reduce 5 in: state-5 reduce 3 in: state-3 +reduce 3 in: + state-3 +lex $end(0) +reduce 1 in: + state-2 lex BUILTIN(57362) lex LPAREN(57401) -lex RPAREN(57402) -reduce 73 in: - state-123 -lex MINUS(57377) +lex CAPREF(57365) +reduce 75 in: + state-33 reduce 68 in: - state-27 + state-63 +lex COMMA(57405) reduce 66 in: state-39 +reduce 2 in: + state-0 reduce 60 in: - state-28 + state-122 +lex TEXT(57350) reduce 47 in: state-44 -reduce 59 in: - state-95 +reduce 88 in: + state-2 +reduce 43 in: + state-41 +reduce 97 in: + state-58 +reduce 35 in: + state-29 +reduce 30 in: + state-25 lex ID(57367) -reduce 110 in: - state-93 -reduce 83 in: - state-45 -reduce 81 in: - state-43 +reduce 84 in: + state-121 +reduce 92 in: + state-107 lex NL(57406) -reduce 72 in: - state-31 +lex STRING(57364) +reduce 87 in: + state-106 +reduce 77 in: + state-35 +reduce 6 in: + state-6 reduce 68 in: state-63 +reduce 3 in: + state-3 +lex RPAREN(57402) +reduce 17 in: + state-16 reduce 66 in: state-39 +reduce 5 in: + state-5 reduce 60 in: state-122 -reduce 48 in: - state-151 +reduce 3 in: + state-3 +reduce 47 in: + state-44 +lex $end(0) reduce 43 in: state-41 +reduce 1 in: + state-2 reduce 35 in: state-29 reduce 30 in: state-25 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -lex NL(57406) +reduce 85 in: + state-158 +reduce 74 in: + state-150 reduce 72 in: state-31 +lex NL(57406) reduce 68 in: - state-63 + state-27 +reduce 68 in: + state-27 reduce 66 in: state-39 -reduce 61 in: - state-152 +reduce 66 in: + state-39 +reduce 60 in: + state-28 +reduce 60 in: + state-28 reduce 47 in: state-44 +reduce 47 in: + state-44 +reduce 43 in: + state-41 reduce 43 in: state-41 reduce 35 in: state-29 +reduce 35 in: + state-29 +reduce 30 in: + state-25 reduce 30 in: state-25 reduce 24 in: state-21 +reduce 24 in: + state-21 +=== CONT TestParserRoundTrip/mod_operator reduce 21 in: state-14 reduce 20 in: state-23 reduce 18 in: state-53 +reduce 2 in: + state-0 +reduce 5 in: + state-5 +lex DIV(57374) +reduce 108 in: + state-2 +reduce 108 in: + state-2 +reduce 109 in: + state-59 +reduce 109 in: + state-59 +lex REGEX(57363) +lex REGEX(57363) +lex DIV(57374) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 86 in: + state-157 +reduce 55 in: + state-42 +reduce 55 in: + state-42 +lex LCURLY(57399) +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +reduce 25 in: + state-22 +reduce 2 in: + state-49 +reduce 2 in: + state-49 +lex NL(57406) +lex NL(57406) +reduce 17 in: + state-16 +reduce 17 in: + state-16 reduce 5 in: state-5 +reduce 5 in: + state-5 +reduce 3 in: + state-3 reduce 3 in: state-3 +lex DEL(57357) +lex INTLITERAL(57369) lex ID(57367) +reduce 79 in: + state-37 reduce 83 in: state-45 +lex MOD(57375) reduce 81 in: state-43 -lex POW(57379) -reduce 72 in: - state-31 reduce 68 in: state-27 +lex LSQUARE(57403) reduce 66 in: state-39 +lex CAPREF(57365) reduce 60 in: state-28 -reduce 65 in: - state-100 -lex ID(57367) +reduce 75 in: + state-33 +reduce 64 in: + state-99 +reduce 68 in: + state-63 +lex INTLITERAL(57369) +lex RSQUARE(57404) reduce 110 in: state-96 -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex NL(57406) -reduce 72 in: - state-31 +reduce 66 in: + state-39 +reduce 79 in: + state-37 +reduce 60 in: + state-122 reduce 68 in: state-63 +reduce 47 in: + state-44 +lex NL(57406) reduce 66 in: state-39 reduce 61 in: @@ -23276,64 +23262,14 @@ lex RCURLY(57400) reduce 19 in: state-131 -lex NL(57406) +lex $end(0) reduce 15 in: state-47 reduce 4 in: state-4 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex $end(0) -reduce 1 in: - state-2 -reduce 2 in: - state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 -lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 reduce 3 in: state-3 -reduce 18 in: - state-53 -reduce 5 in: - state-5 reduce 3 in: state-3 lex RCURLY(57400) @@ -23342,185 +23278,183 @@ lex NL(57406) reduce 15 in: state-47 -reduce 17 in: - state-16 reduce 4 in: state-4 -reduce 5 in: - state-5 -reduce 3 in: - state-3 reduce 3 in: state-3 reduce 17 in: state-16 -lex DIV(57374) reduce 5 in: state-5 -reduce 108 in: +reduce 3 in: + state-3 +lex $end(0) +reduce 1 in: + state-2 +reduce 3 in: + state-3 +lex COUNTER(57347) +reduce 88 in: state-2 reduce 3 in: state-3 +reduce 94 in: + state-55 +lex DIV(57374) +reduce 108 in: + state-2 +lex ID(57367) reduce 109 in: state-59 -lex $end(0) +reduce 92 in: + state-107 lex REGEX(57363) -reduce 1 in: - state-2 +lex BY(57353) lex DIV(57374) +lex ID(57367) reduce 86 in: state-157 +reduce 99 in: + state-154 reduce 55 in: state-42 +lex NL(57406) lex LCURLY(57399) +reduce 98 in: + state-153 reduce 54 in: state-30 +reduce 90 in: + state-132 reduce 49 in: state-26 +reduce 87 in: + state-106 reduce 25 in: state-22 +reduce 6 in: + state-6 reduce 2 in: state-49 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 reduce 3 in: state-3 lex ID(57367) +reduce 17 in: + state-16 reduce 83 in: state-45 +reduce 5 in: + state-5 reduce 81 in: state-43 -lex MUL(57376) +reduce 3 in: + state-3 +lex INC(57372) +lex DIV(57374) reduce 72 in: state-31 +reduce 108 in: + state-2 reduce 68 in: state-27 +reduce 109 in: + state-59 +reduce 70 in: + state-90 +lex REGEX(57363) +reduce 69 in: + state-89 +lex DIV(57374) +lex NL(57406) +reduce 86 in: + state-157 reduce 66 in: state-39 +reduce 55 in: + state-42 reduce 60 in: state-28 -reduce 62 in: - state-97 -lex ID(57367) -reduce 110 in: - state-96 -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex NL(57406) -reduce 72 in: - state-31 -reduce 68 in: - state-63 -reduce 66 in: - state-39 -reduce 61 in: - state-152 +lex LCURLY(57399) reduce 47 in: state-44 +reduce 54 in: + state-30 reduce 43 in: state-41 +reduce 49 in: + state-26 reduce 35 in: state-29 +reduce 25 in: + state-22 reduce 30 in: state-25 +reduce 2 in: + state-49 reduce 24 in: state-21 +lex NL(57406) +=== CONT TestParserRoundTrip/getfilename +reduce 17 in: + state-16 reduce 21 in: state-14 reduce 20 in: state-23 +reduce 2 in: + state-0 reduce 18 in: state-53 +lex NL(57406) reduce 5 in: state-5 -reduce 3 in: - state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex POW(57379) -reduce 2 in: - state-0 -reduce 2 in: - state-49 -lex NL(57406) -lex COUNTER(57347) reduce 17 in: state-16 -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 -lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 reduce 3 in: state-3 -reduce 17 in: - state-16 reduce 5 in: state-5 +lex RCURLY(57400) reduce 3 in: state-3 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 -lex RCURLY(57400) reduce 19 in: state-131 +lex BUILTIN(57362) lex NL(57406) +reduce 5 in: + state-5 reduce 15 in: state-47 +reduce 3 in: + state-3 reduce 4 in: state-4 +lex ID(57367) reduce 3 in: state-3 +reduce 83 in: + state-45 reduce 17 in: state-16 +reduce 81 in: + state-43 reduce 5 in: state-5 +lex ADD_ASSIGN(57394) reduce 3 in: state-3 +reduce 72 in: + state-31 lex $end(0) +reduce 68 in: + state-27 +reduce 66 in: + state-39 reduce 1 in: state-2 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 lex BUILTIN(57362) +reduce 110 in: + state-79 lex LPAREN(57401) lex RPAREN(57402) reduce 73 in: @@ -23531,7 +23465,7 @@ reduce 66 in: state-39 reduce 60 in: - state-28 + state-122 reduce 47 in: state-44 reduce 59 in: @@ -23543,6 +23477,29 @@ state-45 reduce 81 in: state-43 +lex LSQUARE(57403) +lex CAPREF_NAMED(57366) +reduce 76 in: + state-34 +reduce 68 in: + state-63 +lex RSQUARE(57404) +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 84 in: + state-121 +reduce 82 in: + state-148 lex NL(57406) reduce 72 in: state-31 @@ -23556,43 +23513,54 @@ state-151 reduce 43 in: state-41 +reduce 2 in: + state-0 reduce 35 in: state-29 reduce 30 in: state-25 +lex COUNTER(57347) reduce 24 in: state-21 -reduce 21 in: - state-14 +reduce 88 in: + state-2 +reduce 23 in: + state-144 +reduce 94 in: + state-55 reduce 20 in: state-23 reduce 18 in: state-53 +lex ID(57367) reduce 5 in: state-5 +reduce 92 in: + state-107 reduce 3 in: state-3 +lex NL(57406) lex RCURLY(57400) reduce 19 in: state-131 +reduce 87 in: + state-106 lex NL(57406) +reduce 6 in: + state-6 reduce 15 in: state-47 -reduce 4 in: - state-4 +reduce 3 in: + state-3 reduce 3 in: state-3 reduce 17 in: state-16 +lex $end(0) reduce 5 in: state-5 -reduce 3 in: - state-3 -lex $end(0) reduce 1 in: state-2 -reduce 5 in: - state-5 reduce 3 in: state-3 lex DIV(57374) @@ -23600,159 +23568,274 @@ state-2 reduce 109 in: state-59 +reduce 5 in: + state-5 +reduce 17 in: + state-16 +reduce 3 in: + state-3 +reduce 47 in: + state-44 +lex DECO(57368) +reduce 43 in: + state-41 +reduce 87 in: + state-106 +reduce 2 in: + state-0 +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 lex REGEX(57363) +lex LPAREN(57401) lex DIV(57374) +lex RPAREN(57402) reduce 86 in: state-157 +reduce 73 in: + state-123 reduce 55 in: state-42 +lex NL(57406) lex LCURLY(57399) +reduce 68 in: + state-27 reduce 54 in: state-30 +reduce 66 in: + state-39 reduce 49 in: state-26 +lex ID(57367) reduce 25 in: state-22 +reduce 92 in: + state-107 reduce 2 in: state-49 lex NL(57406) +reduce 1 in: + state-2 +reduce 1 in: + state-2 +reduce 3 in: + state-3 +reduce 6 in: + state-6 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex ADD_ASSIGN(57394) -reduce 72 in: - state-31 -reduce 68 in: - state-27 -reduce 66 in: - state-39 -lex BUILTIN(57362) -reduce 110 in: - state-79 -lex LPAREN(57401) -lex RPAREN(57402) -reduce 73 in: - state-123 -lex MINUS(57377) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 59 in: - state-95 -reduce 2 in: - state-0 -lex ID(57367) -reduce 110 in: - state-93 -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex COUNTER(57347) -lex LSQUARE(57403) -reduce 88 in: - state-2 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 94 in: - state-55 -reduce 35 in: - state-29 -lex ID(57367) -reduce 92 in: - state-107 +reduce 17 in: + state-16 +reduce 5 in: + state-5 lex NL(57406) reduce 87 in: state-106 reduce 6 in: state-6 +reduce 43 in: + state-41 +reduce 3 in: + state-3 +reduce 35 in: + state-29 +reduce 17 in: + state-16 +reduce 30 in: + state-25 +reduce 5 in: + state-5 +reduce 84 in: + state-121 reduce 3 in: state-3 +reduce 82 in: + state-148 +lex $end(0) reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 +reduce 60 in: + state-28 +lex ID(57367) +reduce 83 in: + state-45 +reduce 47 in: + state-44 +reduce 81 in: + state-43 +reduce 43 in: + state-41 +lex INC(57372) +reduce 35 in: + state-29 +reduce 72 in: + state-31 +reduce 30 in: + state-25 +reduce 3 in: + state-3 lex DIV(57374) reduce 108 in: state-2 +reduce 23 in: + state-144 reduce 109 in: state-59 +reduce 20 in: + state-23 lex REGEX(57363) lex DIV(57374) +reduce 18 in: + state-53 +reduce 5 in: + state-5 +reduce 86 in: + state-157 +lex NL(57406) +reduce 3 in: + state-3 +reduce 24 in: + state-21 +lex RCURLY(57400) +reduce 21 in: + state-14 +reduce 19 in: + state-131 +reduce 1 in: + state-2 +reduce 20 in: + state-23 +reduce 3 in: + state-3 reduce 86 in: state-157 +lex DIV(57374) reduce 55 in: state-42 +reduce 20 in: + state-23 lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 -lex NL(57406) -reduce 17 in: - state-16 +reduce 18 in: + state-53 +reduce 35 in: + state-29 reduce 5 in: state-5 +reduce 30 in: + state-25 reduce 3 in: state-3 -lex ID(57367) -reduce 83 in: - state-45 +reduce 24 in: + state-21 +reduce 68 in: + state-27 +reduce 70 in: + state-90 +reduce 69 in: + state-89 +reduce 108 in: + state-2 +lex NL(57406) +reduce 109 in: + state-59 +reduce 66 in: + state-39 lex REGEX(57363) +reduce 18 in: + state-53 lex DIV(57374) reduce 86 in: state-157 +reduce 5 in: + state-5 reduce 55 in: state-42 +reduce 3 in: + state-3 lex LCURLY(57399) reduce 54 in: state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 +lex $end(0) +reduce 55 in: + state-42 +reduce 1 in: + state-2 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 +reduce 5 in: + state-5 +reduce 3 in: + state-3 reduce 2 in: - state-49 + state-0 +lex BUILTIN(57362) +lex LPAREN(57401) +lex RCURLY(57400) +lex RPAREN(57402) +reduce 19 in: + state-131 +reduce 73 in: + state-123 +lex NL(57406) lex NL(57406) +reduce 15 in: + state-47 +reduce 68 in: + state-27 +reduce 4 in: + state-4 +reduce 66 in: + state-39 +reduce 3 in: + state-3 +reduce 60 in: + state-28 reduce 17 in: state-16 +reduce 47 in: + state-44 reduce 5 in: state-5 +=== CONT TestParserRoundTrip/logical reduce 3 in: state-3 -lex BUILTIN(57362) -lex LPAREN(57401) -lex CAPREF(57365) -reduce 75 in: - state-33 +lex $end(0) +reduce 1 in: + state-2 +reduce 2 in: + state-0 +lex INTLITERAL(57369) +reduce 79 in: + state-37 +lex OR(57393) reduce 68 in: - state-63 -lex COMMA(57405) + state-27 reduce 66 in: state-39 reduce 60 in: - state-122 + state-28 reduce 47 in: state-44 reduce 43 in: @@ -23761,127 +23844,126 @@ state-29 reduce 30 in: state-25 -reduce 84 in: - state-121 -lex STRING(57364) -reduce 77 in: - state-35 +reduce 24 in: + state-21 +reduce 29 in: + state-51 +reduce 2 in: + state-0 +lex INTLITERAL(57369) +lex DIV(57374) +reduce 110 in: + state-48 +reduce 108 in: + state-2 +reduce 79 in: + state-37 +reduce 109 in: + state-59 +lex AND(57392) +lex REGEX(57363) reduce 68 in: - state-63 -lex RPAREN(57402) + state-27 +lex DIV(57374) reduce 66 in: state-39 +reduce 86 in: + state-157 reduce 60 in: state-122 +reduce 55 in: + state-42 reduce 47 in: state-44 +lex LCURLY(57399) reduce 43 in: state-41 +reduce 54 in: + state-30 reduce 35 in: state-29 +reduce 49 in: + state-26 reduce 30 in: state-25 -reduce 85 in: - state-158 -reduce 74 in: - state-150 -lex NL(57406) -reduce 68 in: - state-27 -reduce 66 in: - state-39 +reduce 25 in: + state-22 +reduce 26 in: + state-129 reduce 60 in: state-28 +reduce 28 in: + state-50 reduce 47 in: state-44 +lex INTLITERAL(57369) reduce 43 in: state-41 +reduce 110 in: + state-48 reduce 35 in: state-29 +reduce 79 in: + state-37 reduce 30 in: state-25 reduce 24 in: state-21 +lex LCURLY(57399) reduce 21 in: state-14 +reduce 68 in: + state-27 reduce 20 in: state-23 +reduce 66 in: + state-39 reduce 18 in: state-53 +reduce 60 in: + state-122 reduce 5 in: state-5 reduce 3 in: state-3 +reduce 47 in: + state-44 lex RCURLY(57400) +reduce 43 in: + state-41 reduce 19 in: state-131 +reduce 35 in: + state-29 lex NL(57406) reduce 15 in: state-47 +reduce 30 in: + state-25 reduce 4 in: state-4 +reduce 26 in: + state-129 reduce 3 in: state-3 +reduce 2 in: + state-49 reduce 17 in: state-16 +lex NL(57406) reduce 5 in: state-5 +reduce 17 in: + state-16 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 -lex CAPREF_NAMED(57366) -reduce 76 in: - state-34 -reduce 68 in: - state-63 -lex RSQUARE(57404) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 84 in: - state-121 -reduce 82 in: - state-148 -lex NL(57406) -reduce 72 in: - state-31 -reduce 68 in: - state-63 -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 48 in: - state-151 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 23 in: - state-144 -reduce 20 in: - state-23 -reduce 18 in: - state-53 reduce 5 in: state-5 +lex $end(0) reduce 3 in: state-3 +reduce 1 in: + state-2 lex RCURLY(57400) reduce 19 in: state-131 @@ -23892,6 +23974,11 @@ state-4 reduce 3 in: state-3 +reduce 3 in: + state-3 +lex $end(0) +reduce 1 in: + state-2 reduce 17 in: state-16 reduce 5 in: @@ -23901,29 +23988,21 @@ lex $end(0) reduce 1 in: state-2 -reduce 81 in: - state-43 -lex ASSIGN(57395) -reduce 72 in: - state-31 -reduce 68 in: - state-27 -reduce 66 in: - state-39 -lex CAPREF_NAMED(57366) -reduce 110 in: - state-78 -reduce 76 in: - state-34 -lex NL(57406) +reduce 2 in: + state-0 +lex INTLITERAL(57369) +reduce 79 in: + state-37 +lex OR(57393) reduce 68 in: state-27 reduce 66 in: state-39 reduce 60 in: - state-122 + state-28 reduce 47 in: state-44 +=== CONT TestParserRoundTrip/simple_else_clause reduce 2 in: state-0 lex DIV(57374) @@ -23933,80 +24012,158 @@ state-59 lex REGEX(57363) lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex LCURLY(57399) +reduce 2 in: + state-0 +=== CONT TestParserRoundTrip/indexed_expression_arg_list +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 +lex ID(57367) +reduce 92 in: + state-107 reduce 54 in: state-30 +lex NL(57406) reduce 49 in: state-26 +reduce 87 in: + state-106 reduce 25 in: state-22 +reduce 6 in: + state-6 reduce 2 in: state-49 +reduce 3 in: + state-3 lex NL(57406) reduce 17 in: state-16 +reduce 17 in: + state-16 +reduce 5 in: + state-5 reduce 5 in: state-5 reduce 3 in: state-3 -lex BUILTIN(57362) -lex LPAREN(57401) -lex CAPREF(57365) -reduce 75 in: - state-33 +reduce 3 in: + state-3 +lex DIV(57374) +lex ID(57367) +reduce 108 in: + state-2 +reduce 83 in: + state-45 +reduce 2 in: + state-49 +reduce 81 in: + state-43 +lex NL(57406) +lex DEC(57373) +reduce 17 in: + state-16 +reduce 72 in: + state-31 +reduce 109 in: + state-59 reduce 68 in: - state-63 -lex COMMA(57405) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 84 in: - state-121 -lex STRING(57364) -reduce 77 in: - state-35 + state-27 +reduce 71 in: + state-91 +lex REGEX(57363) +reduce 69 in: + state-89 +lex DIV(57374) +reduce 2 in: + state-0 +lex NL(57406) +reduce 72 in: + state-31 reduce 68 in: state-63 -lex RPAREN(57402) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 +reduce 107 in: + state-62 +reduce 9 in: + state-9 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex NL(57406) +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex RCURLY(57400) +reduce 19 in: + state-131 +lex NL(57406) +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex $end(0) +reduce 86 in: + state-157 +reduce 1 in: + state-2 +reduce 55 in: + state-42 +reduce 86 in: + state-157 reduce 43 in: state-41 +reduce 55 in: + state-42 reduce 35 in: state-29 -reduce 30 in: - state-25 -reduce 85 in: - state-158 -reduce 74 in: - state-150 +=== CONT TestParserRoundTrip/pattern_action_then_otherwise_action +lex LCURLY(57399) +reduce 5 in: + state-5 lex NL(57406) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-28 +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 2 in: + state-0 +reduce 3 in: + state-3 +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 +lex ID(57367) reduce 92 in: state-107 +lex BY(57353) +lex ID(57367) +reduce 99 in: + state-154 lex NL(57406) +reduce 98 in: + state-153 +reduce 90 in: + state-132 reduce 87 in: state-106 reduce 6 in: @@ -24033,43 +24190,53 @@ lex LCURLY(57399) reduce 54 in: state-30 +reduce 30 in: + state-25 reduce 49 in: state-26 +reduce 108 in: + state-2 +reduce 24 in: + state-21 reduce 25 in: state-22 reduce 2 in: + state-0 +lex LCURLY(57399) +reduce 2 in: state-49 -lex NL(57406) +reduce 3 in: + state-3 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex ADD_ASSIGN(57394) -reduce 72 in: - state-31 +lex INTLITERAL(57369) +reduce 79 in: + state-37 +lex MOD(57375) reduce 68 in: state-27 reduce 66 in: state-39 +reduce 60 in: + state-28 +reduce 64 in: + state-99 lex INTLITERAL(57369) reduce 110 in: - state-79 + state-96 reduce 79 in: state-37 -lex NL(57406) reduce 68 in: - state-27 + state-63 +lex NL(57406) reduce 66 in: state-39 -reduce 60 in: - state-122 +reduce 61 in: + state-152 reduce 47 in: state-44 reduce 43 in: @@ -24080,8 +24247,8 @@ state-25 reduce 24 in: state-21 -reduce 23 in: - state-144 +reduce 21 in: + state-14 reduce 20 in: state-23 reduce 18 in: @@ -24094,30 +24261,33 @@ reduce 19 in: state-131 lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 -reduce 17 in: - state-16 +lex LCURLY(57399) reduce 5 in: state-5 +lex COUNTER(57347) reduce 3 in: state-3 -lex $end(0) -reduce 1 in: +reduce 88 in: state-2 -reduce 17 in: - state-16 +reduce 23 in: + state-144 +reduce 20 in: + state-23 +reduce 54 in: + state-30 +reduce 18 in: + state-53 +reduce 49 in: + state-26 reduce 5 in: state-5 +reduce 25 in: + state-22 reduce 3 in: state-3 lex DIV(57374) reduce 108 in: - state-2 + state-105 reduce 109 in: state-59 lex REGEX(57363) @@ -24138,18 +24308,6 @@ lex NL(57406) reduce 17 in: state-16 -reduce 2 in: - state-0 -reduce 3 in: - state-3 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 reduce 5 in: state-5 reduce 3 in: @@ -24164,34 +24322,94 @@ state-31 reduce 68 in: state-27 +reduce 70 in: + state-90 +reduce 69 in: + state-89 +lex NL(57406) +reduce 66 in: + state-39 +reduce 60 in: + state-28 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex CAPREF(57365) +reduce 75 in: + state-33 +lex INC(57372) +reduce 68 in: + state-27 +reduce 70 in: + state-90 +reduce 69 in: + state-89 +lex NL(57406) +reduce 66 in: + state-39 +reduce 60 in: + state-28 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 +reduce 5 in: + state-5 +reduce 3 in: + state-3 lex RCURLY(57400) -=== CONT TestParserRoundTrip/nested_scope reduce 19 in: state-131 -reduce 14 in: - state-128 +lex NL(57406) +reduce 15 in: + state-47 reduce 4 in: state-4 reduce 3 in: state-3 -reduce 2 in: - state-0 -lex $end(0) -reduce 1 in: - state-2 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex RCURLY(57400) +reduce 19 in: + state-131 lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 +reduce 15 in: + state-47 +reduce 4 in: + state-4 reduce 3 in: state-3 reduce 17 in: @@ -24200,34 +24418,8 @@ state-5 reduce 3 in: state-3 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 2 in: - state-0 -reduce 55 in: - state-42 -lex DIV(57374) -lex LCURLY(57399) -reduce 54 in: - state-30 -=== CONT TestParserRoundTrip/nested_match_conditions -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 -reduce 2 in: - state-0 -lex COUNTER(57347) -reduce 88 in: +lex $end(0) +reduce 1 in: state-2 reduce 94 in: state-55 @@ -24255,7 +24447,15 @@ lex ID(57367) reduce 92 in: state-107 +lex BY(57353) +lex ID(57367) +reduce 99 in: + state-154 lex NL(57406) +reduce 98 in: + state-153 +reduce 90 in: + state-132 reduce 87 in: state-106 reduce 6 in: @@ -24298,89 +24498,67 @@ lex ID(57367) reduce 83 in: state-45 -reduce 81 in: - state-43 -lex ADD_ASSIGN(57394) -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 +reduce 29 in: + state-51 lex NL(57406) -reduce 70 in: - state-90 -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 69 in: - state-89 -reduce 3 in: - state-3 +lex NL(57406) +=== CONT TestParserRoundTrip/concat_expr_2 reduce 17 in: state-16 reduce 5 in: state-5 -lex NL(57406) -reduce 3 in: - state-3 -reduce 66 in: - state-39 -lex CAPREF_NAMED(57366) -reduce 76 in: - state-34 -reduce 60 in: - state-28 -lex NE(57387) -reduce 47 in: - state-44 -reduce 68 in: - state-27 +reduce 15 in: + state-47 +reduce 81 in: + state-43 +lex ADD_ASSIGN(57394) reduce 43 in: state-41 -reduce 66 in: - state-39 +reduce 72 in: + state-31 reduce 35 in: state-29 -reduce 60 in: - state-28 -reduce 30 in: - state-25 -lex DIV(57374) -reduce 24 in: - state-21 -reduce 108 in: - state-105 -reduce 21 in: - state-14 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 -reduce 5 in: - state-5 +reduce 68 in: + state-27 +lex LCURLY(57399) +reduce 66 in: + state-39 +reduce 54 in: + state-30 +lex INTLITERAL(57369) +reduce 49 in: + state-26 +reduce 110 in: + state-48 +reduce 25 in: + state-22 +reduce 79 in: + state-37 +reduce 2 in: + state-49 reduce 3 in: state-3 lex RCURLY(57400) +lex RCURLY(57400) reduce 19 in: state-131 +reduce 2 in: + state-49 +reduce 19 in: + state-131 +reduce 66 in: + state-39 +lex ELSE(57360) lex NL(57406) -reduce 15 in: - state-47 +reduce 60 in: + state-28 +reduce 17 in: + state-16 +reduce 47 in: + state-44 +lex LCURLY(57399) +reduce 43 in: + state-41 reduce 4 in: state-4 reduce 3 in: @@ -24394,113 +24572,85 @@ lex $end(0) reduce 1 in: state-2 +reduce 17 in: + state-16 +reduce 54 in: + state-30 +reduce 49 in: + state-26 reduce 5 in: state-5 +=== CONT TestParserRoundTrip/nested_else_clause +reduce 105 in: + state-111 +reduce 8 in: + state-8 reduce 3 in: state-3 -lex INTLITERAL(57369) -reduce 79 in: - state-37 -lex MOD(57375) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 64 in: - state-99 -lex INTLITERAL(57369) -reduce 110 in: - state-96 -reduce 79 in: - state-37 +lex NL(57406) +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +reduce 35 in: + state-29 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex LSQUARE(57403) +lex STRING(57364) +reduce 77 in: + state-35 reduce 68 in: state-63 -lex NL(57406) +lex RSQUARE(57404) reduce 66 in: state-39 -reduce 61 in: - state-152 +reduce 60 in: + state-122 reduce 47 in: state-44 -lex OTHERWISE(57359) -=== CONT TestParserRoundTrip/strptime_and_capref reduce 43 in: state-41 -reduce 30 in: - state-25 -reduce 35 in: - state-29 -reduce 24 in: - state-21 -reduce 30 in: - state-25 -reduce 22 in: - state-143 -reduce 24 in: - state-21 +lex $end(0) +reduce 1 in: + state-2 +lex $end(0) +reduce 1 in: + state-2 reduce 2 in: state-0 -reduce 20 in: - state-23 -reduce 21 in: - state-14 -lex DIV(57374) lex NL(57406) -=== CONT TestParserRoundTrip/named_capture_group_reference -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 -reduce 2 in: - state-0 reduce 17 in: state-16 reduce 5 in: state-5 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 3 in: - state-3 -reduce 109 in: - state-59 -lex DIV(57374) -reduce 20 in: - state-23 -=== CONT TestParserRoundTrip/regex_match_includes_escaped_slashes -reduce 18 in: - state-53 -reduce 5 in: - state-5 reduce 3 in: state-3 +lex CONST(57354) +reduce 2 in: + state-0 +=== CONT TestParserRoundTrip/concat_expr_1 +lex GAUGE(57348) +lex $end(0) reduce 2 in: state-0 -lex RCURLY(57400) -lex COUNTER(57347) -reduce 19 in: - state-131 reduce 88 in: state-2 -lex $end(0) -reduce 94 in: - state-55 -reduce 15 in: - state-47 +reduce 95 in: + state-56 lex ID(57367) -reduce 4 in: - state-4 reduce 92 in: state-107 -reduce 3 in: - state-3 lex NL(57406) -reduce 1 in: - state-2 reduce 87 in: state-106 reduce 6 in: @@ -24513,6 +24663,19 @@ state-5 reduce 3 in: state-3 +lex $end(0) +reduce 1 in: + state-2 +=== CONT TestParserRoundTrip/regex_cond_expr +reduce 2 in: + state-0 +lex NL(57406) +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 lex DIV(57374) reduce 108 in: state-2 @@ -24524,21 +24687,21 @@ state-157 reduce 55 in: state-42 -lex LCURLY(57399) +lex AND(57392) reduce 54 in: state-30 -reduce 72 in: - state-31 -reduce 68 in: - state-27 -reduce 66 in: - state-39 -lex CAPREF(57365) +reduce 49 in: + state-26 +reduce 25 in: + state-22 +reduce 28 in: + state-50 +lex INTLITERAL(57369) reduce 110 in: - state-79 -reduce 75 in: - state-33 -lex NL(57406) + state-48 +reduce 79 in: + state-37 +lex LCURLY(57399) reduce 68 in: state-27 reduce 66 in: @@ -24553,50 +24716,50 @@ state-29 reduce 30 in: state-25 -reduce 24 in: - state-21 -reduce 23 in: - state-144 -reduce 20 in: - state-23 -reduce 18 in: - state-53 +reduce 26 in: + state-129 +reduce 2 in: + state-49 +lex NL(57406) +reduce 17 in: + state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex DIV(57374) -reduce 108 in: - state-105 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 +lex RCURLY(57400) +reduce 19 in: + state-131 lex NL(57406) +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 3 in: + state-3 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 +lex $end(0) +reduce 1 in: + state-2 +reduce 3 in: + state-3 +lex AND(57392) +lex COUNTER(57347) +reduce 2 in: + state-49 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 84 in: + state-121 +reduce 82 in: + state-148 lex INC(57372) reduce 72 in: state-31 @@ -24606,22 +24769,10 @@ state-90 reduce 69 in: state-89 +reduce 2 in: + state-0 lex NL(57406) -reduce 108 in: - state-2 -reduce 109 in: - state-59 -lex REGEX(57363) lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 reduce 108 in: state-2 reduce 109 in: @@ -24632,7 +24783,7 @@ state-157 reduce 55 in: state-42 -lex LCURLY(57399) +lex AND(57392) reduce 54 in: state-30 reduce 49 in: @@ -24648,18 +24799,39 @@ state-5 reduce 3 in: state-3 -lex BUILTIN(57362) -lex LPAREN(57401) -lex CAPREF(57365) -reduce 75 in: - state-33 +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex INC(57372) +reduce 72 in: + state-31 reduce 68 in: - state-63 -lex COMMA(57405) + state-27 +reduce 70 in: + state-90 +reduce 69 in: + state-89 +lex NL(57406) reduce 66 in: state-39 reduce 60 in: - state-122 + state-28 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 21 in: + state-14 +reduce 20 in: + state-23 reduce 18 in: state-53 reduce 5 in: @@ -24669,30 +24841,172 @@ lex RCURLY(57400) reduce 19 in: state-131 -lex $end(0) +lex NL(57406) reduce 15 in: state-47 reduce 4 in: state-4 reduce 3 in: state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex $end(0) reduce 1 in: state-2 +=== CONT TestParserRoundTrip/simple_otherwise_action reduce 2 in: state-0 -lex GAUGE(57348) -reduce 88 in: +lex OTHERWISE(57359) +lex LCURLY(57399) +reduce 2 in: + state-49 +lex RCURLY(57400) +reduce 19 in: + state-131 +reduce 16 in: + state-52 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +lex NL(57406) +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex $end(0) +reduce 1 in: state-2 -reduce 95 in: - state-56 +reduce 2 in: + state-0 +lex OTHERWISE(57359) +lex LCURLY(57399) +reduce 2 in: + state-49 +lex NL(57406) +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex RCURLY(57400) +reduce 19 in: + state-131 +reduce 16 in: + state-52 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +lex NL(57406) +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex $end(0) +reduce 1 in: + state-2 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +lex BUILTIN(57362) +reduce 2 in: + state-49 +reduce 21 in: + state-14 +reduce 25 in: + state-22 +=== CONT TestParserRoundTrip/named_capture_group_reference +reduce 28 in: + state-50 +reduce 110 in: + state-79 +lex LPAREN(57401) +lex RPAREN(57402) +reduce 68 in: + state-27 +reduce 49 in: + state-26 lex ID(57367) -reduce 92 in: - state-107 +reduce 25 in: + state-22 +reduce 66 in: + state-39 +reduce 83 in: + state-45 +reduce 2 in: + state-49 +reduce 60 in: + state-122 +reduce 108 in: + state-46 +reduce 47 in: + state-44 lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 +lex DIV(57374) +reduce 43 in: + state-41 +reduce 17 in: + state-16 +reduce 109 in: + state-59 +reduce 5 in: + state-5 +reduce 35 in: + state-29 +lex REGEX(57363) +reduce 30 in: + state-25 +lex DIV(57374) +reduce 26 in: + state-129 +reduce 86 in: + state-157 +reduce 28 in: + state-50 +reduce 55 in: + state-42 +lex NL(57406) +lex NL(57406) +reduce 17 in: + state-16 +reduce 5 in: + state-5 +lex NL(57406) +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex CONST(57354) +lex ID(57367) +reduce 83 in: + state-45 +reduce 108 in: + state-46 +lex DIV(57374) +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 55 in: + state-42 +lex NL(57406) +reduce 11 in: + state-101 reduce 3 in: state-3 reduce 17 in: @@ -24712,6 +25026,14 @@ state-157 reduce 55 in: state-42 +lex PLUS(57378) +lex ID(57367) +reduce 110 in: + state-83 +reduce 83 in: + state-45 +reduce 57 in: + state-147 lex LCURLY(57399) reduce 54 in: state-30 @@ -24728,30 +25050,51 @@ state-5 reduce 3 in: state-3 +lex RCURLY(57400) +reduce 19 in: + state-131 +lex $end(0) +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +reduce 1 in: + state-2 +reduce 66 in: + state-39 +reduce 3 in: + state-3 +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +reduce 11 in: + state-101 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 lex ID(57367) reduce 83 in: state-45 reduce 81 in: state-43 -lex ASSIGN(57395) +lex LCURLY(57399) reduce 72 in: state-31 reduce 68 in: state-27 reduce 66 in: state-39 -lex FLOATLITERAL(57370) -reduce 110 in: - state-78 -reduce 80 in: - state-38 -lex NL(57406) -reduce 68 in: - state-27 -reduce 66 in: - state-39 reduce 60 in: - state-122 + state-28 reduce 47 in: state-44 reduce 43 in: @@ -24762,12 +25105,11 @@ state-25 reduce 24 in: state-21 -reduce 22 in: - state-143 -reduce 20 in: - state-23 -reduce 18 in: - state-53 +reduce 2 in: + state-49 +lex NL(57406) +reduce 17 in: + state-16 reduce 5 in: state-5 reduce 3 in: @@ -24775,139 +25117,122 @@ lex RCURLY(57400) reduce 19 in: state-131 -lex NL(57406) +lex $end(0) reduce 15 in: state-47 reduce 4 in: state-4 reduce 3 in: state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex $end(0) -reduce 49 in: - state-26 -reduce 108 in: +reduce 1 in: state-2 -reduce 25 in: - state-22 -reduce 109 in: - state-59 reduce 2 in: - state-49 -lex REGEX(57363) -lex DIV(57374) + state-0 lex ID(57367) -reduce 86 in: - state-157 reduce 83 in: state-45 -reduce 55 in: - state-42 -reduce 1 in: - state-2 reduce 81 in: state-43 -lex LCURLY(57399) -reduce 54 in: - state-30 -lex INC(57372) -reduce 49 in: - state-26 +lex NL(57406) reduce 72 in: state-31 -reduce 25 in: - state-22 -reduce 2 in: - state-49 reduce 68 in: state-27 -lex NL(57406) -reduce 70 in: - state-90 -reduce 17 in: - state-16 -=== CONT TestParserRoundTrip/decrement_counter -reduce 69 in: - state-89 +reduce 66 in: + state-39 +reduce 60 in: + state-28 reduce 47 in: state-44 -lex NL(57406) -reduce 2 in: - state-0 reduce 43 in: state-41 -lex COUNTER(57347) reduce 35 in: state-29 -reduce 88 in: - state-2 reduce 30 in: state-25 -reduce 94 in: - state-55 -reduce 84 in: - state-121 -lex ID(57367) -reduce 92 in: - state-107 -lex STRING(57364) -lex NL(57406) -reduce 77 in: - state-35 -reduce 87 in: - state-106 -reduce 68 in: - state-63 -reduce 6 in: - state-6 -lex RPAREN(57402) +reduce 24 in: + state-21 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 +reduce 5 in: + state-5 reduce 3 in: state-3 +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex LCURLY(57399) +reduce 72 in: + state-31 +reduce 68 in: + state-27 reduce 66 in: state-39 -reduce 17 in: - state-16 reduce 60 in: - state-122 -reduce 5 in: - state-5 + state-28 reduce 47 in: state-44 -reduce 3 in: - state-3 reduce 43 in: state-41 -lex DIV(57374) reduce 35 in: state-29 -reduce 108 in: - state-2 reduce 30 in: state-25 -reduce 109 in: - state-59 -reduce 85 in: - state-158 -lex REGEX(57363) -reduce 74 in: - state-150 -lex DIV(57374) +reduce 24 in: + state-21 +reduce 2 in: + state-49 +lex NL(57406) +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex RCURLY(57400) +reduce 19 in: + state-131 +lex NL(57406) +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex $end(0) +reduce 1 in: + state-2 +lex ADD_ASSIGN(57394) +reduce 72 in: + state-31 +reduce 68 in: + state-27 +reduce 66 in: + state-39 +lex INTLITERAL(57369) +reduce 110 in: + state-79 +reduce 79 in: + state-37 lex NL(57406) -reduce 86 in: - state-157 reduce 68 in: state-27 reduce 66 in: state-39 -reduce 55 in: - state-42 reduce 60 in: - state-28 + state-122 reduce 47 in: state-44 reduce 43 in: @@ -24918,8 +25243,8 @@ state-25 reduce 24 in: state-21 -reduce 21 in: - state-14 +reduce 23 in: + state-144 reduce 20 in: state-23 reduce 18 in: @@ -24928,383 +25253,472 @@ state-5 reduce 3 in: state-3 +lex RCURLY(57400) +reduce 19 in: + state-131 lex NL(57406) +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 3 in: + state-3 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex CAPREF(57365) -reduce 75 in: - state-33 +lex $end(0) +reduce 1 in: + state-2 lex RCURLY(57400) -lex INC(57372) reduce 19 in: state-131 -reduce 68 in: - state-27 -lex NL(57406) -reduce 70 in: - state-90 -reduce 15 in: - state-47 -reduce 69 in: - state-89 +reduce 14 in: + state-128 reduce 4 in: state-4 -lex NL(57406) reduce 3 in: state-3 +lex $end(0) +reduce 1 in: + state-2 +lex INTLITERAL(57369) +reduce 2 in: + state-0 +=== CONT TestParserRoundTrip/newline +reduce 2 in: + state-0 +=== CONT TestParserRoundTrip/nested_scope +lex DIV(57374) +reduce 30 in: + state-25 +reduce 73 in: + state-123 +reduce 88 in: + state-2 +lex MINUS(57377) +reduce 68 in: + state-27 reduce 66 in: state-39 -reduce 17 in: - state-16 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 59 in: + state-95 +lex ID(57367) +reduce 110 in: + state-93 +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex LSQUARE(57403) +lex CAPREF_NAMED(57366) +reduce 108 in: + state-2 +reduce 76 in: + state-34 +reduce 109 in: + state-59 +reduce 68 in: + state-63 +lex RSQUARE(57404) +lex REGEX(57363) +lex INTLITERAL(57369) +reduce 110 in: + state-48 +reduce 79 in: + state-37 +reduce 110 in: + state-48 +reduce 79 in: + state-37 +lex CAPREF_NAMED(57366) +reduce 76 in: + state-34 +lex LT(57382) +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 94 in: + state-55 reduce 60 in: state-28 -reduce 5 in: - state-5 reduce 47 in: state-44 -reduce 3 in: - state-3 +lex ID(57367) reduce 43 in: state-41 -lex $end(0) -reduce 1 in: +reduce 92 in: + state-107 +lex BY(57353) +lex ID(57367) +reduce 99 in: + state-154 +reduce 60 in: + state-28 +lex DIV(57374) +reduce 47 in: + state-44 +reduce 108 in: state-2 +reduce 43 in: + state-41 +reduce 109 in: + state-59 reduce 35 in: state-29 +lex REGEX(57363) reduce 30 in: state-25 +lex DIV(57374) reduce 24 in: state-21 -reduce 21 in: - state-14 reduce 20 in: state-23 +reduce 2 in: + state-0 reduce 18 in: state-53 reduce 5 in: state-5 +lex ID(57367) reduce 3 in: state-3 +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex NL(57406) lex DIV(57374) -reduce 108 in: - state-105 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) +reduce 21 in: + state-14 reduce 86 in: state-157 +reduce 20 in: + state-23 reduce 55 in: state-42 +reduce 18 in: + state-53 lex LCURLY(57399) reduce 54 in: state-30 +reduce 5 in: + state-5 +reduce 3 in: + state-3 reduce 49 in: state-26 reduce 25 in: state-22 reduce 2 in: state-49 +lex LCURLY(57399) lex NL(57406) +reduce 68 in: + state-27 reduce 17 in: state-16 +lex RCURLY(57400) reduce 5 in: state-5 +reduce 66 in: + state-39 reduce 3 in: state-3 -lex CAPREF(57365) -reduce 75 in: - state-33 -lex ADD_ASSIGN(57394) -reduce 68 in: - state-27 +reduce 19 in: + state-131 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 1 in: + state-2 +lex $end(0) +reduce 1 in: + state-2 +reduce 35 in: + state-29 +reduce 37 in: + state-69 +lex INTLITERAL(57369) +=== CONT TestParserRoundTrip/declare_multi-dimensioned_counter +reduce 110 in: + state-68 +lex BUILTIN(57362) reduce 66 in: state-39 -lex CAPREF(57365) -reduce 2 in: - state-0 -reduce 110 in: - state-79 -reduce 75 in: - state-33 -lex DIV(57374) +lex LPAREN(57401) +lex CAPREF_NAMED(57366) +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 84 in: + state-121 +reduce 35 in: + state-29 +reduce 82 in: + state-148 +reduce 30 in: + state-25 +reduce 26 in: + state-129 lex NL(57406) -reduce 108 in: - state-2 +reduce 2 in: + state-49 +reduce 72 in: + state-31 reduce 68 in: - state-27 + state-63 reduce 66 in: state-39 reduce 60 in: state-122 -reduce 109 in: - state-59 -reduce 47 in: - state-44 -lex REGEX(57363) +reduce 24 in: + state-21 +reduce 48 in: + state-151 +reduce 21 in: + state-14 reduce 43 in: state-41 -lex DIV(57374) +reduce 20 in: + state-23 reduce 35 in: state-29 -reduce 86 in: - state-157 +reduce 18 in: + state-53 reduce 30 in: state-25 -reduce 55 in: - state-42 +reduce 5 in: + state-5 reduce 24 in: state-21 -lex LCURLY(57399) +reduce 3 in: + state-3 reduce 23 in: state-144 -reduce 54 in: - state-30 +lex RCURLY(57400) reduce 20 in: state-23 -reduce 49 in: - state-26 +reduce 19 in: + state-131 reduce 18 in: state-53 -reduce 25 in: - state-22 reduce 5 in: state-5 -reduce 2 in: - state-49 reduce 3 in: state-3 +lex COMMA(57405) +lex RCURLY(57400) +reduce 19 in: + state-131 +lex ID(57367) +lex NL(57406) +reduce 101 in: + state-160 +reduce 15 in: + state-47 lex NL(57406) +reduce 4 in: + state-4 +reduce 98 in: + state-153 +reduce 3 in: + state-3 +reduce 90 in: + state-132 reduce 17 in: state-16 -lex ID(57367) +reduce 87 in: + state-106 reduce 5 in: state-5 -reduce 83 in: - state-45 +reduce 6 in: + state-6 +reduce 3 in: + state-3 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +lex $end(0) +reduce 1 in: + state-2 +reduce 3 in: + state-3 +reduce 5 in: + state-5 +=== CONT TestParserRoundTrip/len +reduce 3 in: + state-3 +lex NL(57406) +lex DIV(57374) +reduce 15 in: + state-47 +reduce 108 in: + state-2 +reduce 4 in: + state-4 +lex NL(57406) +reduce 109 in: + state-59 reduce 3 in: state-3 -reduce 81 in: - state-43 -lex BUILTIN(57362) -lex ASSIGN(57395) -lex LPAREN(57401) reduce 72 in: state-31 -lex CAPREF(57365) +reduce 17 in: + state-16 +lex NL(57406) reduce 68 in: state-27 -reduce 75 in: - state-33 +reduce 17 in: + state-16 +reduce 15 in: + state-47 reduce 66 in: state-39 +reduce 5 in: + state-5 +reduce 60 in: + state-28 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 76 in: + state-34 reduce 68 in: state-63 -lex CAPREF(57365) lex COMMA(57405) -reduce 110 in: - state-78 reduce 66 in: state-39 -reduce 75 in: - state-33 reduce 60 in: state-122 -lex NL(57406) reduce 47 in: state-44 -reduce 68 in: - state-27 reduce 43 in: state-41 reduce 35 in: state-29 -reduce 2 in: - state-0 reduce 30 in: state-25 reduce 84 in: state-121 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 109 in: - state-59 lex STRING(57364) -lex REGEX(57363) reduce 77 in: state-35 -lex DIV(57374) reduce 68 in: state-63 -reduce 86 in: - state-157 lex RPAREN(57402) reduce 66 in: state-39 -reduce 55 in: - state-42 reduce 60 in: state-122 -lex LCURLY(57399) reduce 47 in: state-44 -reduce 54 in: - state-30 reduce 43 in: state-41 -reduce 49 in: - state-26 -reduce 35 in: - state-29 -reduce 25 in: - state-22 -reduce 30 in: - state-25 -reduce 2 in: - state-49 -reduce 85 in: - state-158 -lex NL(57406) -reduce 74 in: - state-150 -reduce 17 in: - state-16 -lex NL(57406) +reduce 86 in: + state-157 +reduce 55 in: + state-42 +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 18 in: + state-53 reduce 5 in: state-5 -lex LCURLY(57399) reduce 3 in: state-3 +lex DIV(57374) +reduce 108 in: + state-2 +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 55 in: + state-42 +lex PLUS(57378) +lex ID(57367) +reduce 110 in: + state-83 +reduce 83 in: + state-45 +reduce 57 in: + state-147 +lex LCURLY(57399) reduce 54 in: state-30 -lex INTLITERAL(57369) reduce 49 in: state-26 -reduce 79 in: - state-37 reduce 25 in: state-22 -lex MOD(57375) -reduce 68 in: - state-27 reduce 2 in: state-49 -reduce 66 in: - state-39 lex NL(57406) -reduce 60 in: - state-28 reduce 17 in: state-16 -reduce 64 in: - state-99 reduce 5 in: state-5 -lex INTLITERAL(57369) reduce 3 in: state-3 -reduce 110 in: - state-96 -lex ID(57367) -reduce 79 in: - state-37 -reduce 83 in: - state-45 -reduce 68 in: - state-63 -reduce 81 in: - state-43 -lex NL(57406) -lex DEC(57373) -reduce 66 in: - state-39 -reduce 72 in: - state-31 -reduce 61 in: - state-152 -reduce 68 in: - state-27 -reduce 47 in: - state-44 -reduce 71 in: - state-91 -reduce 43 in: - state-41 -reduce 69 in: - state-89 -reduce 35 in: - state-29 -lex NL(57406) -reduce 30 in: - state-25 -reduce 66 in: - state-39 -reduce 24 in: - state-21 -reduce 60 in: - state-28 -reduce 21 in: - state-14 -reduce 47 in: - state-44 -reduce 20 in: - state-23 -reduce 43 in: - state-41 -reduce 18 in: - state-53 -reduce 35 in: - state-29 -reduce 5 in: - state-5 -reduce 30 in: - state-25 -reduce 3 in: - state-3 -reduce 24 in: - state-21 lex RCURLY(57400) -reduce 21 in: - state-14 reduce 19 in: state-131 -reduce 20 in: - state-23 lex NL(57406) -reduce 18 in: - state-53 reduce 15 in: state-47 -reduce 5 in: - state-5 reduce 4 in: state-4 reduce 3 in: state-3 +reduce 17 in: + state-16 +lex LCURLY(57399) reduce 3 in: state-3 +lex REGEX(57363) lex RCURLY(57400) -reduce 17 in: - state-16 +lex DIV(57374) reduce 19 in: state-131 -reduce 5 in: - state-5 +reduce 79 in: + state-37 lex NL(57406) -reduce 3 in: - state-3 reduce 15 in: state-47 -lex $end(0) reduce 4 in: state-4 -reduce 1 in: - state-2 reduce 3 in: state-3 reduce 17 in: @@ -25316,32 +25730,93 @@ lex $end(0) reduce 1 in: state-2 -=== CONT TestParserRoundTrip/logical -reduce 2 in: - state-0 -lex INTLITERAL(57369) -reduce 79 in: - state-37 -lex OR(57393) +reduce 4 in: + state-4 +reduce 86 in: + state-157 +reduce 3 in: + state-3 +=== CONT TestParserRoundTrip/bitwise reduce 68 in: state-27 reduce 66 in: state-39 reduce 60 in: - state-28 + state-122 +reduce 68 in: + state-63 reduce 47 in: state-44 +lex LCURLY(57399) reduce 43 in: state-41 +reduce 66 in: + state-39 reduce 35 in: state-29 +reduce 60 in: + state-122 reduce 30 in: state-25 +reduce 47 in: + state-44 +reduce 26 in: + state-129 +reduce 43 in: + state-41 +reduce 36 in: + state-140 +reduce 2 in: + state-49 +reduce 30 in: + state-25 +reduce 55 in: + state-42 reduce 24 in: state-21 -reduce 29 in: - state-51 -lex INTLITERAL(57369) +lex LCURLY(57399) +reduce 2 in: + state-49 +reduce 54 in: + state-30 +lex NL(57406) +reduce 49 in: + state-26 +reduce 17 in: + state-16 +reduce 25 in: + state-22 +reduce 5 in: + state-5 +reduce 2 in: + state-49 +lex NL(57406) +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex LSQUARE(57403) +reduce 5 in: + state-5 +lex CAPREF(57365) +reduce 3 in: + state-3 +lex ID(57367) +lex $end(0) +reduce 83 in: + state-45 +reduce 1 in: + state-2 +reduce 81 in: + state-43 +lex MUL(57376) reduce 72 in: state-31 reduce 68 in: @@ -25350,8 +25825,9 @@ state-39 reduce 60 in: state-28 -reduce 65 in: - state-100 +reduce 62 in: + state-97 +=== CONT TestParserRoundTrip/def_and_next lex ID(57367) reduce 110 in: state-96 @@ -25364,41 +25840,125 @@ state-31 reduce 68 in: state-63 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +lex ID(57367) +reduce 5 in: + state-5 +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex ADD_ASSIGN(57394) +reduce 72 in: + state-31 +reduce 68 in: + state-27 +reduce 66 in: + state-39 +lex CAPREF_NAMED(57366) +reduce 3 in: + state-3 +reduce 110 in: + state-79 reduce 2 in: state-0 +lex OTHERWISE(57359) +lex LCURLY(57399) +reduce 76 in: + state-34 +lex NL(57406) +reduce 68 in: + state-27 reduce 66 in: state-39 -reduce 61 in: - state-152 -lex COUNTER(57347) +reduce 60 in: + state-122 reduce 47 in: state-44 -reduce 88 in: - state-2 reduce 43 in: state-41 -reduce 94 in: - state-55 +lex DEF(57356) +reduce 108 in: + state-2 reduce 35 in: state-29 lex ID(57367) reduce 30 in: state-25 -reduce 92 in: - state-107 +lex LCURLY(57399) reduce 24 in: state-21 -lex NL(57406) -reduce 21 in: - state-14 -reduce 87 in: - state-106 +reduce 2 in: + state-49 +reduce 23 in: + state-144 +lex DIV(57374) reduce 20 in: state-23 -reduce 6 in: - state-6 +reduce 66 in: + state-39 +reduce 18 in: + state-53 +reduce 2 in: + state-49 +reduce 108 in: + state-105 +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 55 in: + state-42 +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +reduce 2 in: + state-49 +lex NEXT(57358) +reduce 10 in: + state-10 +reduce 3 in: + state-3 +lex RCURLY(57400) +reduce 19 in: + state-131 +lex RCURLY(57400) +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +reduce 19 in: + state-131 +reduce 104 in: + state-137 +reduce 7 in: + state-7 reduce 3 in: state-3 +lex $end(0) +reduce 1 in: + state-2 +reduce 2 in: + state-0 +lex DEF(57356) +reduce 108 in: + state-2 +lex ID(57367) +lex LCURLY(57399) +reduce 2 in: + state-49 +lex NL(57406) reduce 17 in: state-16 reduce 5 in: @@ -25407,7 +25967,7 @@ state-3 lex DIV(57374) reduce 108 in: - state-2 + state-105 reduce 109 in: state-59 lex REGEX(57363) @@ -25430,6 +25990,26 @@ state-16 reduce 5 in: state-5 +reduce 61 in: + state-152 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 +reduce 5 in: + state-5 reduce 3 in: state-3 lex ID(57367) @@ -25437,20 +26017,33 @@ state-45 reduce 81 in: state-43 -lex DEC(57373) +lex POW(57379) reduce 72 in: state-31 reduce 68 in: state-27 -reduce 71 in: - state-91 -reduce 69 in: - state-89 -lex NL(57406) reduce 66 in: state-39 reduce 60 in: state-28 +reduce 65 in: + state-100 +lex ID(57367) +reduce 110 in: + state-96 +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex NL(57406) +reduce 72 in: + state-31 +reduce 68 in: + state-63 +reduce 66 in: + state-39 +reduce 61 in: + state-152 reduce 47 in: state-44 reduce 43 in: @@ -25472,64 +26065,92 @@ reduce 3 in: state-3 lex RCURLY(57400) +reduce 19 in: + state-131 +lex NL(57406) +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex $end(0) +reduce 1 in: + state-2 +=== CONT TestParserRoundTrip/floats +reduce 2 in: + state-0 +lex GAUGE(57348) +reduce 88 in: + state-2 +reduce 95 in: + state-56 +lex ID(57367) +reduce 92 in: + state-107 +lex NL(57406) +reduce 87 in: + state-106 +reduce 6 in: + state-6 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex DIV(57374) +reduce 108 in: + state-2 +reduce 109 in: + state-59 lex REGEX(57363) lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 +lex NL(57406) +=== CONT TestParserRoundTrip/stop +reduce 17 in: + state-16 +reduce 5 in: + state-5 reduce 2 in: - state-49 + state-0 +reduce 3 in: + state-3 lex NL(57406) reduce 17 in: state-16 +lex ID(57367) reduce 5 in: state-5 reduce 3 in: state-3 -lex BUILTIN(57362) -lex LPAREN(57401) -lex CAPREF_NAMED(57366) -reduce 76 in: - state-34 +lex DIV(57374) +reduce 75 in: + state-33 +reduce 108 in: + state-2 reduce 68 in: state-63 +reduce 109 in: + state-59 lex COMMA(57405) +lex REGEX(57363) reduce 66 in: state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 84 in: - state-121 -lex STRING(57364) -reduce 77 in: - state-35 -reduce 68 in: - state-63 -lex RPAREN(57402) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 +lex DIV(57374) +reduce 86 in: + state-157 +lex NL(57406) +reduce 55 in: + state-42 reduce 35 in: state-29 reduce 30 in: @@ -25703,37 +26324,50 @@ lex $end(0) reduce 1 in: state-2 -reduce 110 in: - state-48 -reduce 79 in: - state-37 -lex AND(57392) -reduce 68 in: - state-27 -reduce 66 in: - state-39 +reduce 2 in: + state-0 +reduce 2 in: + state-0 +lex COUNTER(57347) reduce 60 in: state-122 +lex DIV(57374) +reduce 108 in: + state-2 reduce 47 in: state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 26 in: - state-129 -reduce 28 in: - state-50 -lex INTLITERAL(57369) -reduce 110 in: - state-48 -reduce 79 in: - state-37 +reduce 109 in: + state-59 lex LCURLY(57399) +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 55 in: + state-42 +reduce 88 in: + state-2 +reduce 2 in: + state-0 +reduce 94 in: + state-55 +lex DIV(57374) +lex ID(57367) +reduce 108 in: + state-2 +reduce 92 in: + state-107 +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex LSQUARE(57403) +lex STRING(57364) +reduce 77 in: + state-35 reduce 68 in: - state-27 + state-63 +lex RSQUARE(57404) reduce 66 in: state-39 reduce 60 in: @@ -25746,39 +26380,80 @@ state-29 reduce 30 in: state-25 -reduce 26 in: - state-129 +reduce 84 in: + state-121 +reduce 82 in: + state-148 +lex ADD_ASSIGN(57394) +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 55 in: + state-42 +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +=== CONT TestParserRoundTrip/capref_used_in_def +reduce 25 in: + state-22 reduce 2 in: state-49 lex NL(57406) reduce 17 in: state-16 +reduce 2 in: + state-0 reduce 5 in: state-5 -reduce 3 in: - state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 +reduce 3 in: + state-3 +lex CAPREF(57365) +reduce 75 in: + state-33 +lex BITAND(57388) +reduce 68 in: + state-27 +reduce 66 in: + state-39 reduce 5 in: state-5 +reduce 60 in: + state-28 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 32 in: + state-65 +reduce 86 in: + state-157 +reduce 2 in: + state-0 +reduce 55 in: + state-42 lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 25 in: + state-22 reduce 2 in: state-49 lex NL(57406) @@ -25793,41 +26468,18 @@ state-45 reduce 81 in: state-43 -lex LSQUARE(57403) -lex STRING(57364) -reduce 77 in: - state-35 -reduce 68 in: - state-63 -lex RSQUARE(57404) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 84 in: - state-121 -reduce 82 in: - state-148 -lex ADD_ASSIGN(57394) +lex ASSIGN(57395) reduce 72 in: state-31 reduce 68 in: state-27 reduce 66 in: state-39 -lex INTLITERAL(57369) +lex FLOATLITERAL(57370) reduce 110 in: - state-79 -reduce 79 in: - state-37 + state-78 +reduce 80 in: + state-38 lex NL(57406) reduce 68 in: state-27 @@ -25845,8 +26497,8 @@ state-25 reduce 24 in: state-21 -reduce 23 in: - state-144 +reduce 22 in: + state-143 reduce 20 in: state-23 reduce 18 in: @@ -25858,36 +26510,99 @@ lex RCURLY(57400) reduce 19 in: state-131 -reduce 16 in: - state-52 +lex $end(0) +reduce 15 in: + state-47 reduce 4 in: state-4 reduce 3 in: state-3 -lex $end(0) reduce 1 in: state-2 +lex INTLITERAL(57369) +reduce 3 in: + state-3 +reduce 110 in: + state-64 +lex NEXT(57358) +reduce 79 in: + state-37 +reduce 10 in: + state-10 +reduce 68 in: + state-63 +reduce 3 in: + state-3 +lex NL(57406) +lex NL(57406) +reduce 66 in: + state-39 +reduce 17 in: + state-16 +reduce 60 in: + state-122 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +reduce 47 in: + state-44 +lex RCURLY(57400) +reduce 43 in: + state-41 +reduce 19 in: + state-131 +reduce 35 in: + state-29 +lex NL(57406) +reduce 31 in: + state-139 +reduce 15 in: + state-47 reduce 2 in: state-0 -lex COUNTER(57347) +lex GAUGE(57348) reduce 88 in: state-2 -reduce 94 in: - state-55 +reduce 95 in: + state-56 lex ID(57367) reduce 92 in: state-107 -lex BY(57353) -lex ID(57367) -reduce 99 in: - state-154 +lex DIV(57374) +lex NL(57406) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +reduce 4 in: + state-4 +reduce 2 in: + state-49 +reduce 3 in: + state-3 +lex NL(57406) +reduce 17 in: + state-16 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +reduce 3 in: + state-3 +lex STOP(57361) +lex RCURLY(57400) lex NL(57406) -reduce 98 in: - state-153 -reduce 90 in: - state-132 reduce 87 in: state-106 +reduce 19 in: + state-131 reduce 6 in: state-6 reduce 3 in: @@ -25899,90 +26614,202 @@ reduce 3 in: state-3 lex DIV(57374) +reduce 49 in: + state-26 +reduce 24 in: + state-21 +reduce 25 in: + state-22 +reduce 5 in: + state-5 +reduce 2 in: + state-49 +reduce 104 in: + state-137 +lex DIV(57374) +reduce 7 in: + state-7 +reduce 108 in: + state-105 +reduce 3 in: + state-3 +reduce 109 in: + state-59 +lex NL(57406) +lex REGEX(57363) +reduce 2 in: + state-0 +lex DIV(57374) +reduce 86 in: + state-157 +lex DIV(57374) +reduce 55 in: + state-42 reduce 108 in: state-2 +lex LCURLY(57399) reduce 109 in: state-59 +reduce 54 in: + state-30 lex REGEX(57363) +reduce 49 in: + state-26 lex DIV(57374) +reduce 25 in: + state-22 reduce 86 in: state-157 +reduce 2 in: + state-49 +lex RCURLY(57400) reduce 55 in: state-42 +reduce 19 in: + state-131 lex LCURLY(57399) +lex RCURLY(57400) reduce 54 in: state-30 +reduce 15 in: + state-47 +reduce 4 in: + state-4 reduce 49 in: state-26 +reduce 3 in: + state-3 reduce 25 in: state-22 +reduce 19 in: + state-131 reduce 2 in: state-49 +lex ELSE(57360) lex NL(57406) +lex LCURLY(57399) +reduce 2 in: + state-49 reduce 17 in: state-16 +lex DIV(57374) reduce 5 in: state-5 +reduce 108 in: + state-105 reduce 3 in: state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex LSQUARE(57403) -lex STRING(57364) -reduce 77 in: - state-35 +reduce 109 in: + state-59 +lex BUILTIN(57362) +lex REGEX(57363) +lex LPAREN(57401) +lex DIV(57374) +lex CAPREF_NAMED(57366) +reduce 86 in: + state-157 +reduce 76 in: + state-34 +reduce 55 in: + state-42 reduce 68 in: state-63 -lex RSQUARE(57404) +lex LCURLY(57399) +lex RPAREN(57402) +reduce 54 in: + state-30 reduce 66 in: state-39 +reduce 49 in: + state-26 reduce 60 in: state-122 +reduce 25 in: + state-22 reduce 47 in: state-44 +reduce 2 in: + state-49 reduce 43 in: state-41 +lex RCURLY(57400) reduce 35 in: state-29 +reduce 19 in: + state-131 reduce 30 in: state-25 +lex ELSE(57360) reduce 84 in: state-121 -reduce 82 in: - state-148 -lex INC(57372) -reduce 72 in: - state-31 +lex LCURLY(57399) +reduce 74 in: + state-150 +reduce 2 in: + state-49 +lex GT(57383) +lex RCURLY(57400) reduce 68 in: state-27 -reduce 70 in: - state-90 -reduce 69 in: - state-89 -lex NL(57406) +reduce 19 in: + state-131 reduce 66 in: state-39 +reduce 14 in: + state-128 reduce 60 in: state-28 +reduce 4 in: + state-4 reduce 47 in: state-44 +reduce 3 in: + state-3 reduce 43 in: state-41 +lex RCURLY(57400) reduce 35 in: state-29 +reduce 19 in: + state-131 +reduce 38 in: + state-70 +reduce 14 in: + state-128 +lex INTLITERAL(57369) +reduce 4 in: + state-4 +reduce 110 in: + state-68 +reduce 3 in: + state-3 +reduce 79 in: + state-37 +lex $end(0) +reduce 68 in: + state-63 +reduce 1 in: + state-2 +lex LCURLY(57399) +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 36 in: + state-140 reduce 30 in: state-25 reduce 24 in: state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 +reduce 2 in: + state-49 +lex NL(57406) +reduce 17 in: + state-16 reduce 5 in: state-5 reduce 3 in: @@ -25999,109 +26826,176 @@ state-3 reduce 17 in: state-16 -reduce 18 in: - state-53 -reduce 25 in: - state-22 -reduce 2 in: - state-49 reduce 5 in: state-5 -lex NL(57406) -reduce 3 in: - state-3 reduce 17 in: state-16 +reduce 3 in: + state-3 reduce 5 in: state-5 +lex RCURLY(57400) reduce 3 in: state-3 lex RCURLY(57400) -reduce 5 in: - state-5 +reduce 19 in: + state-131 +reduce 19 in: + state-131 +lex NL(57406) +lex NL(57406) +reduce 15 in: + state-47 +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 4 in: + state-4 reduce 3 in: state-3 reduce 3 in: state-3 -reduce 66 in: - state-39 -lex OTHERWISE(57359) -=== CONT TestParserRoundTrip/simple_otherwise_action -lex LCURLY(57399) +reduce 17 in: + state-16 reduce 2 in: - state-49 + state-0 +reduce 5 in: + state-5 +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 +lex ID(57367) +reduce 92 in: + state-107 +lex BY(57353) +lex ID(57367) +reduce 99 in: + state-154 +lex COMMA(57405) +lex ID(57367) +reduce 101 in: + state-160 +lex COMMA(57405) +lex ID(57367) +reduce 101 in: + state-160 +reduce 2 in: + state-0 lex NL(57406) -reduce 60 in: - state-28 +lex DIV(57374) +reduce 98 in: + state-153 +reduce 108 in: + state-2 +reduce 90 in: + state-132 +reduce 109 in: + state-59 +reduce 87 in: + state-106 +lex REGEX(57363) +reduce 6 in: + state-6 +lex DIV(57374) +reduce 3 in: + state-3 +reduce 86 in: + state-157 reduce 17 in: state-16 +reduce 55 in: + state-42 reduce 5 in: state-5 +lex LCURLY(57399) reduce 3 in: state-3 -reduce 47 in: - state-44 -lex ID(57367) -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 +reduce 54 in: + state-30 +lex $end(0) +reduce 49 in: + state-26 +reduce 1 in: + state-2 +reduce 25 in: + state-22 +reduce 2 in: + state-49 +lex NL(57406) +reduce 17 in: + state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex CAPREF(57365) -reduce 75 in: - state-33 -lex INC(57372) +lex DIV(57374) +reduce 108 in: + state-105 +reduce 109 in: + state-59 +reduce 2 in: + state-0 +lex LCURLY(57399) +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 +reduce 72 in: + state-31 +reduce 108 in: + state-2 +reduce 109 in: + state-59 reduce 68 in: state-27 -reduce 70 in: - state-90 -reduce 69 in: - state-89 -lex NL(57406) +lex REGEX(57363) reduce 66 in: state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 +lex DIV(57374) +lex INTLITERAL(57369) +reduce 86 in: + state-157 +reduce 110 in: + state-79 +reduce 55 in: + state-42 +reduce 3 in: + state-3 +lex LCURLY(57399) +lex RCURLY(57400) +reduce 54 in: + state-30 +reduce 19 in: + state-131 +lex NL(57406) +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 3 in: + state-3 reduce 43 in: state-41 reduce 35 in: state-29 reduce 30 in: state-25 -reduce 66 in: - state-39 -lex ID(57367) -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 42 in: - state-74 -lex INTLITERAL(57369) -reduce 110 in: - state-68 -reduce 79 in: - state-37 +reduce 84 in: + state-121 +lex CAPREF(57365) +reduce 75 in: + state-33 reduce 68 in: state-63 -lex LCURLY(57399) +lex RSQUARE(57404) reduce 66 in: state-39 reduce 60 in: @@ -26110,45 +27004,28 @@ state-44 reduce 43 in: state-41 -reduce 36 in: - state-140 +reduce 35 in: + state-29 reduce 30 in: state-25 -reduce 24 in: - state-21 -reduce 2 in: - state-49 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex ADD_ASSIGN(57394) +reduce 85 in: + state-158 +reduce 82 in: + state-148 +lex INC(57372) reduce 72 in: state-31 reduce 68 in: state-27 -reduce 66 in: - state-39 -lex CAPREF_NAMED(57366) -reduce 110 in: - state-79 -reduce 76 in: - state-34 +reduce 70 in: + state-90 +reduce 69 in: + state-89 lex NL(57406) -reduce 68 in: - state-27 reduce 66 in: state-39 reduce 60 in: - state-122 + state-28 reduce 47 in: state-44 reduce 43 in: @@ -26159,8 +27036,8 @@ state-25 reduce 24 in: state-21 -reduce 23 in: - state-144 +reduce 21 in: + state-14 reduce 20 in: state-23 reduce 18 in: @@ -26172,27 +27049,46 @@ lex RCURLY(57400) reduce 19 in: state-131 -lex NL(57406) +lex $end(0) reduce 15 in: state-47 reduce 4 in: state-4 reduce 3 in: state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 +reduce 1 in: + state-2 +reduce 108 in: + state-2 +reduce 54 in: + state-30 +reduce 2 in: + state-0 +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 +lex ID(57367) +reduce 92 in: + state-107 +lex BY(57353) +lex ID(57367) +reduce 99 in: + state-154 +lex COMMA(57405) +lex ID(57367) +reduce 101 in: + state-160 lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 +reduce 98 in: + state-153 +reduce 90 in: + state-132 +reduce 87 in: + state-106 +reduce 6 in: + state-6 reduce 3 in: state-3 reduce 17 in: @@ -26201,8 +27097,8 @@ state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: +lex DIV(57374) +reduce 108 in: state-2 reduce 109 in: state-59 @@ -26210,157 +27106,86 @@ lex DIV(57374) reduce 86 in: state-157 -reduce 20 in: - state-23 -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 18 in: - state-53 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 +reduce 55 in: + state-42 +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +reduce 2 in: + state-49 lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 -reduce 2 in: - state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -reduce 2 in: - state-0 +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex LSQUARE(57403) +lex CAPREF(57365) +reduce 75 in: + state-33 +reduce 68 in: + state-63 +lex COMMA(57405) reduce 66 in: state-39 -reduce 2 in: - state-0 reduce 60 in: - state-28 -reduce 43 in: - state-41 + state-122 reduce 47 in: state-44 -reduce 35 in: - state-29 reduce 43 in: state-41 -lex OTHERWISE(57359) +reduce 35 in: + state-29 reduce 30 in: state-25 -reduce 83 in: - state-45 -reduce 24 in: - state-21 -reduce 81 in: - state-43 -reduce 22 in: - state-143 -lex LSQUARE(57403) -reduce 20 in: - state-23 -lex STRING(57364) -reduce 18 in: - state-53 -reduce 77 in: - state-35 -reduce 5 in: - state-5 +reduce 84 in: + state-121 +lex CAPREF(57365) +reduce 75 in: + state-33 reduce 68 in: state-63 -reduce 3 in: - state-3 lex RSQUARE(57404) -reduce 24 in: - state-21 reduce 66 in: state-39 -lex RCURLY(57400) -reduce 21 in: - state-14 -reduce 19 in: - state-131 -reduce 20 in: - state-23 reduce 60 in: state-122 -lex NL(57406) -reduce 55 in: - state-42 reduce 47 in: state-44 -reduce 19 in: - state-131 reduce 43 in: state-41 -lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 47 in: - state-44 -reduce 3 in: - state-3 -reduce 43 in: - state-41 -reduce 17 in: - state-16 reduce 35 in: state-29 -reduce 5 in: - state-5 reduce 30 in: state-25 -reduce 3 in: - state-3 -reduce 84 in: - state-121 -lex $end(0) +reduce 85 in: + state-158 reduce 82 in: state-148 -reduce 1 in: - state-2 -lex ADD_ASSIGN(57394) +lex INC(57372) reduce 72 in: state-31 reduce 68 in: state-27 -reduce 66 in: - state-39 -lex INTLITERAL(57369) -reduce 110 in: - state-79 -reduce 79 in: - state-37 +reduce 70 in: + state-90 +reduce 69 in: + state-89 lex NL(57406) -reduce 68 in: - state-27 reduce 66 in: state-39 reduce 60 in: - state-122 + state-28 reduce 47 in: state-44 reduce 43 in: @@ -26369,27 +27194,6 @@ state-29 reduce 30 in: state-25 -reduce 15 in: - state-47 -lex INTLITERAL(57369) -reduce 4 in: - state-4 -=== CONT TestParserRoundTrip/const -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 35 in: - state-29 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex $end(0) -reduce 1 in: - state-2 -reduce 30 in: - state-25 reduce 24 in: state-21 reduce 21 in: @@ -26405,391 +27209,327 @@ lex RCURLY(57400) reduce 19 in: state-131 -reduce 83 in: - state-45 lex NL(57406) reduce 15 in: state-47 reduce 4 in: state-4 -reduce 81 in: - state-43 reduce 3 in: state-3 reduce 17 in: state-16 -lex ADD_ASSIGN(57394) reduce 5 in: state-5 -reduce 72 in: - state-31 reduce 3 in: state-3 -reduce 68 in: - state-27 lex $end(0) -reduce 66 in: - state-39 reduce 1 in: state-2 -lex INTLITERAL(57369) -reduce 110 in: - state-79 -reduce 60 in: - state-122 -reduce 79 in: - state-37 -reduce 47 in: - state-44 -reduce 43 in: - state-41 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +reduce 2 in: + state-49 lex NL(57406) -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 68 in: - state-27 -reduce 24 in: - state-21 -reduce 66 in: - state-39 -reduce 22 in: - state-143 -reduce 60 in: - state-122 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 lex RCURLY(57400) -reduce 47 in: - state-44 reduce 19 in: state-131 -reduce 43 in: - state-41 lex ELSE(57360) -reduce 35 in: - state-29 lex LCURLY(57399) -reduce 30 in: - state-25 -reduce 24 in: - state-21 reduce 2 in: state-49 -reduce 23 in: - state-144 lex RCURLY(57400) -reduce 20 in: - state-23 reduce 19 in: state-131 -reduce 18 in: - state-53 reduce 14 in: state-128 -reduce 5 in: - state-5 reduce 4 in: state-4 reduce 3 in: state-3 -reduce 3 in: - state-3 lex NL(57406) -lex RCURLY(57400) reduce 17 in: state-16 -reduce 19 in: - state-131 +reduce 21 in: + state-14 +=== CONT TestParserRoundTrip/match_expr_4 +reduce 20 in: + state-23 +reduce 18 in: + state-53 reduce 5 in: state-5 -lex NL(57406) +reduce 2 in: + state-0 reduce 3 in: state-3 -reduce 15 in: - state-47 -lex $end(0) -reduce 4 in: - state-4 +lex CAPREF(57365) +reduce 5 in: + state-5 +reduce 75 in: + state-33 reduce 3 in: state-3 -reduce 1 in: - state-2 +lex BITOR(57390) +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-28 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 3 in: + state-3 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 33 in: + state-66 +lex INTLITERAL(57369) +reduce 110 in: + state-64 +reduce 79 in: + state-37 +reduce 68 in: + state-63 +lex NL(57406) +reduce 66 in: + state-39 +lex $end(0) +reduce 79 in: + state-37 reduce 17 in: state-16 reduce 5 in: state-5 +reduce 5 in: + state-5 +reduce 3 in: + state-3 reduce 3 in: state-3 +reduce 87 in: + state-106 lex $end(0) -=== CONT TestParserRoundTrip/def_and_next +reduce 60 in: + state-122 reduce 1 in: state-2 -reduce 2 in: - state-0 -reduce 18 in: - state-53 +reduce 47 in: + state-44 +reduce 43 in: + state-41 reduce 35 in: state-29 -lex DEF(57356) -reduce 108 in: - state-2 -reduce 30 in: - state-25 +reduce 31 in: + state-139 reduce 24 in: state-21 -reduce 19 in: - state-131 reduce 21 in: state-14 -lex NL(57406) reduce 20 in: state-23 -reduce 15 in: - state-47 reduce 18 in: state-53 -reduce 4 in: - state-4 reduce 5 in: state-5 reduce 3 in: state-3 -reduce 3 in: - state-3 +lex CAPREF(57365) +reduce 75 in: + state-33 +lex SHL(57380) +lex $end(0) +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 1 in: + state-2 +reduce 60 in: + state-28 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 45 in: + state-81 +lex INTLITERAL(57369) +reduce 110 in: + state-80 +reduce 79 in: + state-37 +reduce 68 in: + state-63 +reduce 2 in: + state-0 +lex NL(57406) +reduce 66 in: + state-39 +reduce 60 in: + state-122 +lex COUNTER(57347) +reduce 47 in: + state-44 +reduce 88 in: + state-2 +lex NL(57406) reduce 17 in: state-16 +reduce 94 in: + state-55 reduce 5 in: state-5 +lex ID(57367) reduce 3 in: state-3 -=== CONT TestParserRoundTrip/len -lex RCURLY(57400) -lex ID(57367) -reduce 19 in: - state-131 reduce 92 in: state-107 -lex NL(57406) -lex NL(57406) -reduce 15 in: - state-47 -reduce 87 in: - state-106 -reduce 2 in: - state-0 -reduce 4 in: - state-4 lex DIV(57374) -reduce 3 in: - state-3 -reduce 6 in: - state-6 reduce 108 in: state-2 +lex NL(57406) reduce 109 in: state-59 +reduce 87 in: + state-106 lex REGEX(57363) +reduce 6 in: + state-6 lex DIV(57374) -reduce 86 in: - state-157 reduce 3 in: state-3 +reduce 86 in: + state-157 reduce 55 in: state-42 -lex LCURLY(57399) reduce 17 in: state-16 -reduce 54 in: - state-30 +lex LCURLY(57399) reduce 5 in: state-5 -reduce 49 in: - state-26 reduce 3 in: state-3 -reduce 25 in: - state-22 lex DIV(57374) -reduce 2 in: - state-49 reduce 108 in: state-2 -lex NL(57406) reduce 109 in: state-59 -reduce 17 in: - state-16 lex REGEX(57363) -reduce 5 in: - state-5 lex DIV(57374) -reduce 3 in: - state-3 reduce 86 in: state-157 -lex BUILTIN(57362) +lex CAPREF_NAMED(57366) +reduce 54 in: + state-30 +reduce 76 in: + state-34 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +lex LE(57384) +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-28 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 2 in: + state-0 +reduce 6 in: + state-6 +lex DIV(57374) +reduce 108 in: + state-2 +lex NL(57406) reduce 17 in: state-16 -lex LPAREN(57401) reduce 5 in: state-5 reduce 3 in: state-3 -lex CAPREF_NAMED(57366) lex $end(0) -reduce 76 in: - state-34 reduce 1 in: state-2 -reduce 68 in: - state-63 -reduce 24 in: - state-21 -lex RPAREN(57402) -reduce 23 in: - state-144 -reduce 20 in: - state-23 -reduce 66 in: - state-39 -reduce 18 in: - state-53 -reduce 60 in: - state-122 +reduce 2 in: + state-0 +lex $end(0) +reduce 1 in: + state-2 +reduce 12 in: + state-12 +reduce 3 in: + state-3 +lex NL(57406) +reduce 17 in: + state-16 reduce 5 in: state-5 -reduce 47 in: - state-44 reduce 3 in: state-3 -reduce 43 in: - state-41 lex RCURLY(57400) -reduce 35 in: - state-29 reduce 19 in: state-131 -reduce 16 in: - state-52 -reduce 79 in: - state-37 +lex $end(0) +reduce 15 in: + state-47 reduce 4 in: state-4 reduce 3 in: state-3 -lex OR(57393) -lex NL(57406) -reduce 68 in: - state-27 -lex $end(0) -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -lex ID(57367) -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 reduce 1 in: state-2 -reduce 24 in: - state-21 -reduce 29 in: - state-51 -lex INTLITERAL(57369) -reduce 110 in: - state-48 -reduce 79 in: - state-37 -lex AND(57392) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 26 in: - state-129 -reduce 28 in: - state-50 -lex INTLITERAL(57369) +reduce 2 in: + state-0 +lex DIV(57374) +reduce 108 in: + state-2 +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 reduce 55 in: state-42 lex LCURLY(57399) -reduce 110 in: - state-48 reduce 54 in: state-30 reduce 49 in: state-26 -reduce 79 in: - state-37 reduce 25 in: state-22 -lex LCURLY(57399) reduce 2 in: state-49 -reduce 68 in: - state-27 lex NL(57406) -reduce 66 in: - state-39 -reduce 17 in: - state-16 -reduce 60 in: - state-122 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex CAPREF_NAMED(57366) -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 26 in: - state-129 -reduce 2 in: - state-49 reduce 17 in: state-16 reduce 5 in: state-5 -reduce 5 in: - state-5 reduce 3 in: state-3 +lex STOP(57361) +reduce 12 in: + state-12 reduce 3 in: state-3 -lex RCURLY(57400) -lex $end(0) lex NL(57406) -reduce 19 in: - state-131 -lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 reduce 17 in: state-16 reduce 5 in: @@ -26815,40 +27555,33 @@ lex $end(0) reduce 1 in: state-2 -=== CONT TestParserRoundTrip/multiline_regex +=== CONT TestParserRoundTrip/empty +reduce 2 in: + state-0 +lex $end(0) +reduce 1 in: + state-2 +reduce 2 in: + state-0 +lex $end(0) +reduce 1 in: + state-2 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 55 in: + state-42 lex LCURLY(57399) reduce 54 in: state-30 -reduce 76 in: - state-34 reduce 49 in: state-26 -lex GT(57383) reduce 25 in: state-22 reduce 2 in: state-49 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex ELSE(57360) -lex LCURLY(57399) -reduce 2 in: - state-49 -lex RCURLY(57400) -reduce 19 in: - state-131 -reduce 14 in: - state-128 -reduce 4 in: - state-4 -reduce 3 in: - state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -reduce 14 in: - state-128 +lex NL(57406) reduce 17 in: state-16 reduce 5 in: @@ -26871,73 +27604,16 @@ state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 -=== CONT TestParserRoundTrip/bitwise -lex LCURLY(57399) -reduce 2 in: - state-49 lex RCURLY(57400) reduce 19 in: state-131 -reduce 16 in: - state-52 -reduce 4 in: - state-4 -reduce 3 in: - state-3 -lex NL(57406) -reduce 17 in: - state-16 -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 38 in: - state-70 -lex INTLITERAL(57369) -reduce 110 in: - state-68 -reduce 79 in: - state-37 -reduce 68 in: - state-63 +lex ELSE(57360) lex LCURLY(57399) reduce 2 in: - state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 -lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 + state-49 lex DIV(57374) reduce 108 in: - state-2 + state-105 reduce 109 in: state-59 lex REGEX(57363) @@ -26962,41 +27638,25 @@ state-5 reduce 3 in: state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex INC(57372) -reduce 72 in: - state-31 -reduce 68 in: - state-27 -reduce 70 in: - state-90 -reduce 69 in: - state-89 +lex RCURLY(57400) +reduce 19 in: + state-131 +lex ELSE(57360) +lex LCURLY(57399) +reduce 2 in: + state-49 +lex RCURLY(57400) +reduce 19 in: + state-131 +reduce 14 in: + state-128 +reduce 4 in: + state-4 +reduce 3 in: + state-3 lex NL(57406) -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 +reduce 17 in: + state-16 reduce 5 in: state-5 reduce 3 in: @@ -27004,13 +27664,13 @@ lex RCURLY(57400) reduce 19 in: state-131 -lex NL(57406) -reduce 15 in: - state-47 +reduce 14 in: + state-128 reduce 4 in: state-4 reduce 3 in: state-3 +lex NL(57406) reduce 17 in: state-16 reduce 5 in: @@ -27020,7 +27680,7 @@ lex $end(0) reduce 1 in: state-2 -=== CONT TestParserRoundTrip/delete +=== CONT TestParserRoundTrip/delete_after reduce 2 in: state-0 lex COUNTER(57347) @@ -27079,52 +27739,14 @@ state-5 reduce 3 in: state-3 -reduce 2 in: - state-0 lex DEL(57357) lex ID(57367) -lex CONST(57354) reduce 83 in: state-45 -lex ID(57367) reduce 81 in: state-43 -reduce 83 in: - state-45 lex LSQUARE(57403) -reduce 108 in: - state-46 lex CAPREF(57365) -lex DIV(57374) -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex $end(0) -reduce 11 in: - state-101 -reduce 3 in: - state-3 -reduce 1 in: - state-2 -reduce 2 in: - state-0 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex NL(57406) -reduce 72 in: - state-31 -reduce 68 in: - state-27 -reduce 66 in: - state-39 reduce 75 in: state-33 reduce 68 in: @@ -27146,17 +27768,104 @@ state-121 reduce 82 in: state-148 -lex NL(57406) +lex AFTER(57351) reduce 72 in: state-31 +reduce 35 in: + state-29 reduce 68 in: state-63 -reduce 107 in: - state-62 +reduce 1 in: + state-2 +reduce 109 in: + state-59 +lex $end(0) +lex REGEX(57363) +reduce 1 in: + state-2 +lex DIV(57374) +reduce 44 in: + state-145 +reduce 86 in: + state-157 +reduce 35 in: + state-29 +reduce 55 in: + state-42 +reduce 30 in: + state-25 +lex AND(57392) +reduce 24 in: + state-21 +reduce 54 in: + state-30 +reduce 21 in: + state-14 +reduce 49 in: + state-26 +reduce 109 in: + state-59 +reduce 25 in: + state-22 +reduce 2 in: + state-49 +reduce 55 in: + state-42 +lex NL(57406) +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 17 in: + state-16 +reduce 25 in: + state-22 +reduce 5 in: + state-5 +reduce 2 in: + state-49 +reduce 3 in: + state-3 +lex NL(57406) +reduce 17 in: + state-16 +lex $end(0) +lex NL(57406) +reduce 1 in: + state-2 +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 49 in: + state-26 +reduce 17 in: + state-16 +reduce 25 in: + state-22 +reduce 28 in: + state-50 +lex CAPREF_NAMED(57366) +reduce 110 in: + state-48 +reduce 76 in: + state-34 +lex GT(57383) +reduce 68 in: + state-27 +lex DURATIONLITERAL(57371) +reduce 106 in: + state-138 reduce 9 in: state-9 reduce 3 in: state-3 +lex NL(57406) reduce 17 in: state-16 reduce 5 in: @@ -27176,225 +27885,212 @@ reduce 1 in: state-2 reduce 2 in: - state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -reduce 2 in: - state-0 + state-49 lex ID(57367) reduce 92 in: state-107 -reduce 60 in: - state-28 -lex NL(57406) -reduce 47 in: - state-44 -reduce 87 in: - state-106 -reduce 6 in: - state-6 reduce 3 in: state-3 +lex BY(57353) reduce 17 in: state-16 +lex ID(57367) reduce 5 in: state-5 +reduce 99 in: + state-154 reduce 3 in: state-3 +lex COMMA(57405) +lex ID(57367) lex DIV(57374) +reduce 101 in: + state-160 reduce 108 in: state-2 +lex COMMA(57405) reduce 109 in: state-59 lex REGEX(57363) +lex ID(57367) lex DIV(57374) +reduce 101 in: + state-160 reduce 86 in: state-157 +lex NL(57406) reduce 55 in: state-42 lex LCURLY(57399) +reduce 98 in: + state-153 +reduce 5 in: + state-5 +reduce 90 in: + state-132 +reduce 3 in: + state-3 +lex ID(57367) +reduce 2 in: + state-0 +reduce 83 in: + state-45 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +=== CONT TestParserRoundTrip/const_regex +reduce 55 in: + state-42 reduce 54 in: state-30 +lex NL(57406) +=== CONT TestParserRoundTrip/multiline_regex +reduce 2 in: + state-0 +reduce 17 in: + state-16 +reduce 2 in: + state-0 +lex CONST(57354) +reduce 5 in: + state-5 +lex DIV(57374) +lex ID(57367) +reduce 108 in: + state-2 +reduce 109 in: + state-59 reduce 49 in: state-26 +reduce 66 in: + state-39 reduce 25 in: state-22 +lex REGEX(57363) reduce 2 in: state-49 +reduce 60 in: + state-122 lex NL(57406) +reduce 43 in: + state-41 reduce 17 in: state-16 reduce 5 in: state-5 +reduce 35 in: + state-29 reduce 3 in: state-3 -lex ID(57367) -reduce 83 in: - state-45 +reduce 30 in: + state-25 +=== CONT TestParserRoundTrip/numeric_capture_group_reference +reduce 24 in: + state-21 +reduce 23 in: + state-144 +=== CONT TestParserRoundTrip/paren_expr +reduce 20 in: + state-23 +reduce 2 in: + state-0 +reduce 18 in: + state-53 +lex DIV(57374) +reduce 2 in: + state-0 +reduce 108 in: + state-2 +reduce 109 in: + state-59 +lex REGEX(57363) +lex LCURLY(57399) +lex DIV(57374) +reduce 54 in: + state-30 +reduce 86 in: + state-157 reduce 81 in: state-43 -lex ASSIGN(57395) +lex DEC(57373) reduce 72 in: state-31 reduce 68 in: state-27 -reduce 66 in: - state-39 -lex CAPREF_NAMED(57366) -reduce 110 in: - state-78 -reduce 76 in: - state-34 +reduce 71 in: + state-91 +reduce 69 in: + state-89 lex NL(57406) -reduce 68 in: - state-27 reduce 66 in: state-39 reduce 60 in: - state-122 + state-28 reduce 47 in: state-44 reduce 43 in: state-41 reduce 35 in: state-29 -reduce 2 in: - state-0 -lex COUNTER(57347) +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +=== CONT TestParserRoundTrip/match_expression_1 +reduce 39 in: + state-71 +lex INTLITERAL(57369) +reduce 110 in: + state-68 lex COUNTER(57347) -reduce 88 in: - state-2 +reduce 79 in: + state-37 reduce 88 in: state-2 reduce 94 in: state-55 -reduce 94 in: - state-55 -lex ID(57367) lex ID(57367) -reduce 20 in: - state-23 +reduce 83 in: + state-45 reduce 92 in: state-107 +reduce 108 in: + state-46 lex BY(57353) lex ID(57367) reduce 99 in: state-154 lex NL(57406) -=== CONT TestParserRoundTrip/stop reduce 98 in: state-153 reduce 90 in: state-132 reduce 87 in: state-106 -reduce 2 in: - state-0 reduce 6 in: state-6 -lex NL(57406) reduce 3 in: state-3 reduce 17 in: state-16 -reduce 17 in: - state-16 -reduce 5 in: - state-5 reduce 5 in: state-5 reduce 3 in: state-3 -reduce 43 in: - state-41 lex DIV(57374) -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 30 in: - state-25 -reduce 84 in: - state-121 -reduce 24 in: - state-21 -reduce 74 in: - state-150 -reduce 21 in: - state-14 -lex GT(57383) -reduce 20 in: - state-23 -reduce 68 in: - state-27 -reduce 18 in: - state-53 -reduce 18 in: - state-53 -reduce 5 in: - state-5 -lex LCURLY(57399) -reduce 5 in: - state-5 -reduce 3 in: - state-3 -reduce 2 in: - state-49 -lex $end(0) -lex DIV(57374) -reduce 1 in: - state-2 -reduce 108 in: - state-105 -reduce 1 in: - state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -=== CONT TestParserRoundTrip/match_expr_4 -reduce 3 in: - state-3 -lex DIV(57374) -=== CONT TestParserRoundTrip/match_expression_3 -reduce 108 in: - state-2 -reduce 2 in: - state-0 -reduce 109 in: - state-59 -lex NL(57406) -lex REGEX(57363) -reduce 17 in: - state-16 -lex DIV(57374) -reduce 2 in: - state-0 -reduce 86 in: - state-157 -reduce 5 in: - state-5 -lex NL(57406) -reduce 3 in: - state-3 -lex DIV(57374) -reduce 17 in: - state-16 reduce 108 in: state-2 -reduce 2 in: - state-0 -reduce 5 in: - state-5 -lex DIV(57374) -reduce 55 in: - state-42 -reduce 108 in: - state-2 -lex LCURLY(57399) reduce 109 in: state-59 lex REGEX(57363) @@ -27403,21 +28099,6 @@ state-157 reduce 55 in: state-42 -lex PLUS(57378) -lex NL(57406) -reduce 111 in: - state-104 -lex DIV(57374) -reduce 108 in: - state-119 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 56 in: - state-146 lex LCURLY(57399) reduce 54 in: state-30 @@ -27434,89 +28115,42 @@ state-5 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 +lex DEL(57357) +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 reduce 3 in: state-3 -reduce 17 in: - state-16 reduce 5 in: state-5 +lex LSQUARE(57403) reduce 3 in: state-3 -reduce 2 in: - state-0 -lex $end(0) -reduce 1 in: - state-2 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 -lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 -reduce 17 in: - state-16 +lex CAPREF(57365) +lex CAPREF_NAMED(57366) +lex CAPREF(57365) +reduce 75 in: + state-33 +reduce 75 in: + state-33 reduce 5 in: state-5 reduce 3 in: state-3 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 lex NL(57406) -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 reduce 17 in: state-16 +lex RCURLY(57400) reduce 5 in: state-5 -reduce 3 in: - state-3 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 +reduce 19 in: + state-131 reduce 2 in: - state-49 + state-0 +reduce 16 in: + state-52 lex NL(57406) reduce 17 in: state-16 @@ -27524,26 +28158,9 @@ state-5 reduce 3 in: state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex ADD_ASSIGN(57394) -reduce 72 in: - state-31 reduce 68 in: - state-27 -reduce 66 in: - state-39 -lex CAPREF(57365) -reduce 110 in: - state-79 -reduce 75 in: - state-33 -lex NL(57406) -reduce 68 in: - state-27 + state-63 +lex RSQUARE(57404) reduce 66 in: state-39 reduce 60 in: @@ -27556,72 +28173,69 @@ state-29 reduce 30 in: state-25 -reduce 24 in: - state-21 -reduce 23 in: - state-144 -reduce 20 in: - state-23 -reduce 18 in: - state-53 +reduce 84 in: + state-121 +reduce 82 in: + state-148 +lex AFTER(57351) +reduce 72 in: + state-31 +reduce 68 in: + state-63 +lex DURATIONLITERAL(57371) +reduce 106 in: + state-138 +reduce 9 in: + state-9 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +reduce 3 in: + state-3 +lex NL(57406) +reduce 17 in: + state-16 +reduce 87 in: + state-106 reduce 5 in: state-5 +reduce 6 in: + state-6 reduce 3 in: state-3 -lex DIV(57374) -reduce 108 in: - state-105 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 +lex NL(57406) +reduce 3 in: + state-3 +reduce 76 in: + state-34 +reduce 17 in: + state-16 +lex MATCH(57397) +reduce 68 in: + state-63 +reduce 52 in: + state-76 lex LCURLY(57399) -reduce 54 in: - state-30 +lex CAPREF_NAMED(57366) reduce 66 in: state-39 +reduce 110 in: + state-75 reduce 60 in: state-122 +reduce 76 in: + state-34 reduce 47 in: state-44 -reduce 43 in: - state-41 -reduce 36 in: - state-140 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 2 in: - state-49 -lex NL(57406) +reduce 51 in: + state-142 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 22 in: - state-143 -reduce 20 in: - state-23 -reduce 18 in: - state-53 -reduce 5 in: - state-5 -reduce 3 in: - state-3 lex RCURLY(57400) reduce 19 in: state-131 @@ -27632,32 +28246,15 @@ state-4 reduce 3 in: state-3 -reduce 17 in: - state-16 reduce 5 in: state-5 -reduce 3 in: - state-3 -lex $end(0) -reduce 1 in: - state-2 -=== CONT TestParserRoundTrip/capref_used_in_def -reduce 2 in: - state-0 -lex NL(57406) reduce 17 in: state-16 -reduce 5 in: - state-5 reduce 3 in: state-3 -lex DIV(57374) -reduce 108 in: +lex $end(0) +reduce 1 in: state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) reduce 49 in: state-26 reduce 25 in: @@ -27669,78 +28266,60 @@ state-16 reduce 5 in: state-5 +lex CAPREF_NAMED(57366) reduce 3 in: state-3 +reduce 76 in: + state-34 +lex BUILTIN(57362) +lex MATCH(57397) +lex LPAREN(57401) +reduce 52 in: + state-76 +lex CAPREF_NAMED(57366) +lex DIV(57374) lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex INC(57372) -reduce 72 in: - state-31 -reduce 68 in: - state-27 -reduce 70 in: - state-90 -reduce 69 in: - state-89 -lex NL(57406) -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 21 in: - state-14 reduce 20 in: state-23 +=== CONT TestParserRoundTrip/match_expression_2 reduce 18 in: state-53 reduce 5 in: state-5 reduce 3 in: state-3 -lex CAPREF(57365) -reduce 75 in: - state-33 -lex INC(57372) -reduce 68 in: - state-27 -reduce 70 in: - state-90 -reduce 69 in: - state-89 +lex DIV(57374) +reduce 2 in: + state-0 +reduce 110 in: + state-75 +reduce 86 in: + state-157 +reduce 108 in: + state-115 +reduce 55 in: + state-42 +reduce 109 in: + state-59 +lex PLUS(57378) +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 55 in: + state-42 +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 50 in: + state-141 +reduce 25 in: + state-22 +reduce 2 in: + state-49 lex NL(57406) -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 +reduce 17 in: + state-16 reduce 5 in: state-5 reduce 3 in: @@ -27761,6 +28340,41 @@ state-5 reduce 3 in: state-3 +lex CAPREF_NAMED(57366) +reduce 76 in: + state-34 +lex NOT_MATCH(57398) +reduce 53 in: + state-77 +lex DIV(57374) +reduce 110 in: + state-75 +reduce 108 in: + state-115 +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 55 in: + state-42 +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 50 in: + state-141 +reduce 25 in: + state-22 +reduce 2 in: + state-49 +lex NL(57406) +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 lex RCURLY(57400) reduce 19 in: state-131 @@ -27780,16 +28394,8 @@ lex $end(0) reduce 1 in: state-2 -=== CONT TestParserRoundTrip/match_expression_1 reduce 2 in: state-0 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 lex CAPREF_NAMED(57366) reduce 76 in: state-34 @@ -27895,23 +28501,11 @@ lex $end(0) reduce 1 in: state-2 -reduce 81 in: - state-43 -lex ADD_ASSIGN(57394) -reduce 72 in: - state-31 -reduce 68 in: - state-27 -reduce 66 in: - state-39 -lex CAPREF_NAMED(57366) -reduce 110 in: - state-79 reduce 76 in: state-34 -lex NL(57406) reduce 68 in: - state-27 + state-63 +lex RPAREN(57402) reduce 66 in: state-39 reduce 60 in: @@ -27924,38 +28518,11 @@ state-29 reduce 30 in: state-25 -reduce 24 in: - state-21 -reduce 23 in: - state-144 -reduce 20 in: - state-23 -reduce 18 in: - state-53 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex CAPREF_NAMED(57366) -reduce 76 in: - state-34 -lex GE(57385) +reduce 84 in: + state-121 +reduce 74 in: + state-150 +lex GT(57383) reduce 68 in: state-27 reduce 66 in: @@ -27968,8 +28535,8 @@ state-41 reduce 35 in: state-29 -reduce 40 in: - state-72 +reduce 38 in: + state-70 lex INTLITERAL(57369) reduce 110 in: state-68 @@ -28001,50 +28568,6 @@ state-5 reduce 3 in: state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex ADD_ASSIGN(57394) -reduce 72 in: - state-31 -reduce 68 in: - state-27 -reduce 66 in: - state-39 -lex CAPREF_NAMED(57366) -reduce 110 in: - state-79 -reduce 76 in: - state-34 -lex NL(57406) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 23 in: - state-144 -reduce 20 in: - state-23 -reduce 18 in: - state-53 -reduce 5 in: - state-5 -reduce 3 in: - state-3 lex RCURLY(57400) reduce 19 in: state-131 @@ -28061,72 +28584,39 @@ state-5 reduce 3 in: state-3 -lex CAPREF_NAMED(57366) -reduce 76 in: - state-34 -lex LT(57382) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 37 in: - state-69 -lex INTLITERAL(57369) -reduce 110 in: - state-68 -reduce 79 in: - state-37 -reduce 68 in: - state-63 -lex LCURLY(57399) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 36 in: - state-140 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 2 in: - state-49 +lex RCURLY(57400) +reduce 19 in: + state-131 lex NL(57406) +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 3 in: + state-3 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex ID(57367) +lex $end(0) reduce 83 in: state-45 reduce 81 in: state-43 -lex ADD_ASSIGN(57394) +lex ASSIGN(57395) reduce 72 in: state-31 reduce 68 in: state-27 reduce 66 in: state-39 -lex CAPREF_NAMED(57366) +lex FLOATLITERAL(57370) reduce 110 in: - state-79 -reduce 76 in: - state-34 + state-78 +reduce 80 in: + state-38 lex NL(57406) reduce 68 in: state-27 @@ -28144,479 +28634,305 @@ state-25 reduce 24 in: state-21 -reduce 23 in: - state-144 +reduce 22 in: + state-143 reduce 20 in: state-23 -reduce 86 in: - state-157 -reduce 54 in: - state-30 -reduce 55 in: - state-42 -lex AND(57392) -reduce 49 in: - state-26 -reduce 54 in: - state-30 -reduce 25 in: - state-22 -reduce 49 in: - state-26 -reduce 2 in: - state-49 -reduce 25 in: - state-22 reduce 18 in: state-53 -lex NL(57406) reduce 5 in: state-5 -reduce 17 in: - state-16 reduce 3 in: state-3 -reduce 5 in: - state-5 lex RCURLY(57400) -reduce 3 in: - state-3 reduce 19 in: state-131 -lex DEL(57357) lex NL(57406) -lex ID(57367) reduce 15 in: state-47 -reduce 83 in: - state-45 reduce 4 in: state-4 -reduce 81 in: - state-43 reduce 3 in: state-3 -lex LSQUARE(57403) reduce 17 in: state-16 -lex CAPREF(57365) reduce 5 in: state-5 -reduce 75 in: - state-33 reduce 3 in: state-3 +lex $end(0) +reduce 1 in: + state-2 +reduce 3 in: + state-3 +lex LPAREN(57401) +lex INTLITERAL(57369) +reduce 79 in: + state-37 +lex RPAREN(57402) reduce 68 in: - state-63 -lex CAPREF_NAMED(57366) -lex RSQUARE(57404) -reduce 76 in: - state-34 + state-27 reduce 66 in: state-39 -lex LE(57384) reduce 60 in: - state-122 -reduce 68 in: - state-27 + state-28 reduce 47 in: state-44 -reduce 66 in: - state-39 reduce 43 in: state-41 -reduce 60 in: - state-28 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 21 in: + state-87 +reduce 20 in: + state-23 +reduce 78 in: + state-125 +lex OR(57393) +reduce 68 in: + state-27 reduce 66 in: state-39 -reduce 47 in: - state-44 reduce 60 in: state-28 -reduce 43 in: - state-41 reduce 47 in: state-44 -reduce 35 in: - state-29 reduce 43 in: state-41 -reduce 39 in: - state-71 reduce 35 in: state-29 -lex INTLITERAL(57369) -reduce 38 in: - state-70 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 29 in: + state-51 +lex LPAREN(57401) reduce 110 in: - state-68 + state-48 lex INTLITERAL(57369) reduce 79 in: state-37 -reduce 110 in: - state-68 +lex AND(57392) reduce 68 in: - state-63 + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-28 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 28 in: + state-50 +lex INTLITERAL(57369) +reduce 110 in: + state-48 reduce 79 in: state-37 -lex LCURLY(57399) +lex RPAREN(57402) reduce 68 in: - state-63 + state-27 reduce 66 in: state-39 -lex LCURLY(57399) reduce 60 in: state-122 -reduce 66 in: - state-39 reduce 47 in: state-44 -reduce 60 in: - state-122 reduce 43 in: state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 26 in: + state-129 +reduce 21 in: + state-87 +reduce 20 in: + state-23 +reduce 78 in: + state-125 +lex LCURLY(57399) +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-122 reduce 47 in: state-44 -reduce 36 in: - state-140 reduce 43 in: state-41 +reduce 35 in: + state-29 reduce 30 in: state-25 -reduce 36 in: - state-140 -reduce 24 in: - state-21 -reduce 30 in: - state-25 -reduce 2 in: - state-49 -reduce 24 in: - state-21 -lex NL(57406) +reduce 26 in: + state-129 reduce 2 in: state-49 -reduce 17 in: - state-16 lex NL(57406) -reduce 5 in: - state-5 reduce 17 in: state-16 -reduce 3 in: - state-3 reduce 5 in: state-5 reduce 3 in: state-3 -lex ID(57367) lex RCURLY(57400) -reduce 83 in: - state-45 reduce 19 in: state-131 -reduce 81 in: - state-43 -lex NL(57406) +lex $end(0) reduce 15 in: state-47 -lex ADD_ASSIGN(57394) reduce 4 in: state-4 -reduce 72 in: - state-31 reduce 3 in: state-3 +reduce 1 in: + state-2 +reduce 2 in: + state-0 +lex INTLITERAL(57369) +reduce 79 in: + state-37 +lex OR(57393) reduce 68 in: state-27 -reduce 17 in: - state-16 -reduce 66 in: - state-39 -reduce 5 in: - state-5 -lex CAPREF_NAMED(57366) -reduce 3 in: - state-3 -reduce 110 in: - state-79 -lex RCURLY(57400) -reduce 76 in: - state-34 -reduce 19 in: - state-131 -lex NL(57406) -lex NL(57406) -reduce 68 in: - state-27 -reduce 15 in: - state-47 reduce 66 in: state-39 -reduce 4 in: - state-4 reduce 60 in: - state-122 -reduce 3 in: - state-3 + state-28 reduce 47 in: state-44 -reduce 17 in: - state-16 reduce 43 in: state-41 -reduce 5 in: - state-5 reduce 35 in: state-29 -reduce 3 in: - state-3 reduce 30 in: state-25 -lex $end(0) -reduce 86 in: - state-157 +reduce 24 in: + state-21 +reduce 29 in: + state-51 +lex INTLITERAL(57369) +reduce 110 in: + state-48 reduce 1 in: state-2 -reduce 55 in: - state-42 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 -lex NEXT(57358) -reduce 10 in: - state-10 -reduce 3 in: - state-3 +reduce 79 in: + state-37 +lex AND(57392) +reduce 68 in: + state-27 +reduce 66 in: + state-39 lex RCURLY(57400) +reduce 60 in: + state-122 reduce 19 in: state-131 -lex RCURLY(57400) +lex NL(57406) reduce 15 in: state-47 reduce 4 in: state-4 reduce 3 in: state-3 -reduce 19 in: - state-131 -reduce 104 in: - state-137 -reduce 4 in: - state-4 -reduce 7 in: - state-7 -reduce 3 in: - state-3 -reduce 3 in: - state-3 -lex $end(0) -lex $end(0) -reduce 1 in: - state-2 -reduce 1 in: - state-2 -reduce 2 in: - state-0 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex PLUS(57378) -lex DIV(57374) -reduce 110 in: - state-83 -reduce 108 in: - state-119 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 56 in: - state-146 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 -lex NL(57406) reduce 17 in: state-16 reduce 5 in: state-5 -reduce 3 in: - state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 2 in: - state-0 -reduce 109 in: - state-59 -lex CAPREF_NAMED(57366) -lex REGEX(57363) -reduce 76 in: - state-34 -lex DIV(57374) -lex MATCH(57397) -reduce 86 in: - state-157 -reduce 52 in: - state-76 -reduce 55 in: - state-42 -lex DIV(57374) -lex LCURLY(57399) -reduce 110 in: - state-75 -reduce 54 in: - state-30 -reduce 108 in: - state-115 -reduce 49 in: - state-26 -reduce 109 in: - state-59 +reduce 47 in: + state-44 +lex CAPREF(57365) +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 47 in: + state-44 reduce 25 in: state-22 -lex REGEX(57363) -reduce 2 in: - state-49 -lex DIV(57374) -lex NL(57406) -reduce 17 in: - state-16 -reduce 86 in: - state-157 -reduce 5 in: - state-5 -reduce 55 in: - state-42 -reduce 3 in: - state-3 lex LCURLY(57399) -lex CAPREF_NAMED(57366) -reduce 54 in: - state-30 -reduce 76 in: - state-34 -reduce 50 in: - state-141 -lex MATCH(57397) -reduce 25 in: - state-22 -reduce 52 in: - state-76 -reduce 2 in: - state-49 -lex CAPREF_NAMED(57366) lex NL(57406) -reduce 110 in: - state-75 reduce 17 in: state-16 -reduce 76 in: - state-34 reduce 5 in: state-5 -reduce 51 in: - state-142 -reduce 3 in: - state-3 -reduce 25 in: - state-22 -lex RCURLY(57400) -lex LCURLY(57399) -reduce 19 in: - state-131 -reduce 2 in: - state-49 -lex NL(57406) -lex NL(57406) -reduce 15 in: - state-47 -reduce 17 in: - state-16 -reduce 4 in: - state-4 reduce 5 in: state-5 +lex $end(0) reduce 3 in: state-3 reduce 3 in: state-3 -reduce 17 in: - state-16 -lex RCURLY(57400) -reduce 5 in: - state-5 -reduce 19 in: - state-131 +lex $end(0) +lex $end(0) +reduce 1 in: + state-2 +reduce 1 in: + state-2 +reduce 75 in: + state-33 +reduce 43 in: + state-41 +=== CONT TestParserRoundTrip/additive +reduce 36 in: + state-140 +reduce 30 in: + state-25 reduce 3 in: state-3 -lex NL(57406) +reduce 1 in: + state-2 lex CAPREF_NAMED(57366) -reduce 15 in: - state-47 reduce 76 in: state-34 -reduce 4 in: - state-4 -lex NOT_MATCH(57398) +lex NL(57406) +lex MATCH(57397) +lex SHR(57381) +reduce 52 in: + state-76 +reduce 68 in: + state-27 +lex DIV(57374) +reduce 66 in: + state-39 +reduce 2 in: + state-0 +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 +lex ID(57367) +reduce 92 in: + state-107 +lex NL(57406) +reduce 87 in: + state-106 +reduce 6 in: + state-6 reduce 3 in: state-3 -reduce 24 in: - state-21 reduce 17 in: state-16 -reduce 23 in: - state-144 reduce 5 in: state-5 -reduce 20 in: - state-23 reduce 3 in: state-3 -reduce 18 in: - state-53 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex $end(0) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 -reduce 1 in: - state-2 -reduce 2 in: - state-0 lex DIV(57374) reduce 108 in: state-2 @@ -28638,428 +28954,146 @@ reduce 2 in: state-49 lex NL(57406) +reduce 2 in: + state-0 +reduce 2 in: + state-49 +reduce 60 in: + state-28 +lex COUNTER(57347) +lex NL(57406) reduce 17 in: state-16 reduce 5 in: state-5 +=== CONT TestParserRoundTrip/increment_operator reduce 3 in: state-3 -lex CAPREF_NAMED(57366) -reduce 76 in: - state-34 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex $end(0) -reduce 3 in: - state-3 -reduce 5 in: - state-5 -reduce 3 in: - state-3 +lex RCURLY(57400) +=== CONT TestParserRoundTrip/simple_pattern_action reduce 17 in: state-16 -reduce 2 in: - state-0 reduce 5 in: state-5 reduce 3 in: state-3 +reduce 2 in: + state-0 lex DIV(57374) -reduce 108 in: +reduce 88 in: state-2 -lex $end(0) -reduce 1 in: +reduce 108 in: state-2 +reduce 94 in: + state-55 reduce 109 in: state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex RCURLY(57400) -lex LCURLY(57399) -reduce 19 in: - state-131 -lex NL(57406) -reduce 54 in: - state-30 -reduce 15 in: - state-47 -reduce 49 in: - state-26 -=== CONT TestParserRoundTrip/concat_expr_2 -reduce 25 in: - state-22 -reduce 2 in: - state-49 -reduce 2 in: - state-0 -lex NL(57406) +lex ID(57367) +reduce 92 in: + state-107 +lex BY(57353) +lex ID(57367) +reduce 99 in: + state-154 lex NL(57406) +reduce 98 in: + state-153 +reduce 90 in: + state-132 +reduce 87 in: + state-106 +reduce 6 in: + state-6 +reduce 3 in: + state-3 reduce 17 in: state-16 -reduce 17 in: - state-16 -reduce 5 in: - state-5 reduce 5 in: state-5 reduce 3 in: state-3 -reduce 3 in: - state-3 -lex CONST(57354) -lex CAPREF(57365) -lex ID(57367) -reduce 75 in: - state-33 -reduce 83 in: - state-45 -reduce 108 in: - state-46 -reduce 53 in: - state-77 lex DIV(57374) -lex DIV(57374) -reduce 109 in: - state-59 reduce 110 in: state-75 -lex REGEX(57363) reduce 108 in: - state-115 + state-2 reduce 109 in: state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 50 in: - state-141 -reduce 25 in: - state-22 -reduce 2 in: - state-49 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 reduce 108 in: - state-2 -reduce 3 in: - state-3 -lex RCURLY(57400) + state-115 +lex REGEX(57363) reduce 109 in: state-59 -reduce 19 in: - state-131 -lex REGEX(57363) -lex NL(57406) lex DIV(57374) -reduce 15 in: - state-47 reduce 86 in: state-157 -reduce 55 in: - state-42 -reduce 4 in: - state-4 -lex LCURLY(57399) -reduce 3 in: - state-3 -reduce 54 in: - state-30 -reduce 17 in: - state-16 -reduce 49 in: - state-26 -reduce 5 in: - state-5 -reduce 25 in: - state-22 -reduce 3 in: - state-3 -reduce 2 in: - state-49 -lex $end(0) -reduce 3 in: - state-3 -lex CONST(57354) -lex ID(57367) -reduce 83 in: - state-45 -reduce 108 in: - state-46 -lex DIV(57374) -reduce 109 in: - state-59 lex REGEX(57363) +reduce 19 in: + state-131 lex DIV(57374) +lex REGEX(57363) reduce 86 in: state-157 +lex DIV(57374) reduce 55 in: state-42 -reduce 2 in: - state-0 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) reduce 86 in: state-157 +lex PLUS(57378) reduce 55 in: state-42 +lex ID(57367) lex LCURLY(57399) +reduce 110 in: + state-83 reduce 54 in: state-30 +reduce 83 in: + state-45 reduce 49 in: state-26 +reduce 57 in: + state-147 reduce 25 in: state-22 +lex LCURLY(57399) reduce 2 in: state-49 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex DIV(57374) -reduce 108 in: - state-105 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 2 in: - state-0 -reduce 86 in: - state-157 -lex DIV(57374) -reduce 55 in: - state-42 -reduce 108 in: - state-2 -lex LCURLY(57399) -lex NL(57406) reduce 54 in: state-30 -reduce 17 in: - state-16 -reduce 49 in: - state-26 -reduce 5 in: - state-5 -reduce 25 in: - state-22 -reduce 2 in: - state-49 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 lex RCURLY(57400) reduce 19 in: state-131 +reduce 50 in: + state-141 lex NL(57406) -reduce 35 in: - state-29 +reduce 25 in: + state-22 reduce 15 in: state-47 -reduce 4 in: - state-4 -reduce 30 in: - state-25 -reduce 3 in: - state-3 -reduce 84 in: - state-121 -reduce 17 in: - state-16 -reduce 82 in: - state-148 -reduce 5 in: - state-5 -reduce 1 in: - state-2 -reduce 2 in: - state-0 -lex OTHERWISE(57359) -lex LCURLY(57399) reduce 2 in: state-49 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -reduce 16 in: - state-52 reduce 4 in: state-4 -reduce 3 in: - state-3 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex $end(0) -reduce 1 in: - state-2 lex NL(57406) -reduce 72 in: - state-31 -reduce 68 in: - state-63 -reduce 107 in: - state-62 -reduce 9 in: - state-9 reduce 3 in: state-3 reduce 17 in: state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex NL(57406) -lex NL(57406) reduce 17 in: state-16 reduce 5 in: state-5 -reduce 3 in: - state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 11 in: - state-101 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 3 in: - state-3 reduce 5 in: state-5 reduce 3 in: state-3 -reduce 17 in: - state-16 -lex $end(0) -reduce 5 in: - state-5 -reduce 1 in: - state-2 reduce 3 in: state-3 -lex CAPREF_NAMED(57366) -reduce 76 in: - state-34 -lex MATCH(57397) -reduce 3 in: - state-3 -reduce 52 in: - state-76 lex RCURLY(57400) -lex ID(57367) -reduce 19 in: - state-131 -reduce 110 in: - state-75 -lex NL(57406) -reduce 83 in: - state-45 -reduce 15 in: - state-47 -reduce 81 in: - state-43 -reduce 4 in: - state-4 -lex LCURLY(57399) -reduce 3 in: - state-3 -reduce 72 in: - state-31 -reduce 17 in: - state-16 -reduce 51 in: - state-142 -reduce 5 in: - state-5 -reduce 25 in: - state-22 -reduce 3 in: - state-3 -reduce 2 in: - state-49 -lex RCURLY(57400) -lex NL(57406) -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -lex STOP(57361) -reduce 3 in: - state-3 -reduce 12 in: - state-12 -lex RCURLY(57400) -reduce 3 in: - state-3 -reduce 19 in: - state-131 -lex NL(57406) lex $end(0) -reduce 17 in: - state-16 -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -reduce 3 in: - state-3 reduce 1 in: state-2 -lex RCURLY(57400) reduce 19 in: state-131 lex $end(0) @@ -29069,121 +29103,11 @@ state-4 reduce 3 in: state-3 +reduce 24 in: + state-21 reduce 1 in: state-2 reduce 2 in: - state-0 -lex ID(57367) -reduce 2 in: - state-0 -lex BITAND(57388) -reduce 68 in: - state-27 -lex DIV(57374) -reduce 66 in: - state-39 -reduce 108 in: - state-2 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 109 in: - state-59 -=== CONT TestParserRoundTrip/match_expression_2 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 2 in: - state-0 -reduce 55 in: - state-42 -lex NL(57406) -lex LCURLY(57399) -reduce 17 in: - state-16 -reduce 54 in: - state-30 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -reduce 49 in: - state-26 -lex CAPREF_NAMED(57366) -reduce 25 in: - state-22 -reduce 76 in: - state-34 -reduce 2 in: - state-49 -reduce 83 in: - state-45 -lex NL(57406) -=== CONT TestParserRoundTrip/concat_expr_1 -reduce 2 in: - state-0 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex CONST(57354) -lex ID(57367) -reduce 83 in: - state-45 -reduce 108 in: - state-46 -lex DIV(57374) -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex NL(57406) -reduce 11 in: - state-101 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex PLUS(57378) -lex ID(57367) -reduce 110 in: - state-83 -reduce 83 in: - state-45 -reduce 57 in: - state-147 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: state-49 lex NL(57406) reduce 17 in: @@ -29192,223 +29116,84 @@ state-5 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex $end(0) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 -reduce 1 in: - state-2 -reduce 2 in: - state-0 lex ID(57367) reduce 83 in: state-45 reduce 81 in: state-43 -lex NL(57406) +lex ADD_ASSIGN(57394) reduce 72 in: state-31 reduce 68 in: state-27 reduce 66 in: state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 -reduce 5 in: - state-5 -reduce 3 in: - state-3 +reduce 2 in: + state-0 +lex CAPREF_NAMED(57366) +reduce 55 in: + state-42 +reduce 110 in: + state-79 +reduce 76 in: + state-34 lex DIV(57374) reduce 108 in: state-2 reduce 109 in: state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 reduce 55 in: state-42 -lex PLUS(57378) -lex ID(57367) +lex BUILTIN(57362) +lex LPAREN(57401) +reduce 2 in: + state-0 +reduce 38 in: + state-70 +lex CAPREF_NAMED(57366) +lex INTLITERAL(57369) +reduce 76 in: + state-34 reduce 110 in: - state-83 -reduce 83 in: - state-45 -reduce 57 in: - state-147 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 19 in: - state-131 + state-68 lex MATCH(57397) -lex NL(57406) +reduce 79 in: + state-37 reduce 52 in: state-76 -reduce 15 in: - state-47 -lex CAPREF_NAMED(57366) -reduce 4 in: - state-4 +reduce 68 in: + state-63 +lex DIV(57374) +lex LCURLY(57399) reduce 110 in: state-75 -reduce 3 in: - state-3 -reduce 76 in: - state-34 -reduce 51 in: - state-142 -reduce 25 in: - state-22 -lex LCURLY(57399) -reduce 2 in: - state-49 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex NL(57406) reduce 2 in: state-0 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex $end(0) -reduce 3 in: - state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex ELSE(57360) -lex LCURLY(57399) -reduce 2 in: - state-49 -lex DIV(57374) reduce 108 in: - state-105 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex ELSE(57360) -lex LCURLY(57399) -reduce 2 in: - state-49 -lex RCURLY(57400) -reduce 19 in: - state-131 -reduce 14 in: - state-128 -reduce 4 in: - state-4 -reduce 3 in: - state-3 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -reduce 14 in: - state-128 -reduce 4 in: - state-4 -reduce 3 in: - state-3 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex $end(0) -reduce 1 in: - state-2 -=== CONT TestParserRoundTrip/paren_expr -reduce 2 in: - state-0 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex LPAREN(57401) + state-115 +lex COUNTER(57347) +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 46 in: + state-82 lex INTLITERAL(57369) +reduce 110 in: + state-80 reduce 79 in: state-37 -lex RPAREN(57402) reduce 68 in: - state-27 + state-63 +lex NL(57406) reduce 66 in: state-39 reduce 60 in: - state-28 + state-122 reduce 47 in: state-44 -reduce 43 in: - state-41 +reduce 44 in: + state-145 reduce 35 in: state-29 reduce 30 in: @@ -29416,129 +29201,25 @@ reduce 24 in: state-21 reduce 21 in: - state-87 + state-14 reduce 20 in: state-23 -reduce 78 in: - state-125 -lex OR(57393) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 29 in: - state-51 -lex LPAREN(57401) -reduce 110 in: - state-48 -lex INTLITERAL(57369) -reduce 79 in: - state-37 -reduce 1 in: - state-2 -reduce 28 in: - state-50 -lex CAPREF_NAMED(57366) -reduce 110 in: - state-48 -=== CONT TestParserRoundTrip/indexed_expression_arg_list -reduce 2 in: - state-0 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 -lex BY(57353) -lex ID(57367) -reduce 99 in: - state-154 -lex COMMA(57405) -lex ID(57367) -reduce 101 in: - state-160 -lex NL(57406) -reduce 98 in: - state-153 -reduce 90 in: - state-132 -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 -lex NL(57406) -reduce 17 in: - state-16 +reduce 18 in: + state-53 reduce 5 in: state-5 reduce 3 in: state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex LSQUARE(57403) lex CAPREF(57365) reduce 75 in: state-33 +lex XOR(57389) reduce 68 in: - state-63 -lex COMMA(57405) + state-27 reduce 66 in: state-39 reduce 60 in: - state-122 + state-28 reduce 47 in: state-44 reduce 43 in: @@ -29547,14 +29228,16 @@ state-29 reduce 30 in: state-25 -reduce 84 in: - state-121 -lex CAPREF(57365) -reduce 75 in: - state-33 +reduce 34 in: + state-67 +lex INTLITERAL(57369) +reduce 110 in: + state-64 +reduce 79 in: + state-37 reduce 68 in: state-63 -lex RSQUARE(57404) +lex NL(57406) reduce 66 in: state-39 reduce 60 in: @@ -29565,24 +29248,31 @@ state-41 reduce 35 in: state-29 -reduce 30 in: - state-25 -reduce 85 in: - state-158 -reduce 82 in: - state-148 -lex INC(57372) -reduce 72 in: - state-31 +reduce 31 in: + state-139 +reduce 24 in: + state-21 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex NOT(57391) +lex INTLITERAL(57369) +reduce 79 in: + state-37 reduce 68 in: - state-27 -reduce 70 in: - state-90 -reduce 69 in: - state-89 + state-63 lex NL(57406) reduce 66 in: state-39 +reduce 67 in: + state-92 reduce 60 in: state-28 reduce 47 in: @@ -29617,74 +29307,11 @@ state-3 reduce 1 in: state-2 -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex NL(57406) -reduce 11 in: - state-101 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 81 in: - state-43 -lex NL(57406) -reduce 72 in: - state-31 -reduce 68 in: - state-27 reduce 2 in: state-0 -reduce 66 in: - state-39 -reduce 60 in: - state-28 -lex COUNTER(57347) -reduce 47 in: - state-44 -reduce 88 in: - state-2 -reduce 94 in: - state-55 -reduce 43 in: - state-41 -lex ID(57367) -reduce 35 in: - state-29 -reduce 92 in: - state-107 -reduce 30 in: - state-25 -lex BY(57353) -reduce 24 in: - state-21 -lex ID(57367) -reduce 21 in: - state-14 -reduce 99 in: - state-154 -reduce 20 in: - state-23 -lex COMMA(57405) -reduce 18 in: - state-53 -reduce 17 in: - state-16 -lex AND(57392) -reduce 5 in: - state-5 -lex DEF(57356) -lex MATCH(57397) -reduce 52 in: - state-76 lex DIV(57374) -reduce 110 in: - state-75 reduce 108 in: - state-115 + state-2 reduce 109 in: state-59 lex REGEX(57363) @@ -29693,23 +29320,13 @@ state-157 reduce 55 in: state-42 -lex PLUS(57378) -lex ID(57367) -reduce 110 in: - state-83 -reduce 83 in: - state-45 -reduce 57 in: - state-147 lex LCURLY(57399) reduce 54 in: state-30 -reduce 50 in: - state-141 +reduce 49 in: + state-26 reduce 25 in: state-22 -reduce 1 in: - state-2 reduce 2 in: state-49 lex NL(57406) @@ -29717,12 +29334,22 @@ state-16 reduce 5 in: state-5 -reduce 3 in: - state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex $end(0) +reduce 111 in: + state-104 +lex DIV(57374) +reduce 108 in: + state-119 +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 56 in: + state-146 +lex LCURLY(57399) +reduce 54 in: + state-30 reduce 49 in: state-26 reduce 25 in: @@ -29739,6 +29366,9 @@ lex RCURLY(57400) reduce 19 in: state-131 +lex RPAREN(57402) +reduce 73 in: + state-123 lex NL(57406) reduce 15 in: state-47 @@ -29755,261 +29385,72 @@ lex $end(0) reduce 1 in: state-2 -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 +reduce 88 in: + state-2 +reduce 94 in: + state-55 +lex REGEX(57363) +lex ID(57367) +lex DIV(57374) reduce 92 in: state-107 -reduce 30 in: - state-25 -reduce 24 in: - state-21 +reduce 86 in: + state-157 lex NL(57406) -reduce 28 in: - state-50 +reduce 55 in: + state-42 reduce 87 in: state-106 +lex LCURLY(57399) reduce 6 in: state-6 -lex INTLITERAL(57369) reduce 3 in: state-3 -reduce 110 in: - state-48 reduce 17 in: state-16 +lex DIV(57374) reduce 5 in: state-5 reduce 3 in: state-3 +reduce 109 in: + state-59 lex DIV(57374) reduce 108 in: state-2 +lex REGEX(57363) reduce 109 in: state-59 -lex REGEX(57363) lex DIV(57374) +lex REGEX(57363) reduce 86 in: state-157 reduce 55 in: state-42 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 -reduce 2 in: - state-0 lex NL(57406) -lex COUNTER(57347) -reduce 17 in: - state-16 -reduce 88 in: - state-2 -reduce 5 in: - state-5 -reduce 94 in: - state-55 -reduce 3 in: - state-3 -lex ID(57367) -lex ID(57367) -reduce 92 in: - state-107 -reduce 83 in: - state-45 -lex NL(57406) -reduce 15 in: - state-47 -=== CONT TestParserRoundTrip/regex_cond_expr -reduce 4 in: - state-4 +lex LCURLY(57399) +reduce 11 in: + state-101 reduce 3 in: state-3 -reduce 2 in: - state-0 -reduce 1 in: - state-2 -lex NL(57406) reduce 17 in: state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 108 in: - state-2 -lex ID(57367) -lex LCURLY(57399) -reduce 2 in: - state-49 lex NL(57406) -reduce 17 in: - state-16 reduce 5 in: state-5 +reduce 15 in: + state-47 reduce 3 in: state-3 -lex DIV(57374) -reduce 108 in: - state-105 reduce 109 in: state-59 -lex REGEX(57363) lex DIV(57374) -reduce 86 in: - state-157 -reduce 5 in: - state-5 -reduce 109 in: - state-59 -reduce 3 in: - state-3 -reduce 2 in: - state-0 -lex CAPREF_NAMED(57366) -lex ID(57367) -reduce 76 in: - state-34 -reduce 83 in: - state-45 -lex MATCH(57397) -reduce 81 in: - state-43 -reduce 52 in: - state-76 -lex DIV(57374) -lex LCURLY(57399) -reduce 110 in: - state-75 +lex REGEX(57363) reduce 108 in: - state-115 + state-2 +lex DIV(57374) reduce 109 in: state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex LCURLY(57399) -reduce 79 in: - state-37 -lex RPAREN(57402) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 26 in: - state-129 -reduce 21 in: - state-87 -reduce 20 in: - state-23 -reduce 78 in: - state-125 -lex LCURLY(57399) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 26 in: - state-129 -reduce 2 in: - state-49 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex $end(0) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 -reduce 1 in: - state-2 -reduce 2 in: - state-0 -lex INTLITERAL(57369) -reduce 79 in: - state-37 -lex OR(57393) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 29 in: - state-51 -lex INTLITERAL(57369) -reduce 110 in: - state-48 -reduce 79 in: - state-37 -lex AND(57392) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 reduce 43 in: state-41 reduce 35 in: @@ -30020,43 +29461,64 @@ state-129 reduce 28 in: state-50 +reduce 2 in: + state-0 lex INTLITERAL(57369) reduce 110 in: state-48 +lex DIV(57374) reduce 79 in: state-37 +reduce 108 in: + state-2 lex LCURLY(57399) +reduce 109 in: + state-59 reduce 68 in: state-27 reduce 66 in: state-39 +lex REGEX(57363) reduce 60 in: state-122 +lex DIV(57374) reduce 47 in: state-44 +reduce 86 in: + state-157 reduce 43 in: state-41 reduce 35 in: state-29 +reduce 55 in: + state-42 reduce 30 in: state-25 +lex PLUS(57378) reduce 26 in: state-129 +lex DIV(57374) reduce 2 in: state-49 +reduce 110 in: + state-83 lex NL(57406) +lex REGEX(57363) +reduce 108 in: + state-119 +lex DIV(57374) reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 lex NL(57406) -reduce 15 in: - state-47 +lex MINUS(57377) +reduce 68 in: + state-27 +reduce 66 in: + state-39 reduce 4 in: state-4 reduce 3 in: @@ -30067,21 +29529,20 @@ state-5 reduce 3 in: state-3 +lex RCURLY(57400) +reduce 19 in: + state-131 lex $end(0) -reduce 1 in: - state-2 -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 +reduce 15 in: + state-47 +reduce 4 in: + state-4 reduce 3 in: state-3 +reduce 1 in: + state-2 +reduce 2 in: + state-0 lex DIV(57374) reduce 108 in: state-2 @@ -30109,127 +29570,66 @@ state-5 reduce 3 in: state-3 -lex CAPREF(57365) -reduce 75 in: - state-33 -lex INC(57372) -reduce 68 in: - state-27 -reduce 70 in: - state-90 -reduce 69 in: - state-89 -lex NL(57406) -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 -reduce 5 in: - state-5 +lex CAPREF_NAMED(57366) reduce 76 in: state-34 -=== CONT TestParserRoundTrip/delete_after -lex GT(57383) -reduce 68 in: - state-27 +lex MATCH(57397) +reduce 52 in: + state-76 +lex CAPREF_NAMED(57366) +reduce 110 in: + state-75 +reduce 76 in: + state-34 +reduce 51 in: + state-142 +reduce 25 in: + state-22 +lex LCURLY(57399) reduce 2 in: - state-0 -reduce 81 in: - state-43 -lex COUNTER(57347) -lex INC(57372) -reduce 88 in: - state-2 -reduce 72 in: - state-31 -reduce 94 in: - state-55 -lex REGEX(57363) -lex ID(57367) -lex DIV(57374) -reduce 92 in: - state-107 -reduce 86 in: - state-157 -lex BY(57353) -reduce 55 in: - state-42 -lex ID(57367) -lex AND(57392) -reduce 99 in: - state-154 -reduce 72 in: - state-31 + state-49 lex NL(57406) -reduce 68 in: - state-27 -reduce 98 in: - state-153 -reduce 66 in: - state-39 -reduce 90 in: - state-132 -reduce 60 in: - state-28 -reduce 87 in: - state-106 -reduce 47 in: - state-44 -reduce 6 in: - state-6 -reduce 43 in: - state-41 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex RCURLY(57400) +reduce 19 in: + state-131 +lex NL(57406) +reduce 15 in: + state-47 +reduce 4 in: + state-4 reduce 3 in: state-3 -reduce 35 in: - state-29 reduce 17 in: state-16 -reduce 30 in: - state-25 reduce 5 in: state-5 -reduce 24 in: - state-21 reduce 3 in: state-3 -reduce 2 in: - state-49 -lex DIV(57374) +lex RCURLY(57400) +reduce 19 in: + state-131 lex NL(57406) -reduce 108 in: - state-2 +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 3 in: + state-3 reduce 17 in: state-16 reduce 5 in: state-5 -reduce 109 in: - state-59 reduce 3 in: state-3 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex LCURLY(57399) +lex $end(0) +reduce 1 in: + state-2 reduce 54 in: state-30 reduce 49 in: @@ -30245,16 +29645,15 @@ state-5 reduce 3 in: state-3 -lex DEL(57357) lex ID(57367) reduce 83 in: state-45 reduce 81 in: state-43 lex LSQUARE(57403) -lex CAPREF(57365) -reduce 75 in: - state-33 +lex STRING(57364) +reduce 77 in: + state-35 reduce 68 in: state-63 lex RSQUARE(57404) @@ -30274,21 +29673,36 @@ state-121 reduce 82 in: state-148 -lex AFTER(57351) +lex INC(57372) reduce 72 in: state-31 reduce 68 in: - state-63 -lex DURATIONLITERAL(57371) -reduce 106 in: - state-138 -reduce 9 in: - state-9 -reduce 3 in: - state-3 + state-27 +reduce 70 in: + state-90 +reduce 69 in: + state-89 lex NL(57406) -reduce 17 in: - state-16 +reduce 66 in: + state-39 +reduce 60 in: + state-28 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 reduce 5 in: state-5 reduce 3 in: @@ -30296,64 +29710,21 @@ lex RCURLY(57400) reduce 19 in: state-131 -lex $end(0) +lex NL(57406) reduce 15 in: state-47 reduce 4 in: state-4 reduce 3 in: state-3 -reduce 1 in: - state-2 -reduce 2 in: - state-0 -lex COUNTER(57347) -reduce 88 in: - state-2 -reduce 94 in: - state-55 -lex ID(57367) -reduce 92 in: - state-107 -lex BY(57353) -lex ID(57367) -reduce 99 in: - state-154 -lex NL(57406) -reduce 98 in: - state-153 -reduce 90 in: - state-132 -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 +lex OTHERWISE(57359) lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 reduce 2 in: state-49 lex NL(57406) @@ -30363,16 +29734,15 @@ state-5 reduce 3 in: state-3 -lex DEL(57357) lex ID(57367) reduce 83 in: state-45 reduce 81 in: state-43 lex LSQUARE(57403) -lex CAPREF(57365) -reduce 75 in: - state-33 +lex STRING(57364) +reduce 77 in: + state-35 reduce 68 in: state-63 lex RSQUARE(57404) @@ -30392,28 +29762,41 @@ state-121 reduce 82 in: state-148 -lex AFTER(57351) +lex ADD_ASSIGN(57394) reduce 72 in: state-31 reduce 68 in: - state-63 -lex DURATIONLITERAL(57371) -reduce 106 in: - state-138 -reduce 9 in: - state-9 -reduce 3 in: - state-3 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 + state-27 +reduce 66 in: + state-39 +lex INTLITERAL(57369) +reduce 110 in: + state-79 +reduce 79 in: + state-37 lex NL(57406) -reduce 17 in: - state-16 +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 23 in: + state-144 +reduce 20 in: + state-23 +reduce 18 in: + state-53 reduce 5 in: state-5 reduce 3 in: @@ -30421,13 +29804,13 @@ lex RCURLY(57400) reduce 19 in: state-131 -lex NL(57406) -reduce 15 in: - state-47 +reduce 16 in: + state-52 reduce 4 in: state-4 reduce 3 in: state-3 +lex NL(57406) reduce 17 in: state-16 reduce 5 in: @@ -30437,9 +29820,41 @@ lex $end(0) reduce 1 in: state-2 -=== CONT TestParserRoundTrip/getfilename +reduce 86 in: + state-157 +reduce 55 in: + state-42 +lex PLUS(57378) +lex ID(57367) +reduce 110 in: + state-83 +reduce 83 in: + state-45 +reduce 57 in: + state-147 +lex PLUS(57378) +lex DIV(57374) +reduce 110 in: + state-83 +reduce 108 in: + state-119 +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 56 in: + state-146 +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 25 in: + state-22 reduce 2 in: - state-0 + state-49 lex NL(57406) reduce 17 in: state-16 @@ -30447,20 +29862,40 @@ state-5 reduce 3 in: state-3 -lex BUILTIN(57362) -lex LPAREN(57401) -lex RPAREN(57402) -reduce 73 in: - state-123 -lex NL(57406) -reduce 68 in: - state-27 +lex RCURLY(57400) reduce 66 in: state-39 reduce 60 in: + state-122 +reduce 60 in: state-28 +reduce 19 in: + state-131 +lex NL(57406) +reduce 15 in: + state-47 reduce 47 in: state-44 +reduce 59 in: + state-95 +lex ID(57367) +reduce 110 in: + state-93 +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex NL(57406) +reduce 72 in: + state-31 +reduce 68 in: + state-63 +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 48 in: + state-151 reduce 43 in: state-41 reduce 35 in: @@ -30479,31 +29914,26 @@ state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 lex RCURLY(57400) reduce 19 in: state-131 -lex $end(0) +lex NL(57406) reduce 15 in: state-47 reduce 4 in: state-4 +lex INC(57372) +lex DIV(57374) +reduce 68 in: + state-27 +reduce 70 in: + state-90 reduce 3 in: state-3 -reduce 1 in: - state-2 -reduce 2 in: - state-0 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex NL(57406) -reduce 72 in: - state-31 +lex CAPREF(57365) +reduce 75 in: + state-33 +lex BITAND(57388) reduce 68 in: state-27 reduce 66 in: @@ -30518,6 +29948,28 @@ state-29 reduce 30 in: state-25 +reduce 32 in: + state-65 +lex INTLITERAL(57369) +reduce 110 in: + state-64 +reduce 79 in: + state-37 +reduce 68 in: + state-63 +lex NL(57406) +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 31 in: + state-139 reduce 24 in: state-21 reduce 21 in: @@ -30530,14 +29982,10 @@ state-5 reduce 3 in: state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex LCURLY(57399) -reduce 72 in: - state-31 +lex CAPREF(57365) +reduce 75 in: + state-33 +lex BITOR(57390) reduce 68 in: state-27 reduce 66 in: @@ -30552,44 +30000,44 @@ state-29 reduce 30 in: state-25 +reduce 33 in: + state-66 +lex INTLITERAL(57369) +reduce 110 in: + state-64 +reduce 79 in: + state-37 +reduce 68 in: + state-63 +lex NL(57406) +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 31 in: + state-139 reduce 24 in: state-21 -reduce 2 in: - state-49 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 -reduce 17 in: - state-16 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 reduce 5 in: state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 -reduce 2 in: - state-0 -lex BUILTIN(57362) -lex LPAREN(57401) -lex RPAREN(57402) -reduce 73 in: - state-123 -lex NL(57406) +lex CAPREF(57365) +reduce 75 in: + state-33 +lex SHL(57380) reduce 68 in: state-27 reduce 66 in: @@ -30600,6 +30048,24 @@ state-44 reduce 43 in: state-41 +reduce 45 in: + state-81 +lex INTLITERAL(57369) +reduce 110 in: + state-80 +reduce 79 in: + state-37 +reduce 68 in: + state-63 +lex NL(57406) +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 44 in: + state-145 reduce 35 in: state-29 reduce 30 in: @@ -30616,72 +30082,64 @@ state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 -lex ID(57367) -reduce 101 in: - state-160 -lex NL(57406) -reduce 98 in: - state-153 -reduce 90 in: - state-132 -reduce 87 in: - state-106 -reduce 6 in: - state-6 -reduce 3 in: - state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 +lex CAPREF(57365) +reduce 75 in: + state-33 +lex SHR(57381) +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-28 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 46 in: + state-82 +lex INTLITERAL(57369) +reduce 110 in: + state-80 +reduce 79 in: + state-37 +reduce 68 in: + state-63 lex NL(57406) -reduce 17 in: - state-16 +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 44 in: + state-145 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 reduce 5 in: state-5 reduce 3 in: state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex LSQUARE(57403) lex CAPREF(57365) reduce 75 in: state-33 +lex XOR(57389) reduce 68 in: - state-63 -lex COMMA(57405) + state-27 reduce 66 in: state-39 reduce 60 in: - state-122 + state-28 reduce 47 in: state-44 reduce 43 in: @@ -30690,14 +30148,16 @@ state-29 reduce 30 in: state-25 -reduce 84 in: - state-121 -lex CAPREF(57365) -reduce 75 in: - state-33 +reduce 34 in: + state-67 +lex INTLITERAL(57369) +reduce 110 in: + state-64 +reduce 79 in: + state-37 reduce 68 in: state-63 -lex RSQUARE(57404) +lex NL(57406) reduce 66 in: state-39 reduce 60 in: @@ -30708,24 +30168,31 @@ state-41 reduce 35 in: state-29 -reduce 30 in: - state-25 -reduce 85 in: - state-158 -reduce 82 in: - state-148 -lex INC(57372) -reduce 72 in: - state-31 +reduce 31 in: + state-139 +reduce 24 in: + state-21 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex NOT(57391) +lex INTLITERAL(57369) +reduce 79 in: + state-37 reduce 68 in: - state-27 -reduce 70 in: - state-90 -reduce 69 in: - state-89 + state-63 lex NL(57406) reduce 66 in: state-39 +reduce 67 in: + state-92 reduce 60 in: state-28 reduce 47 in: @@ -30767,19 +30234,25 @@ lex $end(0) reduce 1 in: state-2 +lex RCURLY(57400) +reduce 19 in: + state-131 +lex NL(57406) +reduce 15 in: + state-47 +reduce 4 in: + state-4 reduce 3 in: state-3 -lex DIV(57374) -reduce 108 in: - state-105 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex $end(0) +reduce 1 in: + state-2 lex LCURLY(57399) reduce 54 in: state-30 @@ -30799,39 +30272,34 @@ lex CAPREF(57365) reduce 75 in: state-33 -lex ADD_ASSIGN(57394) +lex INC(57372) reduce 68 in: state-27 -reduce 66 in: - state-39 -lex CAPREF(57365) -reduce 110 in: - state-79 -reduce 75 in: - state-33 +reduce 70 in: + state-90 +reduce 69 in: + state-89 lex NL(57406) -reduce 68 in: - state-27 reduce 66 in: state-39 reduce 60 in: - state-122 + state-28 reduce 47 in: state-44 reduce 43 in: state-41 reduce 35 in: state-29 -reduce 3 in: - state-3 -lex STOP(57361) -reduce 12 in: - state-12 -reduce 3 in: - state-3 -lex NL(57406) -reduce 17 in: - state-16 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 reduce 5 in: state-5 reduce 3 in: @@ -30846,65 +30314,33 @@ state-4 reduce 3 in: state-3 -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex $end(0) -reduce 1 in: - state-2 +reduce 109 in: + state-59 +lex REGEX(57363) +reduce 47 in: + state-44 +lex DIV(57374) reduce 4 in: state-4 reduce 3 in: state-3 +reduce 86 in: + state-157 reduce 17 in: state-16 +reduce 55 in: + state-42 reduce 5 in: state-5 -reduce 3 in: - state-3 -lex CAPREF_NAMED(57366) -reduce 76 in: - state-34 -lex EQ(57386) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 41 in: - state-73 -lex INTLITERAL(57369) -reduce 110 in: - state-68 -reduce 79 in: - state-37 -reduce 68 in: - state-63 lex LCURLY(57399) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 reduce 43 in: state-41 reduce 36 in: state-140 reduce 30 in: state-25 -reduce 24 in: - state-21 +reduce 26 in: + state-129 reduce 2 in: state-49 lex NL(57406) @@ -30914,55 +30350,49 @@ state-5 reduce 3 in: state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex ADD_ASSIGN(57394) -reduce 72 in: - state-31 -reduce 68 in: - state-27 -reduce 66 in: - state-39 -lex CAPREF_NAMED(57366) -reduce 110 in: - state-79 -reduce 76 in: - state-34 -lex NL(57406) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) +lex RCURLY(57400) +reduce 19 in: + state-131 reduce 86 in: state-157 +lex $end(0) +reduce 15 in: + state-47 reduce 55 in: state-42 +reduce 54 in: + state-30 +reduce 17 in: + state-16 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +reduce 2 in: + state-49 +lex NL(57406) +reduce 69 in: + state-89 lex PLUS(57378) +lex NL(57406) lex ID(57367) reduce 110 in: state-83 -reduce 83 in: - state-45 -reduce 57 in: - state-147 +reduce 86 in: + state-157 +reduce 56 in: + state-146 lex LCURLY(57399) reduce 54 in: state-30 -reduce 50 in: - state-141 +reduce 49 in: + state-26 reduce 25 in: state-22 reduce 2 in: @@ -30993,43 +30423,143 @@ lex $end(0) reduce 1 in: state-2 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +reduce 1 in: + state-2 reduce 5 in: state-5 reduce 3 in: state-3 -lex CAPREF_NAMED(57366) -reduce 76 in: - state-34 -lex MATCH(57397) -reduce 52 in: - state-76 -lex ID(57367) -reduce 110 in: - state-75 +reduce 68 in: + state-27 +reduce 3 in: + state-3 +lex $end(0) +reduce 1 in: + state-2 +reduce 66 in: + state-39 reduce 83 in: state-45 -reduce 81 in: - state-43 +reduce 60 in: + state-28 +lex $end(0) +reduce 47 in: + state-44 +reduce 1 in: + state-2 +reduce 17 in: + state-16 +reduce 43 in: + state-41 +reduce 5 in: + state-5 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 57 in: + state-147 +reduce 24 in: + state-21 lex LCURLY(57399) -reduce 72 in: - state-31 -reduce 51 in: - state-142 +reduce 54 in: + state-30 +reduce 2 in: + state-0 +reduce 50 in: + state-141 +reduce 3 in: + state-3 +reduce 2 in: + state-0 +lex DIV(57374) +reduce 108 in: + state-2 +reduce 3 in: + state-3 reduce 25 in: state-22 +lex RCURLY(57400) +reduce 2 in: + state-49 +reduce 19 in: + state-131 +lex NL(57406) +reduce 17 in: + state-16 +reduce 109 in: + state-59 +reduce 5 in: + state-5 +reduce 66 in: + state-39 +reduce 3 in: + state-3 +reduce 60 in: + state-122 +reduce 17 in: + state-16 +reduce 5 in: + state-5 reduce 2 in: state-49 +reduce 3 in: + state-3 lex NL(57406) +lex $end(0) reduce 17 in: state-16 +lex ID(57367) reduce 5 in: state-5 +reduce 83 in: + state-45 reduce 3 in: state-3 +lex DIV(57374) +reduce 81 in: + state-43 +reduce 108 in: + state-2 +lex INC(57372) +reduce 72 in: + state-31 +reduce 68 in: + state-27 +reduce 1 in: + state-2 +reduce 109 in: + state-59 lex RCURLY(57400) +lex REGEX(57363) reduce 19 in: state-131 +lex DIV(57374) +lex NL(57406) +reduce 86 in: + state-157 +reduce 2 in: + state-0 +reduce 55 in: + state-42 +lex LCURLY(57399) +lex ID(57367) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +reduce 2 in: + state-49 lex NL(57406) +lex NL(57406) +reduce 17 in: + state-16 reduce 15 in: state-47 reduce 4 in: @@ -31038,37 +30568,86 @@ state-3 reduce 17 in: state-16 +lex REGEX(57363) +reduce 2 in: + state-0 +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 +reduce 15 in: + state-47 +lex ID(57367) +reduce 92 in: + state-107 +lex NL(57406) +reduce 87 in: + state-106 +reduce 6 in: + state-6 +reduce 3 in: + state-3 +reduce 17 in: + state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: +lex DIV(57374) +reduce 108 in: state-2 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 24 in: - state-21 -reduce 23 in: - state-144 -reduce 20 in: - state-23 -reduce 18 in: - state-53 +reduce 109 in: + state-59 reduce 5 in: state-5 +lex REGEX(57363) +reduce 70 in: + state-90 +lex DIV(57374) +reduce 4 in: + state-4 +reduce 69 in: + state-89 +lex NL(57406) +reduce 66 in: + state-39 +lex DIV(57374) +reduce 60 in: + state-28 +reduce 86 in: + state-157 +reduce 86 in: + state-157 +reduce 47 in: + state-44 +reduce 55 in: + state-42 +lex LCURLY(57399) +reduce 54 in: + state-30 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex NL(57406) -reduce 15 in: - state-47 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +lex CAPREF(57365) +reduce 75 in: + state-33 +reduce 3 in: + state-3 +lex INC(57372) +reduce 17 in: + state-16 reduce 68 in: state-27 +reduce 5 in: + state-5 +reduce 55 in: + state-42 +reduce 5 in: + state-5 reduce 70 in: state-90 reduce 69 in: @@ -31076,8 +30655,35 @@ lex NL(57406) reduce 66 in: state-39 +reduce 43 in: + state-41 reduce 60 in: state-28 +reduce 35 in: + state-29 +reduce 47 in: + state-44 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +reduce 83 in: + state-45 +reduce 3 in: + state-3 +lex $end(0) +reduce 1 in: + state-2 +reduce 43 in: + state-41 +reduce 3 in: + state-3 reduce 47 in: state-44 reduce 43 in: @@ -31086,6 +30692,11 @@ state-29 reduce 30 in: state-25 +lex DIV(57374) +reduce 81 in: + state-43 +reduce 30 in: + state-25 reduce 24 in: state-21 reduce 21 in: @@ -31108,17 +30719,23 @@ state-4 reduce 3 in: state-3 +reduce 35 in: + state-29 +reduce 2 in: + state-49 +reduce 30 in: + state-25 +lex NL(57406) +reduce 24 in: + state-21 reduce 17 in: state-16 +reduce 21 in: + state-14 reduce 5 in: state-5 -reduce 3 in: - state-3 -lex $end(0) -reduce 1 in: - state-2 -reduce 30 in: - state-25 +reduce 20 in: + state-23 reduce 24 in: state-21 reduce 23 in: @@ -31127,34 +30744,84 @@ state-23 reduce 18 in: state-53 +reduce 108 in: + state-105 reduce 5 in: state-5 +reduce 109 in: + state-59 +lex REGEX(57363) +reduce 17 in: + state-16 +lex DIV(57374) +lex AND(57392) +reduce 54 in: + state-30 +lex $end(0) +reduce 49 in: + state-26 +reduce 1 in: + state-2 reduce 3 in: state-3 -lex ID(57367) -reduce 83 in: - state-45 -reduce 81 in: - state-43 -lex ASSIGN(57395) +lex RCURLY(57400) +reduce 18 in: + state-53 +reduce 19 in: + state-131 +lex NL(57406) +reduce 15 in: + state-47 +lex NL(57406) +reduce 4 in: + state-4 reduce 72 in: state-31 +reduce 3 in: + state-3 reduce 68 in: state-27 -reduce 66 in: - state-39 -lex CAPREF(57365) -reduce 110 in: - state-78 -reduce 75 in: - state-33 +reduce 86 in: + state-157 +reduce 5 in: + state-5 +reduce 55 in: + state-42 +reduce 3 in: + state-3 +lex LCURLY(57399) +lex RCURLY(57400) +reduce 54 in: + state-30 +reduce 19 in: + state-131 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +reduce 2 in: + state-49 lex NL(57406) -reduce 68 in: - state-27 +lex NL(57406) +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex $end(0) +reduce 1 in: + state-2 reduce 66 in: state-39 reduce 60 in: - state-122 + state-28 reduce 47 in: state-44 reduce 43 in: @@ -31165,8 +30832,8 @@ state-25 reduce 24 in: state-21 -reduce 22 in: - state-143 +reduce 21 in: + state-14 reduce 20 in: state-23 reduce 18 in: @@ -31175,16 +30842,49 @@ state-5 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 +lex DIV(57374) +reduce 108 in: + state-2 +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 55 in: + state-42 +lex PLUS(57378) +lex ID(57367) +reduce 110 in: + state-83 +reduce 83 in: + state-45 +reduce 57 in: + state-147 +lex PLUS(57378) +lex DIV(57374) +reduce 110 in: + state-83 +reduce 108 in: + state-119 +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 56 in: + state-146 +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 25 in: + state-22 +reduce 2 in: + state-49 lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 reduce 17 in: state-16 reduce 5 in: @@ -31210,50 +30910,27 @@ lex $end(0) reduce 1 in: state-2 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 32 in: - state-65 -lex INTLITERAL(57369) -reduce 110 in: - state-64 -reduce 79 in: - state-37 -reduce 68 in: - state-63 -lex NL(57406) -reduce 66 in: - state-39 -reduce 60 in: - state-122 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 31 in: - state-139 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 +reduce 17 in: + state-16 +reduce 5 in: + state-5 reduce 5 in: state-5 reduce 3 in: state-3 -lex CAPREF(57365) -reduce 75 in: - state-33 -lex BITOR(57390) +reduce 3 in: + state-3 +reduce 3 in: + state-3 +lex $end(0) +lex BUILTIN(57362) +reduce 1 in: + state-2 +lex LPAREN(57401) +lex RPAREN(57402) +reduce 73 in: + state-123 +lex MINUS(57377) reduce 68 in: state-27 reduce 66 in: @@ -31262,100 +30939,223 @@ state-28 reduce 47 in: state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 33 in: - state-66 -lex INTLITERAL(57369) +reduce 59 in: + state-95 +lex ID(57367) reduce 110 in: - state-64 -reduce 79 in: - state-37 + state-93 +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex NL(57406) +reduce 72 in: + state-31 reduce 68 in: state-63 -lex NL(57406) reduce 66 in: state-39 +reduce 2 in: + state-0 reduce 60 in: state-122 -reduce 47 in: - state-44 +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 48 in: + state-151 reduce 43 in: state-41 reduce 35 in: state-29 -reduce 31 in: - state-139 +reduce 30 in: + state-25 reduce 24 in: state-21 reduce 21 in: state-14 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 94 in: + state-55 +lex ID(57367) +reduce 92 in: + state-107 +lex NL(57406) +reduce 87 in: + state-106 +reduce 6 in: + state-6 +reduce 3 in: + state-3 reduce 20 in: state-23 +reduce 17 in: + state-16 reduce 18 in: state-53 reduce 5 in: state-5 +lex CAPREF(57365) +reduce 75 in: + state-33 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex DIV(57374) +reduce 108 in: + state-2 +reduce 109 in: + state-59 +reduce 25 in: + state-22 +lex REGEX(57363) +reduce 28 in: + state-50 +lex DIV(57374) +lex CAPREF_NAMED(57366) +reduce 86 in: + state-157 +lex ADD_ASSIGN(57394) +reduce 68 in: + state-27 +reduce 3 in: + state-3 +lex RCURLY(57400) +reduce 19 in: + state-131 +lex NL(57406) +reduce 55 in: + state-42 +lex LCURLY(57399) +reduce 54 in: + state-30 +reduce 49 in: + state-26 +reduce 110 in: + state-48 +reduce 15 in: + state-47 +reduce 4 in: + state-4 reduce 3 in: state-3 +reduce 66 in: + state-39 lex CAPREF(57365) +reduce 76 in: + state-34 +reduce 25 in: + state-22 +lex GT(57383) +reduce 110 in: + state-79 reduce 75 in: state-33 -lex SHL(57380) +lex NL(57406) reduce 68 in: state-27 +reduce 3 in: + state-3 reduce 66 in: state-39 +lex CAPREF_NAMED(57366) +reduce 2 in: + state-49 +reduce 76 in: + state-34 +lex NL(57406) +reduce 17 in: + state-16 +lex EQ(57386) reduce 60 in: - state-28 + state-122 +reduce 68 in: + state-27 +reduce 66 in: + state-39 reduce 47 in: state-44 -reduce 43 in: - state-41 -reduce 45 in: - state-81 -lex INTLITERAL(57369) -reduce 110 in: - state-80 -reduce 79 in: - state-37 reduce 68 in: - state-63 -lex NL(57406) + state-27 reduce 66 in: state-39 +reduce 17 in: + state-16 reduce 60 in: state-122 +reduce 5 in: + state-5 reduce 47 in: state-44 -reduce 44 in: - state-145 +reduce 43 in: + state-41 reduce 35 in: state-29 -reduce 66 in: - state-39 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex $end(0) +reduce 3 in: + state-3 reduce 60 in: - state-122 + state-28 +lex ID(57367) +reduce 1 in: + state-2 reduce 47 in: state-44 reduce 43 in: state-41 reduce 35 in: state-29 -reduce 38 in: - state-70 +reduce 41 in: + state-73 lex INTLITERAL(57369) reduce 110 in: state-68 -reduce 79 in: - state-37 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 23 in: + state-144 +reduce 20 in: + state-23 +reduce 18 in: + state-53 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex ASSIGN(57395) +reduce 72 in: + state-31 reduce 68 in: - state-63 -lex LCURLY(57399) + state-27 +reduce 66 in: + state-39 +lex CAPREF(57365) +reduce 110 in: + state-78 +reduce 75 in: + state-33 +lex NL(57406) +reduce 68 in: + state-27 reduce 66 in: state-39 reduce 60 in: @@ -31364,17 +31164,18 @@ state-44 reduce 43 in: state-41 -reduce 36 in: - state-140 +reduce 35 in: + state-29 reduce 30 in: state-25 -reduce 26 in: - state-129 -reduce 2 in: - state-49 -lex NL(57406) -reduce 17 in: - state-16 +reduce 24 in: + state-21 +reduce 22 in: + state-143 +reduce 20 in: + state-23 +reduce 18 in: + state-53 reduce 5 in: state-5 reduce 3 in: @@ -31382,85 +31183,97 @@ lex RCURLY(57400) reduce 19 in: state-131 -lex $end(0) -reduce 4 in: - state-4 +lex NL(57406) reduce 15 in: state-47 -reduce 3 in: - state-3 reduce 4 in: state-4 -reduce 17 in: - state-16 reduce 3 in: state-3 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -reduce 1 in: - state-2 -lex CAPREF_NAMED(57366) -reduce 76 in: - state-34 -lex NE(57387) -reduce 68 in: - state-27 -reduce 66 in: - state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 42 in: - state-74 +reduce 38 in: + state-70 +reduce 83 in: + state-45 +reduce 81 in: + state-43 lex INTLITERAL(57369) +lex INC(57372) reduce 110 in: state-68 +reduce 72 in: + state-31 reduce 79 in: state-37 +reduce 17 in: + state-16 reduce 68 in: state-63 lex LCURLY(57399) +reduce 5 in: + state-5 reduce 66 in: state-39 +reduce 3 in: + state-3 reduce 60 in: state-122 reduce 47 in: state-44 +lex RCURLY(57400) reduce 43 in: state-41 +reduce 19 in: + state-131 reduce 36 in: state-140 +lex NL(57406) reduce 30 in: state-25 -reduce 24 in: - state-21 +reduce 15 in: + state-47 +reduce 26 in: + state-129 +reduce 4 in: + state-4 reduce 2 in: state-49 -lex NL(57406) +reduce 3 in: + state-3 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex ID(57367) +lex $end(0) +reduce 1 in: + state-2 reduce 2 in: state-0 -reduce 83 in: - state-45 +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 +lex ID(57367) +reduce 92 in: + state-107 +lex NL(57406) +reduce 87 in: + state-106 +reduce 6 in: + state-6 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 lex DIV(57374) -reduce 81 in: - state-43 reduce 108 in: state-2 -lex ADD_ASSIGN(57394) reduce 109 in: state-59 lex REGEX(57363) @@ -31469,70 +31282,148 @@ state-157 reduce 55 in: state-42 -lex AND(57392) +lex LCURLY(57399) reduce 54 in: state-30 reduce 49 in: state-26 reduce 25 in: state-22 -reduce 28 in: - state-50 -lex CAPREF_NAMED(57366) -reduce 110 in: - state-48 -reduce 76 in: - state-34 -lex GT(57383) +reduce 2 in: + state-49 +lex NL(57406) +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 79 in: + state-37 +reduce 68 in: + state-63 reduce 68 in: state-27 +lex LCURLY(57399) +reduce 70 in: + state-90 reduce 66 in: state-39 +reduce 69 in: + state-89 reduce 60 in: state-122 +lex NL(57406) reduce 47 in: state-44 +reduce 66 in: + state-39 reduce 43 in: state-41 -reduce 35 in: - state-29 -reduce 38 in: - state-70 -lex INTLITERAL(57369) -reduce 110 in: - state-68 -reduce 79 in: - state-37 +lex NL(57406) +reduce 17 in: + state-16 +reduce 3 in: + state-3 +lex CAPREF(57365) +reduce 75 in: + state-33 +lex INC(57372) reduce 68 in: - state-63 -lex LCURLY(57399) -reduce 66 in: - state-39 + state-27 reduce 60 in: - state-122 + state-28 +reduce 70 in: + state-90 reduce 47 in: state-44 +reduce 69 in: + state-89 reduce 43 in: state-41 +lex NL(57406) +reduce 35 in: + state-29 +reduce 66 in: + state-39 +reduce 60 in: + state-28 +reduce 30 in: + state-25 reduce 36 in: state-140 reduce 30 in: state-25 -reduce 26 in: - state-129 +reduce 24 in: + state-21 +reduce 24 in: + state-21 +reduce 47 in: + state-44 reduce 2 in: state-49 +reduce 21 in: + state-14 +reduce 20 in: + state-23 +reduce 18 in: + state-53 +lex NL(57406) +reduce 5 in: + state-5 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 5 in: + state-5 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +lex RCURLY(57400) +reduce 24 in: + state-21 +reduce 19 in: + state-131 lex NL(57406) +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 3 in: + state-3 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 +reduce 3 in: + state-3 +lex $end(0) +reduce 1 in: + state-2 +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +reduce 21 in: + state-14 +lex ADD_ASSIGN(57394) +reduce 20 in: + state-23 +reduce 3 in: + state-3 lex RCURLY(57400) reduce 19 in: state-131 lex NL(57406) +reduce 72 in: + state-31 reduce 15 in: state-47 reduce 4 in: @@ -31541,43 +31432,61 @@ state-3 reduce 17 in: state-16 +reduce 68 in: + state-27 reduce 5 in: state-5 +reduce 18 in: + state-53 reduce 3 in: state-3 lex $end(0) reduce 1 in: state-2 -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 28 in: - state-50 -lex INTLITERAL(57369) +reduce 66 in: + state-39 +reduce 5 in: + state-5 +lex CAPREF_NAMED(57366) +reduce 3 in: + state-3 reduce 110 in: - state-48 -reduce 79 in: - state-37 -lex LCURLY(57399) + state-79 +reduce 76 in: + state-34 +lex NL(57406) +lex DIV(57374) reduce 68 in: state-27 +reduce 108 in: + state-105 +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) reduce 66 in: state-39 +reduce 86 in: + state-157 +reduce 55 in: + state-42 reduce 60 in: state-122 +lex LCURLY(57399) reduce 47 in: state-44 +reduce 54 in: + state-30 reduce 43 in: state-41 +reduce 49 in: + state-26 reduce 35 in: state-29 +reduce 25 in: + state-22 reduce 30 in: state-25 -reduce 26 in: - state-129 reduce 2 in: state-49 lex NL(57406) @@ -31587,24 +31496,32 @@ state-5 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex NL(57406) -reduce 15 in: - state-47 -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 -reduce 17 in: - state-16 +reduce 24 in: + state-21 +lex CAPREF(57365) +reduce 75 in: + state-33 +reduce 23 in: + state-144 +lex ADD_ASSIGN(57394) +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 20 in: + state-23 +reduce 18 in: + state-53 reduce 5 in: state-5 reduce 3 in: state-3 +lex CAPREF(57365) +reduce 110 in: + state-79 +reduce 75 in: + state-33 +lex NL(57406) lex RCURLY(57400) reduce 19 in: state-131 @@ -31621,20 +31538,92 @@ state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 +lex CAPREF_NAMED(57366) +reduce 76 in: + state-34 +reduce 68 in: + state-27 +lex NE(57387) +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-28 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 43 in: + state-41 +reduce 42 in: + state-74 +reduce 35 in: + state-29 +lex INTLITERAL(57369) +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 23 in: + state-144 +reduce 20 in: + state-23 +reduce 18 in: + state-53 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +reduce 110 in: + state-68 +reduce 79 in: + state-37 +lex ID(57367) +reduce 68 in: + state-63 +reduce 83 in: + state-45 +lex LCURLY(57399) +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 81 in: + state-43 +reduce 43 in: + state-41 +lex ASSIGN(57395) +reduce 36 in: + state-140 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 2 in: + state-49 reduce 72 in: state-31 reduce 68 in: state-27 reduce 66 in: state-39 -lex CAPREF_NAMED(57366) +lex CAPREF(57365) +lex NL(57406) reduce 110 in: - state-79 -reduce 76 in: - state-34 + state-78 +reduce 75 in: + state-33 lex NL(57406) reduce 68 in: state-27 @@ -31642,6 +31631,13 @@ state-39 reduce 60 in: state-122 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex ID(57367) reduce 47 in: state-44 reduce 43 in: @@ -31650,22 +31646,45 @@ state-29 reduce 30 in: state-25 +reduce 83 in: + state-45 reduce 24 in: state-21 -reduce 23 in: - state-144 +reduce 81 in: + state-43 +lex ADD_ASSIGN(57394) +reduce 72 in: + state-31 +reduce 68 in: + state-27 +reduce 22 in: + state-143 +reduce 66 in: + state-39 reduce 20 in: state-23 +lex CAPREF_NAMED(57366) +reduce 110 in: + state-79 +reduce 76 in: + state-34 +lex NL(57406) reduce 18 in: state-53 +reduce 68 in: + state-27 reduce 5 in: state-5 +reduce 66 in: + state-39 reduce 3 in: state-3 lex RCURLY(57400) reduce 19 in: state-131 lex NL(57406) +reduce 60 in: + state-122 reduce 15 in: state-47 reduce 4 in: @@ -31674,57 +31693,63 @@ state-3 reduce 17 in: state-16 +reduce 47 in: + state-44 reduce 5 in: state-5 +reduce 43 in: + state-41 reduce 3 in: state-3 lex RCURLY(57400) reduce 19 in: state-131 lex NL(57406) +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 23 in: + state-144 reduce 15 in: state-47 reduce 4 in: state-4 -reduce 3 in: - state-3 -reduce 17 in: - state-16 +reduce 20 in: + state-23 +reduce 18 in: + state-53 reduce 5 in: state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 -reduce 55 in: - state-42 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 -lex NL(57406) +reduce 3 in: + state-3 reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex NEXT(57358) -reduce 10 in: - state-10 +lex RCURLY(57400) +reduce 19 in: + state-131 +lex NL(57406) +reduce 15 in: + state-47 +reduce 4 in: + state-4 reduce 3 in: state-3 -lex NL(57406) reduce 17 in: state-16 reduce 5 in: state-5 +lex $end(0) +reduce 1 in: + state-2 reduce 3 in: state-3 lex RCURLY(57400) @@ -31743,25 +31768,44 @@ state-5 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -reduce 104 in: - state-137 -reduce 7 in: - state-7 +lex $end(0) +reduce 1 in: + state-2 +reduce 2 in: + state-0 +lex COUNTER(57347) +reduce 88 in: + state-2 +reduce 94 in: + state-55 +lex ID(57367) +reduce 92 in: + state-107 +lex NL(57406) +reduce 87 in: + state-106 +reduce 6 in: + state-6 reduce 3 in: state-3 -lex NL(57406) reduce 17 in: state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: +lex DIV(57374) +reduce 108 in: state-2 +reduce 109 in: + state-59 +lex REGEX(57363) +lex DIV(57374) +reduce 86 in: + state-157 +reduce 55 in: + state-42 +lex LCURLY(57399) reduce 54 in: state-30 reduce 49 in: @@ -31777,30 +31821,10 @@ state-5 reduce 3 in: state-3 -lex BUILTIN(57362) -lex LPAREN(57401) -reduce 4 in: - state-4 -reduce 30 in: - state-25 -reduce 3 in: - state-3 -reduce 24 in: - state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex CAPREF(57365) -reduce 75 in: - state-33 -lex SHR(57381) +lex CAPREF_NAMED(57366) +reduce 76 in: + state-34 +lex GT(57383) reduce 68 in: state-27 reduce 66 in: @@ -31811,80 +31835,61 @@ state-44 reduce 43 in: state-41 -reduce 46 in: - state-82 +reduce 35 in: + state-29 +reduce 38 in: + state-70 lex INTLITERAL(57369) reduce 110 in: - state-80 + state-68 reduce 79 in: state-37 reduce 68 in: state-63 -lex NL(57406) +lex LCURLY(57399) reduce 66 in: state-39 reduce 60 in: state-122 reduce 47 in: state-44 -lex CAPREF_NAMED(57366) -reduce 44 in: - state-145 -reduce 35 in: - state-29 -reduce 76 in: - state-34 +reduce 43 in: + state-41 +reduce 36 in: + state-140 reduce 30 in: state-25 -reduce 68 in: - state-63 reduce 24 in: state-21 -lex RPAREN(57402) -reduce 21 in: - state-14 -reduce 66 in: - state-39 -reduce 20 in: - state-23 -reduce 60 in: - state-122 -reduce 18 in: - state-53 -reduce 47 in: - state-44 +reduce 2 in: + state-49 +lex NL(57406) +reduce 17 in: + state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex CAPREF(57365) -reduce 75 in: - state-33 -lex XOR(57389) +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex ADD_ASSIGN(57394) +reduce 72 in: + state-31 reduce 68 in: state-27 reduce 66 in: state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 34 in: - state-67 -lex INTLITERAL(57369) +lex CAPREF_NAMED(57366) reduce 110 in: - state-64 -reduce 79 in: - state-37 -reduce 68 in: - state-63 + state-79 +reduce 76 in: + state-34 lex NL(57406) +reduce 68 in: + state-27 reduce 66 in: state-39 reduce 60 in: @@ -31895,12 +31900,12 @@ state-41 reduce 35 in: state-29 -reduce 31 in: - state-139 +reduce 30 in: + state-25 reduce 24 in: state-21 -reduce 21 in: - state-14 +reduce 23 in: + state-144 reduce 20 in: state-23 reduce 18 in: @@ -31909,88 +31914,89 @@ state-5 reduce 3 in: state-3 -lex NOT(57391) +lex RCURLY(57400) +reduce 19 in: + state-131 +lex NL(57406) +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex CAPREF_NAMED(57366) +reduce 76 in: + state-34 +lex GE(57385) +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-28 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 40 in: + state-72 lex INTLITERAL(57369) +reduce 110 in: + state-68 reduce 79 in: state-37 reduce 68 in: state-63 -lex NL(57406) +lex LCURLY(57399) reduce 66 in: state-39 -reduce 67 in: - state-92 reduce 60 in: - state-28 + state-122 reduce 47 in: state-44 reduce 43 in: state-41 -reduce 35 in: - state-29 -reduce 17 in: - state-16 +reduce 36 in: + state-140 reduce 30 in: state-25 -reduce 5 in: - state-5 -reduce 3 in: - state-3 reduce 24 in: state-21 -lex $end(0) -reduce 21 in: - state-14 -reduce 1 in: - state-2 -reduce 20 in: - state-23 -reduce 18 in: - state-53 +reduce 2 in: + state-49 +lex NL(57406) +reduce 17 in: + state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 -lex $end(0) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 -reduce 1 in: - state-2 -reduce 2 in: - state-0 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex AND(57392) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 28 in: - state-50 -lex INTLITERAL(57369) +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex ADD_ASSIGN(57394) +reduce 72 in: + state-31 +reduce 68 in: + state-27 +reduce 66 in: + state-39 +lex CAPREF_NAMED(57366) reduce 110 in: - state-48 -reduce 79 in: - state-37 -lex LCURLY(57399) + state-79 +reduce 76 in: + state-34 +lex NL(57406) reduce 68 in: state-27 reduce 66 in: @@ -32005,13 +32011,14 @@ state-29 reduce 30 in: state-25 -reduce 26 in: - state-129 -reduce 2 in: - state-49 -lex NL(57406) -reduce 17 in: - state-16 +reduce 24 in: + state-21 +reduce 23 in: + state-144 +reduce 20 in: + state-23 +reduce 18 in: + state-53 reduce 5 in: state-5 reduce 3 in: @@ -32032,22 +32039,10 @@ state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 -reduce 2 in: - state-0 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 84 in: - state-121 -reduce 74 in: - state-150 -lex GT(57383) +lex CAPREF_NAMED(57366) +reduce 76 in: + state-34 +lex LT(57382) reduce 68 in: state-27 reduce 66 in: @@ -32060,8 +32055,8 @@ state-41 reduce 35 in: state-29 -reduce 38 in: - state-70 +reduce 37 in: + state-69 lex INTLITERAL(57369) reduce 110 in: state-68 @@ -32093,18 +32088,46 @@ state-5 reduce 3 in: state-3 -lex RCURLY(57400) -reduce 19 in: - state-131 +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex ADD_ASSIGN(57394) +reduce 72 in: + state-31 +reduce 68 in: + state-27 +reduce 66 in: + state-39 +lex CAPREF_NAMED(57366) +reduce 110 in: + state-79 +reduce 76 in: + state-34 lex NL(57406) -reduce 15 in: - state-47 -reduce 4 in: - state-4 -reduce 3 in: - state-3 -reduce 17 in: - state-16 +reduce 68 in: + state-27 +reduce 66 in: + state-39 +reduce 60 in: + state-122 +reduce 47 in: + state-44 +reduce 43 in: + state-41 +reduce 35 in: + state-29 +reduce 30 in: + state-25 +reduce 24 in: + state-21 +reduce 23 in: + state-144 +reduce 20 in: + state-23 +reduce 18 in: + state-53 reduce 5 in: state-5 reduce 3 in: @@ -32125,40 +32148,10 @@ state-5 reduce 3 in: state-3 -lex $end(0) -reduce 1 in: - state-2 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 109 in: - state-59 -lex REGEX(57363) -lex DIV(57374) -reduce 86 in: - state-157 -reduce 55 in: - state-42 -lex LCURLY(57399) -reduce 54 in: - state-30 -reduce 49 in: - state-26 -reduce 25 in: - state-22 -reduce 2 in: - state-49 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex CAPREF(57365) -reduce 75 in: - state-33 -lex BITAND(57388) +lex CAPREF_NAMED(57366) +reduce 76 in: + state-34 +lex LE(57384) reduce 68 in: state-27 reduce 66 in: @@ -32171,18 +32164,16 @@ state-41 reduce 35 in: state-29 -reduce 30 in: - state-25 -reduce 32 in: - state-65 +reduce 39 in: + state-71 lex INTLITERAL(57369) reduce 110 in: - state-64 + state-68 reduce 79 in: state-37 reduce 68 in: state-63 -lex NL(57406) +lex LCURLY(57399) reduce 66 in: state-39 reduce 60 in: @@ -32191,50 +32182,41 @@ state-44 reduce 43 in: state-41 -reduce 35 in: - state-29 -reduce 31 in: - state-139 +reduce 36 in: + state-140 +reduce 30 in: + state-25 reduce 24 in: state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 +reduce 2 in: + state-49 +lex NL(57406) +reduce 17 in: + state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex CAPREF(57365) -reduce 75 in: - state-33 -lex BITOR(57390) +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex ADD_ASSIGN(57394) +reduce 72 in: + state-31 reduce 68 in: state-27 reduce 66 in: state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 35 in: - state-29 -reduce 30 in: - state-25 -reduce 33 in: - state-66 -lex INTLITERAL(57369) +lex CAPREF_NAMED(57366) reduce 110 in: - state-64 -reduce 79 in: - state-37 -reduce 68 in: - state-63 + state-79 +reduce 76 in: + state-34 lex NL(57406) +reduce 68 in: + state-27 reduce 66 in: state-39 reduce 60 in: @@ -32245,12 +32227,12 @@ state-41 reduce 35 in: state-29 -reduce 31 in: - state-139 +reduce 30 in: + state-25 reduce 24 in: state-21 -reduce 21 in: - state-14 +reduce 23 in: + state-144 reduce 20 in: state-23 reduce 18 in: @@ -32259,10 +32241,26 @@ state-5 reduce 3 in: state-3 -lex CAPREF(57365) -reduce 75 in: - state-33 -lex SHL(57380) +lex RCURLY(57400) +reduce 19 in: + state-131 +lex NL(57406) +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex CAPREF_NAMED(57366) +reduce 76 in: + state-34 +lex EQ(57386) reduce 68 in: state-27 reduce 66 in: @@ -32273,80 +32271,77 @@ state-44 reduce 43 in: state-41 -reduce 45 in: - state-81 +reduce 35 in: + state-29 +reduce 41 in: + state-73 lex INTLITERAL(57369) reduce 110 in: - state-80 + state-68 reduce 79 in: state-37 reduce 68 in: state-63 -lex NL(57406) +lex LCURLY(57399) reduce 66 in: state-39 reduce 60 in: state-122 reduce 47 in: state-44 -reduce 44 in: - state-145 -reduce 35 in: - state-29 +reduce 43 in: + state-41 +reduce 36 in: + state-140 reduce 30 in: state-25 reduce 24 in: state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 +reduce 2 in: + state-49 +lex NL(57406) +reduce 17 in: + state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex CAPREF(57365) -reduce 75 in: - state-33 -lex SHR(57381) +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex ADD_ASSIGN(57394) +reduce 72 in: + state-31 reduce 68 in: state-27 reduce 66 in: state-39 -reduce 60 in: - state-28 -reduce 47 in: - state-44 -reduce 43 in: - state-41 -reduce 46 in: - state-82 -lex INTLITERAL(57369) +lex CAPREF_NAMED(57366) reduce 110 in: - state-80 -reduce 79 in: - state-37 -reduce 68 in: - state-63 + state-79 +reduce 76 in: + state-34 lex NL(57406) +reduce 68 in: + state-27 reduce 66 in: state-39 reduce 60 in: state-122 reduce 47 in: state-44 -reduce 44 in: - state-145 +reduce 43 in: + state-41 reduce 35 in: state-29 reduce 30 in: state-25 reduce 24 in: state-21 -reduce 21 in: - state-14 +reduce 23 in: + state-144 reduce 20 in: state-23 reduce 18 in: @@ -32355,10 +32350,26 @@ state-5 reduce 3 in: state-3 -lex CAPREF(57365) -reduce 75 in: - state-33 -lex XOR(57389) +lex RCURLY(57400) +reduce 19 in: + state-131 +lex NL(57406) +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 +lex CAPREF_NAMED(57366) +reduce 76 in: + state-34 +lex NE(57387) reduce 68 in: state-27 reduce 66 in: @@ -32371,18 +32382,16 @@ state-41 reduce 35 in: state-29 -reduce 30 in: - state-25 -reduce 34 in: - state-67 +reduce 42 in: + state-74 lex INTLITERAL(57369) reduce 110 in: - state-64 + state-68 reduce 79 in: state-37 reduce 68 in: state-63 -lex NL(57406) +lex LCURLY(57399) reduce 66 in: state-39 reduce 60 in: @@ -32391,35 +32400,45 @@ state-44 reduce 43 in: state-41 -reduce 35 in: - state-29 -reduce 31 in: - state-139 +reduce 36 in: + state-140 +reduce 30 in: + state-25 reduce 24 in: state-21 -reduce 21 in: - state-14 -reduce 20 in: - state-23 -reduce 18 in: - state-53 +reduce 2 in: + state-49 +lex NL(57406) +reduce 17 in: + state-16 reduce 5 in: state-5 reduce 3 in: state-3 -lex NOT(57391) -lex INTLITERAL(57369) -reduce 79 in: - state-37 +lex ID(57367) +reduce 83 in: + state-45 +reduce 81 in: + state-43 +lex ADD_ASSIGN(57394) +reduce 72 in: + state-31 reduce 68 in: - state-63 + state-27 +reduce 66 in: + state-39 +lex CAPREF_NAMED(57366) +reduce 110 in: + state-79 +reduce 76 in: + state-34 lex NL(57406) +reduce 68 in: + state-27 reduce 66 in: state-39 -reduce 67 in: - state-92 reduce 60 in: - state-28 + state-122 reduce 47 in: state-44 reduce 43 in: @@ -32430,8 +32449,8 @@ state-25 reduce 24 in: state-21 -reduce 21 in: - state-14 +reduce 23 in: + state-144 reduce 20 in: state-23 reduce 18 in: @@ -32456,47 +32475,110 @@ state-5 reduce 3 in: state-3 +lex RCURLY(57400) +reduce 19 in: + state-131 +lex NL(57406) +reduce 15 in: + state-47 +reduce 4 in: + state-4 +reduce 3 in: + state-3 +reduce 17 in: + state-16 +reduce 5 in: + state-5 +reduce 3 in: + state-3 lex $end(0) reduce 1 in: state-2 ---- PASS: TestParserRoundTrip (0.04s) - --- PASS: TestParserRoundTrip/empty (0.02s) +--- PASS: TestParserRoundTrip (0.02s) + --- PASS: TestParserRoundTrip/declare_timer (0.00s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ + ( ;;*ast.StmtList @ declare timer:1:7-9 + ( ;;*ast.VarDecl @ declare timer:1:7-9 + timer foo) ) - --- PASS: TestParserRoundTrip/declare_text (0.00s) + --- PASS: TestParserRoundTrip/assignment (0.01s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ declare text:1:6-12 - ( ;;*ast.VarDecl @ declare text:1:6-12 - text stringy) + ( ;;*ast.StmtList @ assignment:1:9-16 + ( ;;*ast.VarDecl @ assignment:1:9-16 + counter variable) + ( ;;*ast.CondStmt @ assignment:2:1-13 + ( ;;*ast.PatternExpr @ assignment:2:1-13 + ( ;;*ast.PatternLit @ assignment:2:1-13 + "(?P.*)") + ) + ( ;;*ast.StmtList @ assignment:3:1-15 + ( ;;*ast.BinaryExpr @ assignment:3:1-15 + = + ( ;;*ast.IndexedExpr @ assignment:3:1-8 + ( ;;*ast.ExprList @ + ) + ( ;;*ast.IdTerm @ assignment:3:1-8 + "variable") + ) + ( ;;*ast.CaprefTerm @ assignment:3:12-15 + "foo") + ) + ) + ) ) - --- PASS: TestParserRoundTrip/declare_hidden_counter (0.00s) + --- PASS: TestParserRoundTrip/match_expression_3 (0.04s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ declare hidden counter:1:16-18 - ( ;;*ast.VarDecl @ declare hidden counter:1:16-18 - counter foo) + ( ;;*ast.StmtList @ match expression 3:2:7 + ( ;;*ast.PatternFragment @ match expression 3:2:7 + const ( ;;*ast.IdTerm @ match expression 3:2:7 + "X") + ) + ( ;;*ast.CondStmt @ match expression 3:3:1-9 + ( ;;*ast.BinaryExpr @ match expression 3:3:1-9 + =~ + ( ;;*ast.CaprefTerm @ match expression 3:3:1-4 + "foo") + ( ;;*ast.IndexedExpr @ match expression 3:3:9 + ( ;;*ast.ExprList @ + ) + ( ;;*ast.IdTerm @ match expression 3:3:9 + "X") + ) + ) + ( ;;*ast.StmtList @ + ) + ) ) - --- PASS: TestParserRoundTrip/simple_pattern_action (0.02s) + --- PASS: TestParserRoundTrip/comment_then_code (0.03s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ simple pattern action:1:1-5 - ( ;;*ast.CondStmt @ simple pattern action:1:1-5 - ( ;;*ast.PatternExpr @ simple pattern action:1:1-5 - ( ;;*ast.PatternLit @ simple pattern action:1:1-5 - "foo") + ( ;;*ast.StmtList @ comment then code:2:10-56 + ( ;;*ast.CondStmt @ comment then code:2:10-56 + ( ;;*ast.PatternExpr @ comment then code:2:10-56 + ( ;;*ast.PatternLit @ comment then code:2:10-56 + "^(?P\\d+/\\d+/\\d+ \\d+:\\d+:\\d+) \\[(?P\\d+)\\] ") ) - ( ;;*ast.StmtList @ + ( ;;*ast.StmtList @ comment then code:3:37 + ( ;;*ast.BuiltinExpr @ comment then code:3:37 + "strptime" + ( ;;*ast.ExprList @ comment then code:3:12-36 + ( ;;*ast.CaprefTerm @ comment then code:3:12-13 + "1") + ( ;;*ast.StringLit @ comment then code:3:16-36 + "2006/01/02 15:04:05") + ) + ) ) ) ) - --- PASS: TestParserRoundTrip/declare_multi-dimensioned_counter (0.00s) + --- PASS: TestParserRoundTrip/declare_counter (0.05s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ declare multi-dimensioned counter:1:9-11 - ( ;;*ast.VarDecl @ declare multi-dimensioned counter:1:9-11 - counter foo (bar baz quux)) + ( ;;*ast.StmtList @ declare counter:1:9-18 + ( ;;*ast.VarDecl @ declare counter:1:9-18 + counter line_count) ) --- PASS: TestParserRoundTrip/declare_dimensioned_counter (0.00s) @@ -32506,151 +32588,265 @@ counter foo (bar)) ) - --- PASS: TestParserRoundTrip/declare_timer (0.01s) + --- PASS: TestParserRoundTrip/declare_text (0.00s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ declare timer:1:7-9 - ( ;;*ast.VarDecl @ declare timer:1:7-9 - timer foo) + ( ;;*ast.StmtList @ declare text:1:6-12 + ( ;;*ast.VarDecl @ declare text:1:6-12 + text stringy) ) - --- PASS: TestParserRoundTrip/more_complex_action,_increment_counter (0.03s) + --- PASS: TestParserRoundTrip/strptime_and_capref (0.04s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ more complex action, increment counter:1:9-18 - ( ;;*ast.VarDecl @ more complex action, increment counter:1:9-18 + ( ;;*ast.StmtList @ strptime and capref:1:1-6 + ( ;;*ast.CondStmt @ strptime and capref:1:1-6 + ( ;;*ast.PatternExpr @ strptime and capref:1:1-6 + ( ;;*ast.PatternLit @ strptime and capref:1:1-6 + "(.*)") + ) + ( ;;*ast.StmtList @ strptime and capref:2:41 + ( ;;*ast.BuiltinExpr @ strptime and capref:2:41 + "strptime" + ( ;;*ast.ExprList @ strptime and capref:2:10-40 + ( ;;*ast.CaprefTerm @ strptime and capref:2:10-11 + "1") + ( ;;*ast.StringLit @ strptime and capref:2:14-40 + "2006-01-02T15:04:05Z07:00") + ) + ) + ) + ) + ) + + --- PASS: TestParserRoundTrip/declare_counter_string_name (0.01s) + parser_test.go:337: AST: + ( ;;*ast.StmtList @ declare counter string name:1:9-18 + ( ;;*ast.VarDecl @ declare counter string name:1:9-18 counter line_count) - ( ;;*ast.CondStmt @ more complex action, increment counter:2:1-5 - ( ;;*ast.PatternExpr @ more complex action, increment counter:2:1-5 - ( ;;*ast.PatternLit @ more complex action, increment counter:2:1-5 - "foo") + ) + + --- PASS: TestParserRoundTrip/declare_hidden_counter (0.01s) + parser_test.go:337: AST: + ( ;;*ast.StmtList @ declare hidden counter:1:16-18 + ( ;;*ast.VarDecl @ declare hidden counter:1:16-18 + counter foo) + ) + + --- PASS: TestParserRoundTrip/regex_match_includes_escaped_slashes (0.05s) + parser_test.go:337: AST: + ( ;;*ast.StmtList @ regex match includes escaped slashes:1:9-11 + ( ;;*ast.VarDecl @ regex match includes escaped slashes:1:9-11 + counter foo) + ( ;;*ast.CondStmt @ regex match includes escaped slashes:2:1-15 + ( ;;*ast.PatternExpr @ regex match includes escaped slashes:2:1-7 + ( ;;*ast.PatternLit @ regex match includes escaped slashes:2:1-7 + "foo/") ) - ( ;;*ast.StmtList @ more complex action, increment counter:3:3-14 - ( ;;*ast.UnaryExpr @ more complex action, increment counter:3:3-14 + ( ;;*ast.StmtList @ regex match includes escaped slashes:2:11-15 + ( ;;*ast.UnaryExpr @ regex match includes escaped slashes:2:11-15 ++ - ( ;;*ast.IndexedExpr @ more complex action, increment counter:3:3-12 + ( ;;*ast.IndexedExpr @ regex match includes escaped slashes:2:11-13 ( ;;*ast.ExprList @ ) - ( ;;*ast.IdTerm @ more complex action, increment counter:3:3-12 - "line_count") + ( ;;*ast.IdTerm @ regex match includes escaped slashes:2:11-13 + "foo") ) ) ) ) ) - --- PASS: TestParserRoundTrip/numeric_capture_group_reference (0.02s) + --- PASS: TestParserRoundTrip/delete (0.07s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ numeric capture group reference:1:1-7 - ( ;;*ast.CondStmt @ numeric capture group reference:1:1-7 - ( ;;*ast.PatternExpr @ numeric capture group reference:1:1-7 - ( ;;*ast.PatternLit @ numeric capture group reference:1:1-7 - "(foo)") + ( ;;*ast.StmtList @ delete:1:9-11 + ( ;;*ast.VarDecl @ delete:1:9-11 + counter foo (bar)) + ( ;;*ast.CondStmt @ delete:2:1-5 + ( ;;*ast.PatternExpr @ delete:2:1-5 + ( ;;*ast.PatternLit @ delete:2:1-5 + "foo") ) - ( ;;*ast.StmtList @ numeric capture group reference:2:3-6 - ( ;;*ast.UnaryExpr @ numeric capture group reference:2:3-6 - ++ - ( ;;*ast.CaprefTerm @ numeric capture group reference:2:3-4 + ( ;;*ast.StmtList @ delete:4:14 + ( ;;*ast.DelStmt @ delete:4:14 + del) + ) + ) + ) + + --- PASS: TestParserRoundTrip/nested_match_conditions (0.07s) + parser_test.go:337: AST: + ( ;;*ast.StmtList @ nested match conditions:1:9-11 + ( ;;*ast.VarDecl @ nested match conditions:1:9-11 + counter foo) + ( ;;*ast.VarDecl @ nested match conditions:2:9-11 + counter bar) + ( ;;*ast.CondStmt @ nested match conditions:3:1-12 + ( ;;*ast.PatternExpr @ nested match conditions:3:1-12 + ( ;;*ast.PatternLit @ nested match conditions:3:1-12 + "match(\\d+)") + ) + ( ;;*ast.StmtList @ nested match conditions:4:3-11 + ( ;;*ast.BinaryExpr @ nested match conditions:4:3-11 + += + ( ;;*ast.IndexedExpr @ nested match conditions:4:3-5 + ( ;;*ast.ExprList @ + ) + ( ;;*ast.IdTerm @ nested match conditions:4:3-5 + "foo") + ) + ( ;;*ast.CaprefTerm @ nested match conditions:4:10-11 "1") + ) + ( ;;*ast.CondStmt @ nested match conditions:5:3-15 + ( ;;*ast.PatternExpr @ nested match conditions:5:3-15 + ( ;;*ast.PatternLit @ nested match conditions:5:3-15 + "^bleh (\\S+)") + ) + ( ;;*ast.StmtList @ nested match conditions:6:5-9 + ( ;;*ast.UnaryExpr @ nested match conditions:6:5-9 + ++ + ( ;;*ast.IndexedExpr @ nested match conditions:6:5-7 + ( ;;*ast.ExprList @ + ) + ( ;;*ast.IdTerm @ nested match conditions:6:5-7 + "bar") + ) + ) + ( ;;*ast.UnaryExpr @ nested match conditions:7:5-8 + ++ + ( ;;*ast.CaprefTerm @ nested match conditions:7:5-6 + "1") + ) + ) + ) ) ) ) + + --- PASS: TestParserRoundTrip/mod_operator (0.03s) + parser_test.go:337: AST: + ( ;;*ast.StmtList @ mod operator:1:1-5 + ( ;;*ast.CondStmt @ mod operator:1:1-5 + ( ;;*ast.PatternExpr @ mod operator:1:1-5 + ( ;;*ast.PatternLit @ mod operator:1:1-5 + "foo") + ) + ( ;;*ast.StmtList @ mod operator:2:3-7 + ( ;;*ast.BinaryExpr @ mod operator:2:3-7 + % + ( ;;*ast.IntLit @ mod operator:2:3 + 3) + ( ;;*ast.IntLit @ mod operator:2:7 + 1) + ) + ) ) + ) - --- PASS: TestParserRoundTrip/declare_counter (0.00s) + --- PASS: TestParserRoundTrip/const (0.07s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ declare counter:1:9-18 - ( ;;*ast.VarDecl @ declare counter:1:9-18 - counter line_count) + ( ;;*ast.StmtList @ const:1:7-8 + ( ;;*ast.PatternFragment @ const:1:7-8 + const ( ;;*ast.IdTerm @ const:1:7-8 + "IP") + ) ) - --- PASS: TestParserRoundTrip/declare_gauge (0.01s) + --- PASS: TestParserRoundTrip/declare_gauge (0.03s) parser_test.go:337: AST: ( ;;*ast.StmtList @ declare gauge:1:7-9 ( ;;*ast.VarDecl @ declare gauge:1:7-9 gauge foo) ) - --- PASS: TestParserRoundTrip/newline (0.01s) - parser_test.go:337: AST: - ( ;;*ast.StmtList @ - ) - - --- PASS: TestParserRoundTrip/declare_counter_string_name (0.03s) + --- PASS: TestParserRoundTrip/more_complex_action,_increment_counter (0.08s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ declare counter string name:1:9-18 - ( ;;*ast.VarDecl @ declare counter string name:1:9-18 + ( ;;*ast.StmtList @ more complex action, increment counter:1:9-18 + ( ;;*ast.VarDecl @ more complex action, increment counter:1:9-18 counter line_count) - ) - - --- PASS: TestParserRoundTrip/decorator_definition_and_invocation (0.04s) - parser_test.go:337: AST: - ( ;;*ast.StmtList @ decorator definition and invocation:1:1-14 - ( ;;*ast.DecoDecl @ decorator definition and invocation:1:1-14 - ( ;;*ast.StmtList @ decorator definition and invocation:1:11-14 - ( ;;*ast.NextStmt @ decorator definition and invocation:1:11-14 - next) + ( ;;*ast.CondStmt @ more complex action, increment counter:2:1-5 + ( ;;*ast.PatternExpr @ more complex action, increment counter:2:1-5 + ( ;;*ast.PatternLit @ more complex action, increment counter:2:1-5 + "foo") + ) + ( ;;*ast.StmtList @ more complex action, increment counter:3:3-14 + ( ;;*ast.UnaryExpr @ more complex action, increment counter:3:3-14 + ++ + ( ;;*ast.IndexedExpr @ more complex action, increment counter:3:3-12 + ( ;;*ast.ExprList @ + ) + ( ;;*ast.IdTerm @ more complex action, increment counter:3:3-12 + "line_count") + ) + ) + ) ) ) - ( ;;*ast.DecoStmt @ decorator definition and invocation:3:1-4 + + --- PASS: TestParserRoundTrip/simple_otherwise_action (0.00s) + parser_test.go:337: AST: + ( ;;*ast.StmtList @ simple otherwise action:1:12 + ( ;;*ast.CondStmt @ simple otherwise action:1:12 + ( ;;*ast.OtherwiseStmt @ simple otherwise action:1:12 + otherwise) ( ;;*ast.StmtList @ ) ) ) - --- PASS: TestParserRoundTrip/const_regex (0.09s) + --- PASS: TestParserRoundTrip/concat_expr_2 (0.02s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ const regex:1:7 - ( ;;*ast.PatternFragment @ const regex:1:7 - const ( ;;*ast.IdTerm @ const regex:1:7 + ( ;;*ast.StmtList @ concat expr 2:2:7 + ( ;;*ast.PatternFragment @ concat expr 2:2:7 + const ( ;;*ast.IdTerm @ concat expr 2:2:7 "X") ) - ( ;;*ast.CondStmt @ const regex:2:1-19 - ( ;;*ast.PatternExpr @ const regex:2:1-19 - ( ;;*ast.BinaryExpr @ const regex:2:1-19 - ++ - ( ;;*ast.BinaryExpr @ const regex:2:1-10 - ++ - ( ;;*ast.PatternLit @ const regex:2:1-6 - "foo ") - ( ;;*ast.IdTerm @ const regex:2:10 - "X") - ) - ( ;;*ast.PatternLit @ const regex:2:14-19 - " bar") + ( ;;*ast.CondStmt @ concat expr 2:3:1 + ( ;;*ast.IndexedExpr @ concat expr 2:3:1 + ( ;;*ast.ExprList @ ) + ( ;;*ast.IdTerm @ concat expr 2:3:1 + "X") ) ( ;;*ast.StmtList @ ) ) ) - --- PASS: TestParserRoundTrip/additive (0.01s) + --- PASS: TestParserRoundTrip/incby_operator (0.09s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ additive:1:9-18 - ( ;;*ast.VarDecl @ additive:1:9-18 - counter time_total) - ( ;;*ast.CondStmt @ additive:2:1-13 - ( ;;*ast.PatternExpr @ additive:2:1-13 - ( ;;*ast.PatternLit @ additive:2:1-13 - "(?P.*)") + ( ;;*ast.StmtList @ incby operator:1:9-11 + ( ;;*ast.VarDecl @ incby operator:1:9-11 + counter var) + ( ;;*ast.CondStmt @ incby operator:2:1-5 + ( ;;*ast.PatternExpr @ incby operator:2:1-5 + ( ;;*ast.PatternLit @ incby operator:2:1-5 + "foo") ) - ( ;;*ast.StmtList @ additive:3:13-26 - ( ;;*ast.BinaryExpr @ additive:3:13-26 - - - ( ;;*ast.BuiltinExpr @ additive:3:13 - "timestamp" - ) - ( ;;*ast.IndexedExpr @ additive:3:17-26 + ( ;;*ast.StmtList @ incby operator:3:3-10 + ( ;;*ast.BinaryExpr @ incby operator:3:3-10 + += + ( ;;*ast.IndexedExpr @ incby operator:3:3-5 ( ;;*ast.ExprList @ ) - ( ;;*ast.IdTerm @ additive:3:17-26 - "time_total") + ( ;;*ast.IdTerm @ incby operator:3:3-5 + "var") ) + ( ;;*ast.IntLit @ incby operator:3:10 + 2) ) ) ) ) - --- PASS: TestParserRoundTrip/additive_and_mem_storage (0.07s) + --- PASS: TestParserRoundTrip/getfilename (0.05s) + parser_test.go:337: AST: + ( ;;*ast.StmtList @ getfilename:2:13 + ( ;;*ast.BuiltinExpr @ getfilename:2:13 + "getfilename" + ) + ) + + --- PASS: TestParserRoundTrip/additive_and_mem_storage (0.10s) parser_test.go:337: AST: ( ;;*ast.StmtList @ additive and mem storage:1:9-18 ( ;;*ast.VarDecl @ additive and mem storage:1:9-18 @@ -32690,97 +32886,65 @@ ) ) - --- PASS: TestParserRoundTrip/comment_then_code (0.04s) + --- PASS: TestParserRoundTrip/logical (0.05s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ comment then code:2:10-56 - ( ;;*ast.CondStmt @ comment then code:2:10-56 - ( ;;*ast.PatternExpr @ comment then code:2:10-56 - ( ;;*ast.PatternLit @ comment then code:2:10-56 - "^(?P\\d+/\\d+/\\d+ \\d+:\\d+:\\d+) \\[(?P\\d+)\\] ") - ) - ( ;;*ast.StmtList @ comment then code:3:37 - ( ;;*ast.BuiltinExpr @ comment then code:3:37 - "strptime" - ( ;;*ast.ExprList @ comment then code:3:12-36 - ( ;;*ast.CaprefTerm @ comment then code:3:12-13 - "1") - ( ;;*ast.StringLit @ comment then code:3:16-36 - "2006/01/02 15:04:05") + ( ;;*ast.StmtList @ logical:1:1-11 + ( ;;*ast.CondStmt @ logical:1:1-11 + ( ;;*ast.BinaryExpr @ logical:1:1-11 + && + ( ;;*ast.BinaryExpr @ logical:1:1-6 + || + ( ;;*ast.IntLit @ logical:1:1 + 0) + ( ;;*ast.IntLit @ logical:1:6 + 1) ) - ) - ) - ) - ) - - --- PASS: TestParserRoundTrip/floats (0.07s) - parser_test.go:337: AST: - ( ;;*ast.StmtList @ floats:1:7-9 - ( ;;*ast.VarDecl @ floats:1:7-9 - gauge foo) - ( ;;*ast.CondStmt @ floats:2:1-5 - ( ;;*ast.PatternExpr @ floats:2:1-5 - ( ;;*ast.PatternLit @ floats:2:1-5 - "foo") + ( ;;*ast.IntLit @ logical:1:11 + 0) ) - ( ;;*ast.StmtList @ floats:3:1-10 - ( ;;*ast.BinaryExpr @ floats:3:1-10 - = - ( ;;*ast.IndexedExpr @ floats:3:1-3 - ( ;;*ast.ExprList @ - ) - ( ;;*ast.IdTerm @ floats:3:1-3 - "foo") - ) - ( ;;*ast.FloatLit @ floats:3:7-10 - 3.14) - ) + ( ;;*ast.StmtList @ ) ) ) - --- PASS: TestParserRoundTrip/mod_operator (0.10s) + --- PASS: TestParserRoundTrip/concat_expr_1 (0.03s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ mod operator:1:1-5 - ( ;;*ast.CondStmt @ mod operator:1:1-5 - ( ;;*ast.PatternExpr @ mod operator:1:1-5 - ( ;;*ast.PatternLit @ mod operator:1:1-5 - "foo") - ) - ( ;;*ast.StmtList @ mod operator:2:3-7 - ( ;;*ast.BinaryExpr @ mod operator:2:3-7 - % - ( ;;*ast.IntLit @ mod operator:2:3 - 3) - ( ;;*ast.IntLit @ mod operator:2:7 - 1) + ( ;;*ast.StmtList @ concat expr 1:2:7 + ( ;;*ast.PatternFragment @ concat expr 1:2:7 + const ( ;;*ast.IdTerm @ concat expr 1:2:7 + "X") + ) + ( ;;*ast.CondStmt @ concat expr 1:3:1-9 + ( ;;*ast.PatternExpr @ concat expr 1:3:1-9 + ( ;;*ast.BinaryExpr @ concat expr 1:3:1-9 + ++ + ( ;;*ast.PatternLit @ concat expr 1:3:1-5 + "bar") + ( ;;*ast.IdTerm @ concat expr 1:3:9 + "X") ) ) + ( ;;*ast.StmtList @ + ) ) ) - --- PASS: TestParserRoundTrip/named_capture_group_reference (0.04s) + --- PASS: TestParserRoundTrip/decorator_definition_and_invocation (0.11s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ named capture group reference:1:1-27 - ( ;;*ast.CondStmt @ named capture group reference:1:1-27 - ( ;;*ast.PatternExpr @ named capture group reference:1:1-27 - ( ;;*ast.PatternLit @ named capture group reference:1:1-27 - "(?P[[:digit:]-/ ])") + ( ;;*ast.StmtList @ decorator definition and invocation:1:1-14 + ( ;;*ast.DecoDecl @ decorator definition and invocation:1:1-14 + ( ;;*ast.StmtList @ decorator definition and invocation:1:11-14 + ( ;;*ast.NextStmt @ decorator definition and invocation:1:11-14 + next) ) - ( ;;*ast.StmtList @ named capture group reference:2:38 - ( ;;*ast.BuiltinExpr @ named capture group reference:2:38 - "strptime" - ( ;;*ast.ExprList @ named capture group reference:2:12-37 - ( ;;*ast.CaprefTerm @ named capture group reference:2:12-16 - "date") - ( ;;*ast.StringLit @ named capture group reference:2:19-37 - "%Y/%m/%d %H:%M:%S") - ) - ) + ) + ( ;;*ast.DecoStmt @ decorator definition and invocation:3:1-4 + ( ;;*ast.StmtList @ ) ) ) - --- PASS: TestParserRoundTrip/multiplicative (0.19s) + --- PASS: TestParserRoundTrip/multiplicative (0.11s) parser_test.go:337: AST: ( ;;*ast.StmtList @ multiplicative:1:9 ( ;;*ast.VarDecl @ multiplicative:1:9 @@ -32827,31 +32991,115 @@ ) ) - --- PASS: TestParserRoundTrip/increment_operator (0.18s) + --- PASS: TestParserRoundTrip/named_capture_group_reference (0.04s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ increment operator:1:9-11 - ( ;;*ast.VarDecl @ increment operator:1:9-11 - counter var) - ( ;;*ast.CondStmt @ increment operator:2:1-5 - ( ;;*ast.PatternExpr @ increment operator:2:1-5 - ( ;;*ast.PatternLit @ increment operator:2:1-5 - "foo") + ( ;;*ast.StmtList @ named capture group reference:1:1-27 + ( ;;*ast.CondStmt @ named capture group reference:1:1-27 + ( ;;*ast.PatternExpr @ named capture group reference:1:1-27 + ( ;;*ast.PatternLit @ named capture group reference:1:1-27 + "(?P[[:digit:]-/ ])") ) - ( ;;*ast.StmtList @ increment operator:3:3-7 - ( ;;*ast.UnaryExpr @ increment operator:3:3-7 + ( ;;*ast.StmtList @ named capture group reference:2:38 + ( ;;*ast.BuiltinExpr @ named capture group reference:2:38 + "strptime" + ( ;;*ast.ExprList @ named capture group reference:2:12-37 + ( ;;*ast.CaprefTerm @ named capture group reference:2:12-16 + "date") + ( ;;*ast.StringLit @ named capture group reference:2:19-37 + "%Y/%m/%d %H:%M:%S") + ) + ) + ) + ) + ) + + --- PASS: TestParserRoundTrip/indexed_expression_arg_list (0.08s) + parser_test.go:337: AST: + ( ;;*ast.StmtList @ indexed expression arg list:2:9-11 + ( ;;*ast.VarDecl @ indexed expression arg list:2:9-11 + counter foo (a b)) + ( ;;*ast.CondStmt @ indexed expression arg list:3:1-12 + ( ;;*ast.PatternExpr @ indexed expression arg list:3:1-12 + ( ;;*ast.PatternLit @ indexed expression arg list:3:1-12 + "(\\d) (\\d+)") + ) + ( ;;*ast.StmtList @ indexed expression arg list:4:3-14 + ( ;;*ast.UnaryExpr @ indexed expression arg list:4:3-14 ++ - ( ;;*ast.IndexedExpr @ increment operator:3:3-5 - ( ;;*ast.ExprList @ + ( ;;*ast.IndexedExpr @ indexed expression arg list:4:3-11 + ( ;;*ast.ExprList @ indexed expression arg list:4:7-11 + ( ;;*ast.CaprefTerm @ indexed expression arg list:4:7-8 + "1") + ( ;;*ast.CaprefTerm @ indexed expression arg list:4:10-11 + "2") ) - ( ;;*ast.IdTerm @ increment operator:3:3-5 - "var") + ( ;;*ast.IdTerm @ indexed expression arg list:4:3-5 + "foo") ) ) ) ) ) - --- PASS: TestParserRoundTrip/simple_else_clause (0.12s) + --- PASS: TestParserRoundTrip/newline (0.05s) + parser_test.go:337: AST: + ( ;;*ast.StmtList @ + ) + + --- PASS: TestParserRoundTrip/stop (0.03s) + parser_test.go:337: AST: + ( ;;*ast.StmtList @ stop:2:1-2 + ( ;;*ast.CondStmt @ stop:2:1-2 + ( ;;*ast.PatternExpr @ stop:2:1-2 + ( ;;*ast.PatternLit @ stop:2:1-2 + "") + ) + ( ;;*ast.StmtList @ stop:3:3-6 + ( ;;*ast.StopStmt @ stop:3:3-6 + stop) + ) + ) + ) + + --- PASS: TestParserRoundTrip/empty (0.00s) + parser_test.go:337: AST: + ( ;;*ast.StmtList @ + ) + + --- PASS: TestParserRoundTrip/nested_else_clause (0.08s) + parser_test.go:337: AST: + ( ;;*ast.StmtList @ nested else clause:1:1-34 + ( ;;*ast.CondStmt @ nested else clause:1:1-34 + ( ;;*ast.PatternExpr @ nested else clause:1:1-5 + ( ;;*ast.PatternLit @ nested else clause:1:1-5 + "foo") + ) + ( ;;*ast.StmtList @ nested else clause:1:9-14 + ( ;;*ast.CondStmt @ nested else clause:1:9-14 + ( ;;*ast.PatternExpr @ nested else clause:1:9-14 + ( ;;*ast.PatternLit @ nested else clause:1:9-14 + " bar") + ) + ( ;;*ast.StmtList @ + ) + ) + ) + ( ;;*ast.StmtList @ nested else clause:1:29-34 + ( ;;*ast.CondStmt @ nested else clause:1:29-34 + ( ;;*ast.PatternExpr @ nested else clause:1:29-34 + ( ;;*ast.PatternLit @ nested else clause:1:29-34 + "quux") + ) + ( ;;*ast.StmtList @ + ) + ( ;;*ast.StmtList @ + ) + ) + ) + ) + ) + + --- PASS: TestParserRoundTrip/simple_else_clause (0.09s) parser_test.go:337: AST: ( ;;*ast.StmtList @ simple else clause:1:1-5 ( ;;*ast.CondStmt @ simple else clause:1:1-5 @@ -32866,55 +33114,137 @@ ) ) - --- PASS: TestParserRoundTrip/strptime_and_capref (0.16s) + --- PASS: TestParserRoundTrip/regex_cond_expr (0.08s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ strptime and capref:1:1-6 - ( ;;*ast.CondStmt @ strptime and capref:1:1-6 - ( ;;*ast.PatternExpr @ strptime and capref:1:1-6 - ( ;;*ast.PatternLit @ strptime and capref:1:1-6 - "(.*)") + ( ;;*ast.StmtList @ regex cond expr:2:1-11 + ( ;;*ast.CondStmt @ regex cond expr:2:1-11 + ( ;;*ast.BinaryExpr @ regex cond expr:2:1-11 + && + ( ;;*ast.PatternExpr @ regex cond expr:2:1-6 + ( ;;*ast.PatternLit @ regex cond expr:2:1-6 + "(\\d)") + ) + ( ;;*ast.IntLit @ regex cond expr:2:11 + 1) ) - ( ;;*ast.StmtList @ strptime and capref:2:41 - ( ;;*ast.BuiltinExpr @ strptime and capref:2:41 - "strptime" - ( ;;*ast.ExprList @ strptime and capref:2:10-40 - ( ;;*ast.CaprefTerm @ strptime and capref:2:10-11 - "1") - ( ;;*ast.StringLit @ strptime and capref:2:14-40 - "2006-01-02T15:04:05Z07:00") + ( ;;*ast.StmtList @ + ) + ) + ) + + --- PASS: TestParserRoundTrip/def_and_next (0.05s) + parser_test.go:337: AST: + ( ;;*ast.StmtList @ def and next:1:13-34 + ( ;;*ast.DecoDecl @ def and next:1:13-34 + ( ;;*ast.StmtList @ def and next:1:13-34 + ( ;;*ast.CondStmt @ def and next:1:13-34 + ( ;;*ast.PatternExpr @ def and next:1:13-26 + ( ;;*ast.PatternLit @ def and next:1:13-26 + "(?P.*)") + ) + ( ;;*ast.StmtList @ def and next:1:31-34 + ( ;;*ast.NextStmt @ def and next:1:31-34 + next) ) ) ) ) ) - --- PASS: TestParserRoundTrip/incby_operator (0.12s) + --- PASS: TestParserRoundTrip/declare_multi-dimensioned_counter (0.06s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ incby operator:1:9-11 - ( ;;*ast.VarDecl @ incby operator:1:9-11 - counter var) - ( ;;*ast.CondStmt @ incby operator:2:1-5 - ( ;;*ast.PatternExpr @ incby operator:2:1-5 - ( ;;*ast.PatternLit @ incby operator:2:1-5 + ( ;;*ast.StmtList @ declare multi-dimensioned counter:1:9-11 + ( ;;*ast.VarDecl @ declare multi-dimensioned counter:1:9-11 + counter foo (bar baz quux)) + ) + + --- PASS: TestParserRoundTrip/match_expression_1 (0.01s) + parser_test.go:337: AST: + ( ;;*ast.StmtList @ match expression 1:2:1-13 + ( ;;*ast.CondStmt @ match expression 1:2:1-13 + ( ;;*ast.BinaryExpr @ match expression 1:2:1-13 + =~ + ( ;;*ast.CaprefTerm @ match expression 1:2:1-4 + "foo") + ( ;;*ast.PatternExpr @ match expression 1:2:9-13 + ( ;;*ast.PatternLit @ match expression 1:2:9-13 + "bar") + ) + ) + ( ;;*ast.StmtList @ + ) + ) + ( ;;*ast.CondStmt @ match expression 1:4:1-13 + ( ;;*ast.BinaryExpr @ match expression 1:4:1-13 + !~ + ( ;;*ast.CaprefTerm @ match expression 1:4:1-4 + "foo") + ( ;;*ast.PatternExpr @ match expression 1:4:9-13 + ( ;;*ast.PatternLit @ match expression 1:4:9-13 + "bar") + ) + ) + ( ;;*ast.StmtList @ + ) + ) + ) + + --- PASS: TestParserRoundTrip/floats (0.05s) + parser_test.go:337: AST: + ( ;;*ast.StmtList @ floats:1:7-9 + ( ;;*ast.VarDecl @ floats:1:7-9 + gauge foo) + ( ;;*ast.CondStmt @ floats:2:1-5 + ( ;;*ast.PatternExpr @ floats:2:1-5 + ( ;;*ast.PatternLit @ floats:2:1-5 "foo") ) - ( ;;*ast.StmtList @ incby operator:3:3-10 - ( ;;*ast.BinaryExpr @ incby operator:3:3-10 - += - ( ;;*ast.IndexedExpr @ incby operator:3:3-5 + ( ;;*ast.StmtList @ floats:3:1-10 + ( ;;*ast.BinaryExpr @ floats:3:1-10 + = + ( ;;*ast.IndexedExpr @ floats:3:1-3 ( ;;*ast.ExprList @ ) - ( ;;*ast.IdTerm @ incby operator:3:3-5 - "var") + ( ;;*ast.IdTerm @ floats:3:1-3 + "foo") ) - ( ;;*ast.IntLit @ incby operator:3:10 - 2) + ( ;;*ast.FloatLit @ floats:3:7-10 + 3.14) + ) + ) + ) + ) + + --- PASS: TestParserRoundTrip/len (0.07s) + parser_test.go:337: AST: + ( ;;*ast.StmtList @ len:1:1-14 + ( ;;*ast.CondStmt @ len:1:1-14 + ( ;;*ast.PatternExpr @ len:1:1-14 + ( ;;*ast.PatternLit @ len:1:1-14 + "(?Pfoo)") + ) + ( ;;*ast.StmtList @ len:2:9-13 + ( ;;*ast.CondStmt @ len:2:9-13 + ( ;;*ast.BinaryExpr @ len:2:9-13 + > + ( ;;*ast.BuiltinExpr @ len:2:9 + "len" + ( ;;*ast.ExprList @ len:2:5-8 + ( ;;*ast.CaprefTerm @ len:2:5-8 + "foo") + ) + ) + ( ;;*ast.IntLit @ len:2:13 + 0) + ) + ( ;;*ast.StmtList @ + ) ) ) ) ) - --- PASS: TestParserRoundTrip/decrement_counter (0.05s) + --- PASS: TestParserRoundTrip/decrement_counter (0.17s) parser_test.go:337: AST: ( ;;*ast.StmtList @ decrement counter:1:9 ( ;;*ast.VarDecl @ decrement counter:1:9 @@ -32938,37 +33268,48 @@ ) ) - --- PASS: TestParserRoundTrip/logical (0.05s) + --- PASS: TestParserRoundTrip/delete_after (0.02s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ logical:1:1-11 - ( ;;*ast.CondStmt @ logical:1:1-11 - ( ;;*ast.BinaryExpr @ logical:1:1-11 - && - ( ;;*ast.BinaryExpr @ logical:1:1-6 - || - ( ;;*ast.IntLit @ logical:1:1 - 0) - ( ;;*ast.IntLit @ logical:1:6 - 1) - ) - ( ;;*ast.IntLit @ logical:1:11 - 0) + ( ;;*ast.StmtList @ delete after:1:9-11 + ( ;;*ast.VarDecl @ delete after:1:9-11 + counter foo (bar)) + ( ;;*ast.CondStmt @ delete after:2:1-5 + ( ;;*ast.PatternExpr @ delete after:2:1-5 + ( ;;*ast.PatternLit @ delete after:2:1-5 + "foo") ) - ( ;;*ast.StmtList @ + ( ;;*ast.StmtList @ delete after:3:21-24 + ( ;;*ast.DelStmt @ delete after:3:21-24 + del after 168h0m0s) ) ) ) - --- PASS: TestParserRoundTrip/const (0.10s) + --- PASS: TestParserRoundTrip/match_expr_4 (0.05s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ const:1:7-8 - ( ;;*ast.PatternFragment @ const:1:7-8 - const ( ;;*ast.IdTerm @ const:1:7-8 - "IP") - ) + ( ;;*ast.StmtList @ match expr 4:2:1-27 + ( ;;*ast.CondStmt @ match expr 4:2:1-27 + ( ;;*ast.PatternExpr @ match expr 4:2:1-27 + ( ;;*ast.PatternLit @ match expr 4:2:1-27 + "(?P.{6}) (?P.*)") + ) + ( ;;*ast.StmtList @ match expr 4:3:3-14 + ( ;;*ast.CondStmt @ match expr 4:3:3-14 + ( ;;*ast.BinaryExpr @ match expr 4:3:3-14 + =~ + ( ;;*ast.CaprefTerm @ match expr 4:3:3-6 + "foo") + ( ;;*ast.CaprefTerm @ match expr 4:3:11-14 + "bar") + ) + ( ;;*ast.StmtList @ + ) + ) + ) + ) ) - --- PASS: TestParserRoundTrip/pattern_action_then_otherwise_action (0.24s) + --- PASS: TestParserRoundTrip/pattern_action_then_otherwise_action (0.13s) parser_test.go:337: AST: ( ;;*ast.StmtList @ pattern action then otherwise action:1:9-18 ( ;;*ast.VarDecl @ pattern action then otherwise action:1:9-18 @@ -33013,215 +33354,60 @@ ) ) - --- PASS: TestParserRoundTrip/assignment (0.22s) - parser_test.go:337: AST: - ( ;;*ast.StmtList @ assignment:1:9-16 - ( ;;*ast.VarDecl @ assignment:1:9-16 - counter variable) - ( ;;*ast.CondStmt @ assignment:2:1-13 - ( ;;*ast.PatternExpr @ assignment:2:1-13 - ( ;;*ast.PatternLit @ assignment:2:1-13 - "(?P.*)") - ) - ( ;;*ast.StmtList @ assignment:3:1-15 - ( ;;*ast.BinaryExpr @ assignment:3:1-15 - = - ( ;;*ast.IndexedExpr @ assignment:3:1-8 - ( ;;*ast.ExprList @ - ) - ( ;;*ast.IdTerm @ assignment:3:1-8 - "variable") - ) - ( ;;*ast.CaprefTerm @ assignment:3:12-15 - "foo") - ) - ) - ) - ) - - --- PASS: TestParserRoundTrip/nested_match_conditions (0.18s) + --- PASS: TestParserRoundTrip/bitwise (0.09s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ nested match conditions:1:9-11 - ( ;;*ast.VarDecl @ nested match conditions:1:9-11 - counter foo) - ( ;;*ast.VarDecl @ nested match conditions:2:9-11 - counter bar) - ( ;;*ast.CondStmt @ nested match conditions:3:1-12 - ( ;;*ast.PatternExpr @ nested match conditions:3:1-12 - ( ;;*ast.PatternLit @ nested match conditions:3:1-12 - "match(\\d+)") + ( ;;*ast.StmtList @ bitwise:1:1-9 + ( ;;*ast.CondStmt @ bitwise:1:1-9 + ( ;;*ast.PatternExpr @ bitwise:1:1-9 + ( ;;*ast.PatternLit @ bitwise:1:1-9 + "foo(\\d)") ) - ( ;;*ast.StmtList @ nested match conditions:4:3-11 - ( ;;*ast.BinaryExpr @ nested match conditions:4:3-11 - += - ( ;;*ast.IndexedExpr @ nested match conditions:4:3-5 - ( ;;*ast.ExprList @ - ) - ( ;;*ast.IdTerm @ nested match conditions:4:3-5 - "foo") - ) - ( ;;*ast.CaprefTerm @ nested match conditions:4:10-11 + ( ;;*ast.StmtList @ bitwise:2:3-8 + ( ;;*ast.BinaryExpr @ bitwise:2:3-8 + & + ( ;;*ast.CaprefTerm @ bitwise:2:3-4 "1") + ( ;;*ast.IntLit @ bitwise:2:8 + 7) ) - ( ;;*ast.CondStmt @ nested match conditions:5:3-15 - ( ;;*ast.PatternExpr @ nested match conditions:5:3-15 - ( ;;*ast.PatternLit @ nested match conditions:5:3-15 - "^bleh (\\S+)") - ) - ( ;;*ast.StmtList @ nested match conditions:6:5-9 - ( ;;*ast.UnaryExpr @ nested match conditions:6:5-9 - ++ - ( ;;*ast.IndexedExpr @ nested match conditions:6:5-7 - ( ;;*ast.ExprList @ - ) - ( ;;*ast.IdTerm @ nested match conditions:6:5-7 - "bar") - ) - ) - ( ;;*ast.UnaryExpr @ nested match conditions:7:5-8 - ++ - ( ;;*ast.CaprefTerm @ nested match conditions:7:5-6 - "1") - ) - ) - ) - ) + ( ;;*ast.BinaryExpr @ bitwise:3:3-8 + | + ( ;;*ast.CaprefTerm @ bitwise:3:3-4 + "1") + ( ;;*ast.IntLit @ bitwise:3:8 + 8) ) - ) - - --- PASS: TestParserRoundTrip/multiline_regex (0.12s) - parser_test.go:337: AST: - ( ;;*ast.StmtList @ multiline regex:1:1-6 - ( ;;*ast.CondStmt @ multiline regex:1:1-6 - ( ;;*ast.PatternExpr @ multiline regex:1:1-6 - ( ;;*ast.BinaryExpr @ multiline regex:1:1-6 - ++ - ( ;;*ast.PatternLit @ multiline regex:1:1-6 - "foo ") - ( ;;*ast.PatternLit @ multiline regex:2:1-7 - "barrr") + ( ;;*ast.BinaryExpr @ bitwise:4:3-9 + << + ( ;;*ast.CaprefTerm @ bitwise:4:3-4 + "1") + ( ;;*ast.IntLit @ bitwise:4:9 + 4) ) - ) - ( ;;*ast.StmtList @ - ) - ) - ) - - --- PASS: TestParserRoundTrip/simple_otherwise_action (0.14s) - parser_test.go:337: AST: - ( ;;*ast.StmtList @ simple otherwise action:1:12 - ( ;;*ast.CondStmt @ simple otherwise action:1:12 - ( ;;*ast.OtherwiseStmt @ simple otherwise action:1:12 - otherwise) - ( ;;*ast.StmtList @ - ) - ) - ) - - --- PASS: TestParserRoundTrip/delete (0.06s) - parser_test.go:337: AST: - ( ;;*ast.StmtList @ delete:1:9-11 - ( ;;*ast.VarDecl @ delete:1:9-11 - counter foo (bar)) - ( ;;*ast.CondStmt @ delete:2:1-5 - ( ;;*ast.PatternExpr @ delete:2:1-5 - ( ;;*ast.PatternLit @ delete:2:1-5 - "foo") - ) - ( ;;*ast.StmtList @ delete:4:14 - ( ;;*ast.DelStmt @ delete:4:14 - del) - ) - ) - ) - - --- PASS: TestParserRoundTrip/nested_else_clause (0.29s) - parser_test.go:337: AST: - ( ;;*ast.StmtList @ nested else clause:1:1-34 - ( ;;*ast.CondStmt @ nested else clause:1:1-34 - ( ;;*ast.PatternExpr @ nested else clause:1:1-5 - ( ;;*ast.PatternLit @ nested else clause:1:1-5 - "foo") - ) - ( ;;*ast.StmtList @ nested else clause:1:9-14 - ( ;;*ast.CondStmt @ nested else clause:1:9-14 - ( ;;*ast.PatternExpr @ nested else clause:1:9-14 - ( ;;*ast.PatternLit @ nested else clause:1:9-14 - " bar") - ) - ( ;;*ast.StmtList @ - ) + ( ;;*ast.BinaryExpr @ bitwise:5:3-10 + >> + ( ;;*ast.CaprefTerm @ bitwise:5:3-4 + "1") + ( ;;*ast.IntLit @ bitwise:5:9-10 + 20) ) - ) - ( ;;*ast.StmtList @ nested else clause:1:29-34 - ( ;;*ast.CondStmt @ nested else clause:1:29-34 - ( ;;*ast.PatternExpr @ nested else clause:1:29-34 - ( ;;*ast.PatternLit @ nested else clause:1:29-34 - "quux") - ) - ( ;;*ast.StmtList @ - ) - ( ;;*ast.StmtList @ - ) + ( ;;*ast.BinaryExpr @ bitwise:6:3-9 + ^ + ( ;;*ast.CaprefTerm @ bitwise:6:3-4 + "1") + ( ;;*ast.IntLit @ bitwise:6:8-9 + 15) ) - ) - ) - ) - - --- PASS: TestParserRoundTrip/match_expression_1 (0.03s) - parser_test.go:337: AST: - ( ;;*ast.StmtList @ match expression 1:2:1-13 - ( ;;*ast.CondStmt @ match expression 1:2:1-13 - ( ;;*ast.BinaryExpr @ match expression 1:2:1-13 - =~ - ( ;;*ast.CaprefTerm @ match expression 1:2:1-4 - "foo") - ( ;;*ast.PatternExpr @ match expression 1:2:9-13 - ( ;;*ast.PatternLit @ match expression 1:2:9-13 - "bar") - ) - ) - ( ;;*ast.StmtList @ - ) - ) - ( ;;*ast.CondStmt @ match expression 1:4:1-13 - ( ;;*ast.BinaryExpr @ match expression 1:4:1-13 - !~ - ( ;;*ast.CaprefTerm @ match expression 1:4:1-4 - "foo") - ( ;;*ast.PatternExpr @ match expression 1:4:9-13 - ( ;;*ast.PatternLit @ match expression 1:4:9-13 - "bar") + ( ;;*ast.UnaryExpr @ bitwise:8:6 + ~ + ( ;;*ast.IntLit @ bitwise:7:5 + 1) ) - ) - ( ;;*ast.StmtList @ - ) - ) - ) - - --- PASS: TestParserRoundTrip/concat_expr_1 (0.02s) - parser_test.go:337: AST: - ( ;;*ast.StmtList @ concat expr 1:2:7 - ( ;;*ast.PatternFragment @ concat expr 1:2:7 - const ( ;;*ast.IdTerm @ concat expr 1:2:7 - "X") - ) - ( ;;*ast.CondStmt @ concat expr 1:3:1-9 - ( ;;*ast.PatternExpr @ concat expr 1:3:1-9 - ( ;;*ast.BinaryExpr @ concat expr 1:3:1-9 - ++ - ( ;;*ast.PatternLit @ concat expr 1:3:1-5 - "bar") - ( ;;*ast.IdTerm @ concat expr 1:3:9 - "X") ) ) - ( ;;*ast.StmtList @ - ) ) - ) - --- PASS: TestParserRoundTrip/paren_expr (0.02s) + --- PASS: TestParserRoundTrip/paren_expr (0.04s) parser_test.go:337: AST: ( ;;*ast.StmtList @ paren expr:2:2-14 ( ;;*ast.CondStmt @ paren expr:2:2-14 @@ -33242,165 +33428,180 @@ ) ) - --- PASS: TestParserRoundTrip/delete_after (0.01s) + --- PASS: TestParserRoundTrip/multiline_regex (0.04s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ delete after:1:9-11 - ( ;;*ast.VarDecl @ delete after:1:9-11 - counter foo (bar)) - ( ;;*ast.CondStmt @ delete after:2:1-5 - ( ;;*ast.PatternExpr @ delete after:2:1-5 - ( ;;*ast.PatternLit @ delete after:2:1-5 - "foo") + ( ;;*ast.StmtList @ multiline regex:1:1-6 + ( ;;*ast.CondStmt @ multiline regex:1:1-6 + ( ;;*ast.PatternExpr @ multiline regex:1:1-6 + ( ;;*ast.BinaryExpr @ multiline regex:1:1-6 + ++ + ( ;;*ast.PatternLit @ multiline regex:1:1-6 + "foo ") + ( ;;*ast.PatternLit @ multiline regex:2:1-7 + "barrr") + ) ) - ( ;;*ast.StmtList @ delete after:3:21-24 - ( ;;*ast.DelStmt @ delete after:3:21-24 - del after 168h0m0s) + ( ;;*ast.StmtList @ ) ) ) - --- PASS: TestParserRoundTrip/concat_expr_2 (0.05s) + --- PASS: TestParserRoundTrip/match_expression_2 (0.04s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ concat expr 2:2:7 - ( ;;*ast.PatternFragment @ concat expr 2:2:7 - const ( ;;*ast.IdTerm @ concat expr 2:2:7 - "X") - ) - ( ;;*ast.CondStmt @ concat expr 2:3:1 - ( ;;*ast.IndexedExpr @ concat expr 2:3:1 - ( ;;*ast.ExprList @ - ) - ( ;;*ast.IdTerm @ concat expr 2:3:1 - "X") + ( ;;*ast.StmtList @ match expression 2:2:1-17 + ( ;;*ast.CondStmt @ match expression 2:2:1-17 + ( ;;*ast.BinaryExpr @ match expression 2:2:1-17 + =~ + ( ;;*ast.CaprefTerm @ match expression 2:2:1-4 + "foo") + ( ;;*ast.PatternExpr @ match expression 2:2:9-17 + ( ;;*ast.BinaryExpr @ match expression 2:2:9-17 + ++ + ( ;;*ast.PatternLit @ match expression 2:2:9-13 + "bar") + ( ;;*ast.IdTerm @ match expression 2:2:17 + "X") + ) + ) ) ( ;;*ast.StmtList @ ) ) ) - --- PASS: TestParserRoundTrip/getfilename (0.00s) + --- PASS: TestParserRoundTrip/simple_pattern_action (0.03s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ getfilename:2:13 - ( ;;*ast.BuiltinExpr @ getfilename:2:13 - "getfilename" + ( ;;*ast.StmtList @ simple pattern action:1:1-5 + ( ;;*ast.CondStmt @ simple pattern action:1:1-5 + ( ;;*ast.PatternExpr @ simple pattern action:1:1-5 + ( ;;*ast.PatternLit @ simple pattern action:1:1-5 + "foo") + ) + ( ;;*ast.StmtList @ + ) ) ) - --- PASS: TestParserRoundTrip/indexed_expression_arg_list (0.04s) + --- PASS: TestParserRoundTrip/numeric_capture_group_reference (0.05s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ indexed expression arg list:2:9-11 - ( ;;*ast.VarDecl @ indexed expression arg list:2:9-11 - counter foo (a b)) - ( ;;*ast.CondStmt @ indexed expression arg list:3:1-12 - ( ;;*ast.PatternExpr @ indexed expression arg list:3:1-12 - ( ;;*ast.PatternLit @ indexed expression arg list:3:1-12 - "(\\d) (\\d+)") + ( ;;*ast.StmtList @ numeric capture group reference:1:1-7 + ( ;;*ast.CondStmt @ numeric capture group reference:1:1-7 + ( ;;*ast.PatternExpr @ numeric capture group reference:1:1-7 + ( ;;*ast.PatternLit @ numeric capture group reference:1:1-7 + "(foo)") ) - ( ;;*ast.StmtList @ indexed expression arg list:4:3-14 - ( ;;*ast.UnaryExpr @ indexed expression arg list:4:3-14 + ( ;;*ast.StmtList @ numeric capture group reference:2:3-6 + ( ;;*ast.UnaryExpr @ numeric capture group reference:2:3-6 ++ - ( ;;*ast.IndexedExpr @ indexed expression arg list:4:3-11 - ( ;;*ast.ExprList @ indexed expression arg list:4:7-11 - ( ;;*ast.CaprefTerm @ indexed expression arg list:4:7-8 - "1") - ( ;;*ast.CaprefTerm @ indexed expression arg list:4:10-11 - "2") - ) - ( ;;*ast.IdTerm @ indexed expression arg list:4:3-5 - "foo") - ) + ( ;;*ast.CaprefTerm @ numeric capture group reference:2:3-4 + "1") ) ) ) ) - --- PASS: TestParserRoundTrip/stop (0.09s) - parser_test.go:337: AST: - ( ;;*ast.StmtList @ stop:2:1-2 - ( ;;*ast.CondStmt @ stop:2:1-2 - ( ;;*ast.PatternExpr @ stop:2:1-2 - ( ;;*ast.PatternLit @ stop:2:1-2 - "") - ) - ( ;;*ast.StmtList @ stop:3:3-6 - ( ;;*ast.StopStmt @ stop:3:3-6 - stop) - ) - ) - ) - - --- PASS: TestParserRoundTrip/match_expression_2 (0.05s) + --- PASS: TestParserRoundTrip/const_regex (0.05s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ match expression 2:2:1-17 - ( ;;*ast.CondStmt @ match expression 2:2:1-17 - ( ;;*ast.BinaryExpr @ match expression 2:2:1-17 - =~ - ( ;;*ast.CaprefTerm @ match expression 2:2:1-4 - "foo") - ( ;;*ast.PatternExpr @ match expression 2:2:9-17 - ( ;;*ast.BinaryExpr @ match expression 2:2:9-17 + ( ;;*ast.StmtList @ const regex:1:7 + ( ;;*ast.PatternFragment @ const regex:1:7 + const ( ;;*ast.IdTerm @ const regex:1:7 + "X") + ) + ( ;;*ast.CondStmt @ const regex:2:1-19 + ( ;;*ast.PatternExpr @ const regex:2:1-19 + ( ;;*ast.BinaryExpr @ const regex:2:1-19 + ++ + ( ;;*ast.BinaryExpr @ const regex:2:1-10 ++ - ( ;;*ast.PatternLit @ match expression 2:2:9-13 - "bar") - ( ;;*ast.IdTerm @ match expression 2:2:17 + ( ;;*ast.PatternLit @ const regex:2:1-6 + "foo ") + ( ;;*ast.IdTerm @ const regex:2:10 "X") ) - ) + ( ;;*ast.PatternLit @ const regex:2:14-19 + " bar") + ) ) ( ;;*ast.StmtList @ ) ) ) - --- PASS: TestParserRoundTrip/match_expression_3 (0.09s) + --- PASS: TestParserRoundTrip/additive (0.04s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ match expression 3:2:7 - ( ;;*ast.PatternFragment @ match expression 3:2:7 - const ( ;;*ast.IdTerm @ match expression 3:2:7 - "X") - ) - ( ;;*ast.CondStmt @ match expression 3:3:1-9 - ( ;;*ast.BinaryExpr @ match expression 3:3:1-9 - =~ - ( ;;*ast.CaprefTerm @ match expression 3:3:1-4 - "foo") - ( ;;*ast.IndexedExpr @ match expression 3:3:9 - ( ;;*ast.ExprList @ - ) - ( ;;*ast.IdTerm @ match expression 3:3:9 - "X") - ) + ( ;;*ast.StmtList @ additive:1:9-18 + ( ;;*ast.VarDecl @ additive:1:9-18 + counter time_total) + ( ;;*ast.CondStmt @ additive:2:1-13 + ( ;;*ast.PatternExpr @ additive:2:1-13 + ( ;;*ast.PatternLit @ additive:2:1-13 + "(?P.*)") ) - ( ;;*ast.StmtList @ + ( ;;*ast.StmtList @ additive:3:13-26 + ( ;;*ast.BinaryExpr @ additive:3:13-26 + - + ( ;;*ast.BuiltinExpr @ additive:3:13 + "timestamp" + ) + ( ;;*ast.IndexedExpr @ additive:3:17-26 + ( ;;*ast.ExprList @ + ) + ( ;;*ast.IdTerm @ additive:3:17-26 + "time_total") + ) + ) ) ) ) - --- PASS: TestParserRoundTrip/regex_match_includes_escaped_slashes (0.25s) + --- PASS: TestParserRoundTrip/increment_operator (0.04s) parser_test.go:337: AST: - ( ;;*ast.StmtList @ regex match includes escaped slashes:1:9-11 - ( ;;*ast.VarDecl @ regex match includes escaped slashes:1:9-11 - counter foo) - ( ;;*ast.CondStmt @ regex match includes escaped slashes:2:1-15 - ( ;;*ast.PatternExpr @ regex match includes escaped slashes:2:1-7 - ( ;;*ast.PatternLit @ regex match includes escaped slashes:2:1-7 - "foo/") + ( ;;*ast.StmtList @ increment operator:1:9-11 + ( ;;*ast.VarDecl @ increment operator:1:9-11 + counter var) + ( ;;*ast.CondStmt @ increment operator:2:1-5 + ( ;;*ast.PatternExpr @ increment operator:2:1-5 + ( ;;*ast.PatternLit @ increment operator:2:1-5 + "foo") ) - ( ;;*ast.StmtList @ regex match includes escaped slashes:2:11-15 - ( ;;*ast.UnaryExpr @ regex match includes escaped slashes:2:11-15 + ( ;;*ast.StmtList @ increment operator:3:3-7 + ( ;;*ast.UnaryExpr @ increment operator:3:3-7 ++ - ( ;;*ast.IndexedExpr @ regex match includes escaped slashes:2:11-13 + ( ;;*ast.IndexedExpr @ increment operator:3:3-5 ( ;;*ast.ExprList @ ) - ( ;;*ast.IdTerm @ regex match includes escaped slashes:2:11-13 - "foo") + ( ;;*ast.IdTerm @ increment operator:3:3-5 + "var") ) ) ) ) ) - --- PASS: TestParserRoundTrip/nested_scope (0.26s) + --- PASS: TestParserRoundTrip/capref_used_in_def (0.10s) + parser_test.go:337: AST: + ( ;;*ast.StmtList @ capref used in def:2:1-21 + ( ;;*ast.CondStmt @ capref used in def:2:1-21 + ( ;;*ast.BinaryExpr @ capref used in def:2:1-21 + && + ( ;;*ast.PatternExpr @ capref used in def:2:1-11 + ( ;;*ast.PatternLit @ capref used in def:2:1-11 + "(?P.*)") + ) + ( ;;*ast.BinaryExpr @ capref used in def:2:16-21 + > + ( ;;*ast.CaprefTerm @ capref used in def:2:16-17 + "x") + ( ;;*ast.IntLit @ capref used in def:2:21 + 0) + ) + ) + ( ;;*ast.StmtList @ + ) + ) + ) + + --- PASS: TestParserRoundTrip/nested_scope (0.13s) parser_test.go:337: AST: ( ;;*ast.StmtList @ nested scope:1:9-11 ( ;;*ast.VarDecl @ nested scope:1:9-11 @@ -33446,54 +33647,7 @@ ) ) - --- PASS: TestParserRoundTrip/capref_used_in_def (0.08s) - parser_test.go:337: AST: - ( ;;*ast.StmtList @ capref used in def:2:1-21 - ( ;;*ast.CondStmt @ capref used in def:2:1-21 - ( ;;*ast.BinaryExpr @ capref used in def:2:1-21 - && - ( ;;*ast.PatternExpr @ capref used in def:2:1-11 - ( ;;*ast.PatternLit @ capref used in def:2:1-11 - "(?P.*)") - ) - ( ;;*ast.BinaryExpr @ capref used in def:2:16-21 - > - ( ;;*ast.CaprefTerm @ capref used in def:2:16-17 - "x") - ( ;;*ast.IntLit @ capref used in def:2:21 - 0) - ) - ) - ( ;;*ast.StmtList @ - ) - ) - ) - - --- PASS: TestParserRoundTrip/match_expr_4 (0.10s) - parser_test.go:337: AST: - ( ;;*ast.StmtList @ match expr 4:2:1-27 - ( ;;*ast.CondStmt @ match expr 4:2:1-27 - ( ;;*ast.PatternExpr @ match expr 4:2:1-27 - ( ;;*ast.PatternLit @ match expr 4:2:1-27 - "(?P.{6}) (?P.*)") - ) - ( ;;*ast.StmtList @ match expr 4:3:3-14 - ( ;;*ast.CondStmt @ match expr 4:3:3-14 - ( ;;*ast.BinaryExpr @ match expr 4:3:3-14 - =~ - ( ;;*ast.CaprefTerm @ match expr 4:3:3-6 - "foo") - ( ;;*ast.CaprefTerm @ match expr 4:3:11-14 - "bar") - ) - ( ;;*ast.StmtList @ - ) - ) - ) - ) - ) - - --- PASS: TestParserRoundTrip/conditional_expressions (0.36s) + --- PASS: TestParserRoundTrip/conditional_expressions (0.23s) parser_test.go:337: AST: ( ;;*ast.StmtList @ conditional expressions:1:9-11 ( ;;*ast.VarDecl @ conditional expressions:1:9-11 @@ -33640,125 +33794,6 @@ ) ) - --- PASS: TestParserRoundTrip/def_and_next (0.20s) - parser_test.go:337: AST: - ( ;;*ast.StmtList @ def and next:1:13-34 - ( ;;*ast.DecoDecl @ def and next:1:13-34 - ( ;;*ast.StmtList @ def and next:1:13-34 - ( ;;*ast.CondStmt @ def and next:1:13-34 - ( ;;*ast.PatternExpr @ def and next:1:13-26 - ( ;;*ast.PatternLit @ def and next:1:13-26 - "(?P.*)") - ) - ( ;;*ast.StmtList @ def and next:1:31-34 - ( ;;*ast.NextStmt @ def and next:1:31-34 - next) - ) - ) - ) - ) - ) - - --- PASS: TestParserRoundTrip/regex_cond_expr (0.04s) - parser_test.go:337: AST: - ( ;;*ast.StmtList @ regex cond expr:2:1-11 - ( ;;*ast.CondStmt @ regex cond expr:2:1-11 - ( ;;*ast.BinaryExpr @ regex cond expr:2:1-11 - && - ( ;;*ast.PatternExpr @ regex cond expr:2:1-6 - ( ;;*ast.PatternLit @ regex cond expr:2:1-6 - "(\\d)") - ) - ( ;;*ast.IntLit @ regex cond expr:2:11 - 1) - ) - ( ;;*ast.StmtList @ - ) - ) - ) - - --- PASS: TestParserRoundTrip/len (0.20s) - parser_test.go:337: AST: - ( ;;*ast.StmtList @ len:1:1-14 - ( ;;*ast.CondStmt @ len:1:1-14 - ( ;;*ast.PatternExpr @ len:1:1-14 - ( ;;*ast.PatternLit @ len:1:1-14 - "(?Pfoo)") - ) - ( ;;*ast.StmtList @ len:2:9-13 - ( ;;*ast.CondStmt @ len:2:9-13 - ( ;;*ast.BinaryExpr @ len:2:9-13 - > - ( ;;*ast.BuiltinExpr @ len:2:9 - "len" - ( ;;*ast.ExprList @ len:2:5-8 - ( ;;*ast.CaprefTerm @ len:2:5-8 - "foo") - ) - ) - ( ;;*ast.IntLit @ len:2:13 - 0) - ) - ( ;;*ast.StmtList @ - ) - ) - ) - ) - ) - - --- PASS: TestParserRoundTrip/bitwise (0.20s) - parser_test.go:337: AST: - ( ;;*ast.StmtList @ bitwise:1:1-9 - ( ;;*ast.CondStmt @ bitwise:1:1-9 - ( ;;*ast.PatternExpr @ bitwise:1:1-9 - ( ;;*ast.PatternLit @ bitwise:1:1-9 - "foo(\\d)") - ) - ( ;;*ast.StmtList @ bitwise:2:3-8 - ( ;;*ast.BinaryExpr @ bitwise:2:3-8 - & - ( ;;*ast.CaprefTerm @ bitwise:2:3-4 - "1") - ( ;;*ast.IntLit @ bitwise:2:8 - 7) - ) - ( ;;*ast.BinaryExpr @ bitwise:3:3-8 - | - ( ;;*ast.CaprefTerm @ bitwise:3:3-4 - "1") - ( ;;*ast.IntLit @ bitwise:3:8 - 8) - ) - ( ;;*ast.BinaryExpr @ bitwise:4:3-9 - << - ( ;;*ast.CaprefTerm @ bitwise:4:3-4 - "1") - ( ;;*ast.IntLit @ bitwise:4:9 - 4) - ) - ( ;;*ast.BinaryExpr @ bitwise:5:3-10 - >> - ( ;;*ast.CaprefTerm @ bitwise:5:3-4 - "1") - ( ;;*ast.IntLit @ bitwise:5:9-10 - 20) - ) - ( ;;*ast.BinaryExpr @ bitwise:6:3-9 - ^ - ( ;;*ast.CaprefTerm @ bitwise:6:3-4 - "1") - ( ;;*ast.IntLit @ bitwise:6:8-9 - 15) - ) - ( ;;*ast.UnaryExpr @ bitwise:8:6 - ~ - ( ;;*ast.IntLit @ bitwise:7:5 - 1) - ) - ) - ) - ) - === RUN TestParseInvalidPrograms === RUN TestParseInvalidPrograms/unknown_character === PAUSE TestParseInvalidPrograms/unknown_character @@ -33772,21 +33807,15 @@ === PAUSE TestParseInvalidPrograms/index_of_non-terminal_1 === RUN TestParseInvalidPrograms/index_of_non-terminal_2 === PAUSE TestParseInvalidPrograms/index_of_non-terminal_2 -=== CONT TestParseInvalidPrograms/unterminated_regex +=== CONT TestParseInvalidPrograms/unknown_character +=== CONT TestParseInvalidPrograms/unterminated_const_regex reduce 2 in: state-0 -lex DIV(57374) -reduce 108 in: - state-2 -reduce 109 in: - state-59 lex INVALID(57346) -state-109 saw INVALID -error recovery pops state 109 -error recovery pops state 59 -error recovery pops state 19 -error recovery pops state 2 -error recovery pops state 0 +reduce 2 in: + state-0 +reduce 13 in: + state-13 === CONT TestParseInvalidPrograms/index_of_non-terminal_2 reduce 2 in: state-0 @@ -33823,6 +33852,9 @@ lex LSQUARE(57403) reduce 68 in: state-27 +reduce 3 in: + state-3 +lex NL(57406) reduce 66 in: state-39 reduce 60 in: @@ -33848,18 +33880,24 @@ error recovery pops state 14 error recovery pops state 2 error recovery pops state 0 -=== CONT TestParseInvalidPrograms/unterminated_const_regex -reduce 2 in: - state-0 lex CONST(57354) lex ID(57367) +reduce 17 in: + state-16 reduce 83 in: state-45 +reduce 5 in: + state-5 reduce 108 in: state-46 +reduce 3 in: + state-3 lex DIV(57374) reduce 109 in: state-59 +lex $end(0) +reduce 1 in: + state-2 lex INVALID(57346) state-109 saw INVALID error recovery pops state 109 @@ -33869,27 +33907,23 @@ error recovery pops state 11 error recovery pops state 2 error recovery pops state 0 -=== CONT TestParseInvalidPrograms/unterminated_string -reduce 2 in: - state-0 -lex INVALID(57346) -reduce 13 in: - state-13 -reduce 3 in: - state-3 -lex $end(0) -reduce 1 in: - state-2 === CONT TestParseInvalidPrograms/index_of_non-terminal_1 +=== CONT TestParseInvalidPrograms/unterminated_string reduce 2 in: state-0 lex DIV(57374) reduce 108 in: state-2 +reduce 2 in: + state-0 reduce 109 in: state-59 +lex INVALID(57346) lex REGEX(57363) +reduce 13 in: + state-13 lex DIV(57374) +=== CONT TestParseInvalidPrograms/unterminated_regex reduce 86 in: state-157 reduce 55 in: @@ -33899,18 +33933,37 @@ state-30 reduce 49 in: state-26 +reduce 2 in: + state-0 +reduce 3 in: + state-3 +lex DIV(57374) +lex $end(0) +reduce 1 in: + state-2 reduce 25 in: state-22 reduce 2 in: state-49 +reduce 108 in: + state-2 lex NL(57406) +reduce 109 in: + state-59 reduce 17 in: state-16 +lex INVALID(57346) reduce 5 in: state-5 +state-109 saw INVALID +error recovery pops state 109 reduce 3 in: state-3 +error recovery pops state 59 +error recovery pops state 19 lex ID(57367) +error recovery pops state 2 +error recovery pops state 0 reduce 83 in: state-45 reduce 81 in: @@ -33925,14 +33978,6 @@ reduce 69 in: state-89 lex LSQUARE(57403) -=== CONT TestParseInvalidPrograms/unknown_character -reduce 2 in: - state-0 -lex INVALID(57346) -reduce 13 in: - state-13 -reduce 3 in: - state-3 reduce 66 in: state-39 reduce 60 in: @@ -33958,23 +34003,13 @@ error recovery pops state 14 error recovery pops state 2 error recovery pops state 0 -lex NL(57406) -reduce 17 in: - state-16 -reduce 5 in: - state-5 -reduce 3 in: - state-3 -lex $end(0) -reduce 1 in: - state-2 --- PASS: TestParseInvalidPrograms (0.00s) - --- PASS: TestParseInvalidPrograms/unterminated_regex (0.00s) --- PASS: TestParseInvalidPrograms/index_of_non-terminal_2 (0.00s) + --- PASS: TestParseInvalidPrograms/unknown_character (0.00s) --- PASS: TestParseInvalidPrograms/unterminated_const_regex (0.00s) --- PASS: TestParseInvalidPrograms/unterminated_string (0.00s) + --- PASS: TestParseInvalidPrograms/unterminated_regex (0.00s) --- PASS: TestParseInvalidPrograms/index_of_non-terminal_1 (0.00s) - --- PASS: TestParseInvalidPrograms/unknown_character (0.00s) === RUN TestParsePositionTests === RUN TestParsePositionTests/empty reduce 2 in: @@ -34034,18 +34069,18 @@ === RUN TestKindHasString --- PASS: TestKindHasString (0.00s) === RUN TestTokenString ---- PASS: TestTokenString (0.03s) +--- PASS: TestTokenString (0.02s) PASS -ok github.com/google/mtail/internal/vm/parser 1.542s +ok github.com/google/mtail/internal/vm/parser 1.338s ? github.com/google/mtail/internal/vm/position [no test files] === RUN TestInsertLookup --- PASS: TestInsertLookup (0.00s) === RUN TestInsertLookupQuick ---- PASS: TestInsertLookupQuick (22.68s) +--- PASS: TestInsertLookupQuick (13.59s) === RUN TestNestedScope --- PASS: TestNestedScope (0.00s) PASS -ok github.com/google/mtail/internal/vm/symbol 23.720s +ok github.com/google/mtail/internal/vm/symbol 14.612s === RUN TestTypeUnification === RUN TestTypeUnification/None_None === PAUSE TestTypeUnification/None_None @@ -34097,57 +34132,57 @@ === PAUSE TestTypeUnification/Pattern_String === RUN TestTypeUnification/String_Pattern === PAUSE TestTypeUnification/String_Pattern -=== CONT TestTypeUnification/None_None +=== CONT TestTypeUnification/Int_Int === CONT TestTypeUnification/String_Pattern -=== CONT TestTypeUnification/Pattern_String -=== CONT TestTypeUnification/Bool_Int -=== CONT TestTypeUnification/Bool_Pattern -=== CONT TestTypeUnification/Pattern_Bool -=== CONT TestTypeUnification/String_Float -=== CONT TestTypeUnification/Int_Bool -=== CONT TestTypeUnification/String_Int -=== CONT TestTypeUnification/Int_String === CONT TestTypeUnification/Float_String -=== CONT TestTypeUnification/Float_Int -=== CONT TestTypeUnification/Int_Float +=== CONT TestTypeUnification/None_typeVar0 === CONT TestTypeUnification/Int_typeVar0 === CONT TestTypeUnification/Float_typeVar0 -=== CONT TestTypeUnification/typeVar0_None -=== CONT TestTypeUnification/typeVar0_Int -=== CONT TestTypeUnification/String_typeVar0 -=== CONT TestTypeUnification/None_typeVar0 -=== CONT TestTypeUnification/String_String -=== CONT TestTypeUnification/typeVar0_String +=== CONT TestTypeUnification/typeVar0_typeVar0 +=== CONT TestTypeUnification/Pattern_String === CONT TestTypeUnification/Float_Float -=== CONT TestTypeUnification/Int_Int === CONT TestTypeUnification/typeVar0_Float -=== CONT TestTypeUnification/typeVar0_typeVar0 +=== CONT TestTypeUnification/Float_Int +=== CONT TestTypeUnification/String_typeVar0 +=== CONT TestTypeUnification/typeVar0_None +=== CONT TestTypeUnification/typeVar0_String +=== CONT TestTypeUnification/String_String +=== CONT TestTypeUnification/typeVar0_Int +=== CONT TestTypeUnification/String_Int +=== CONT TestTypeUnification/Int_Bool +=== CONT TestTypeUnification/Bool_Int +=== CONT TestTypeUnification/Pattern_Bool +=== CONT TestTypeUnification/String_Float +=== CONT TestTypeUnification/None_None +=== CONT TestTypeUnification/Int_Float +=== CONT TestTypeUnification/Int_String +=== CONT TestTypeUnification/Bool_Pattern --- PASS: TestTypeUnification (0.01s) - --- PASS: TestTypeUnification/None_None (0.00s) + --- PASS: TestTypeUnification/Int_Int (0.00s) --- PASS: TestTypeUnification/String_Pattern (0.00s) - --- PASS: TestTypeUnification/Pattern_String (0.00s) - --- PASS: TestTypeUnification/Bool_Int (0.00s) - --- PASS: TestTypeUnification/Bool_Pattern (0.00s) - --- PASS: TestTypeUnification/Pattern_Bool (0.00s) - --- PASS: TestTypeUnification/String_Float (0.00s) - --- PASS: TestTypeUnification/Int_Bool (0.00s) - --- PASS: TestTypeUnification/String_Int (0.00s) - --- PASS: TestTypeUnification/Int_String (0.00s) --- PASS: TestTypeUnification/Float_String (0.00s) - --- PASS: TestTypeUnification/Float_Int (0.00s) - --- PASS: TestTypeUnification/Int_Float (0.00s) + --- PASS: TestTypeUnification/None_typeVar0 (0.00s) + --- PASS: TestTypeUnification/Float_typeVar0 (0.00s) --- PASS: TestTypeUnification/Int_typeVar0 (0.00s) - --- PASS: TestTypeUnification/typeVar0_None (0.00s) + --- PASS: TestTypeUnification/typeVar0_typeVar0 (0.00s) + --- PASS: TestTypeUnification/Pattern_String (0.00s) + --- PASS: TestTypeUnification/Float_Int (0.00s) --- PASS: TestTypeUnification/String_typeVar0 (0.00s) - --- PASS: TestTypeUnification/typeVar0_Int (0.00s) - --- PASS: TestTypeUnification/None_typeVar0 (0.00s) - --- PASS: TestTypeUnification/String_String (0.00s) - --- PASS: TestTypeUnification/typeVar0_String (0.00s) --- PASS: TestTypeUnification/Float_Float (0.00s) - --- PASS: TestTypeUnification/Int_Int (0.00s) --- PASS: TestTypeUnification/typeVar0_Float (0.00s) - --- PASS: TestTypeUnification/typeVar0_typeVar0 (0.00s) - --- PASS: TestTypeUnification/Float_typeVar0 (0.00s) + --- PASS: TestTypeUnification/typeVar0_String (0.00s) + --- PASS: TestTypeUnification/String_String (0.00s) + --- PASS: TestTypeUnification/typeVar0_Int (0.00s) + --- PASS: TestTypeUnification/String_Int (0.00s) + --- PASS: TestTypeUnification/Bool_Int (0.00s) + --- PASS: TestTypeUnification/typeVar0_None (0.00s) + --- PASS: TestTypeUnification/Int_Bool (0.00s) + --- PASS: TestTypeUnification/Pattern_Bool (0.00s) + --- PASS: TestTypeUnification/String_Float (0.00s) + --- PASS: TestTypeUnification/None_None (0.00s) + --- PASS: TestTypeUnification/Int_Float (0.00s) + --- PASS: TestTypeUnification/Int_String (0.00s) + --- PASS: TestTypeUnification/Bool_Pattern (0.00s) === RUN TestGroupOnlyMatches --- PASS: TestGroupOnlyMatches (0.00s) === RUN TestInferCaprefType @@ -34161,21 +34196,21 @@ === PAUSE TestInferCaprefType/(\d+\.\d+) === RUN TestInferCaprefType/\d+\.\d+\.\d+\.\d+ === PAUSE TestInferCaprefType/\d+\.\d+\.\d+\.\d+ -=== CONT TestInferCaprefType/(\d+\.\d+) +=== CONT TestInferCaprefType/\d+ +=== CONT TestInferCaprefType/\d+\.\d+\.\d+\.\d+ === CONT TestInferCaprefType/-?\d+\.\d+ === CONT TestInferCaprefType/[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)? -=== CONT TestInferCaprefType/\d+\.\d+\.\d+\.\d+ -=== CONT TestInferCaprefType/\d+ +=== CONT TestInferCaprefType/(\d+\.\d+) --- PASS: TestInferCaprefType (0.00s) - --- PASS: TestInferCaprefType/(\d+\.\d+) (0.00s) + --- PASS: TestInferCaprefType/\d+ (0.00s) + --- PASS: TestInferCaprefType/\d+\.\d+\.\d+\.\d+ (0.00s) --- PASS: TestInferCaprefType/-?\d+\.\d+ (0.00s) --- PASS: TestInferCaprefType/[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)? (0.00s) - --- PASS: TestInferCaprefType/\d+\.\d+\.\d+\.\d+ (0.00s) - --- PASS: TestInferCaprefType/\d+ (0.00s) + --- PASS: TestInferCaprefType/(\d+\.\d+) (0.00s) === RUN TestTypeEquals --- PASS: TestTypeEquals (0.00s) PASS -ok github.com/google/mtail/internal/vm/types 1.056s +ok github.com/google/mtail/internal/vm/types 1.051s === RUN TestFakeWatcher --- PASS: TestFakeWatcher (0.00s) === RUN TestFakeWatcherUnwatchedFiles @@ -34183,7 +34218,7 @@ === RUN TestNoSuchHandle --- PASS: TestNoSuchHandle (0.00s) === RUN TestLogWatcher ---- PASS: TestLogWatcher (0.03s) +--- PASS: TestLogWatcher (0.01s) === RUN TestFsnotifyErrorFallbackToPoll --- PASS: TestFsnotifyErrorFallbackToPoll (0.00s) === RUN TestLogWatcherAddError @@ -34191,10 +34226,10 @@ === RUN TestLogWatcherAddWhilePermissionDenied --- PASS: TestLogWatcherAddWhilePermissionDenied (0.00s) === RUN TestWatcherErrors -E0318 13:15:38.355845 3340392 log_watcher.go:132] fsnotify error: Injected error for test +E0420 19:42:23.543826 1191838 log_watcher.go:132] fsnotify error: Injected error for test --- PASS: TestWatcherErrors (0.00s) PASS -ok github.com/google/mtail/internal/watcher 1.082s +ok github.com/google/mtail/internal/watcher 1.050s make[1]: Leaving directory '/build/mtail-3.0.0~rc19' create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary @@ -34239,12 +34274,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1176616/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1176616/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/3311799 and its subdirectories -I: Current time: Fri Mar 18 01:18:21 -12 2022 -I: pbuilder-time-stamp: 1647609501 +I: removing directory /srv/workspace/pbuilder/1176616 and its subdirectories +I: Current time: Fri Apr 21 09:44:45 +14 2023 +I: pbuilder-time-stamp: 1682019885