rkelly-remix 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rkelly/constants.rb +1 -1
- data/lib/rkelly/generated_parser.rb +214 -214
- data/lib/rkelly/tokenizer.rb +48 -2
- data/test/test_tokenizer.rb +37 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f47c6af1354b1166a7984f8d583c79c56ae987b7
|
4
|
+
data.tar.gz: 57847f8a36c5309daeea9598997d836ca1dba724
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc58e42be04a97025e1289bef17dc7d5327a7dc91543c64780d6f515b2da9df0bbb5964bfa194524bc527bc30fa3cffcc66f4f5042d875edff32d98f4868d971
|
7
|
+
data.tar.gz: 60b17e556acda51daa526a70d3e809fa29dd2bafc55787d966ae19ac422a3e7fbe2266cdb5431ad6a97d8f3b8dfa3ecda9387a467d6dc4505ff7566941cd1634
|
data/lib/rkelly/constants.rb
CHANGED
@@ -1510,14 +1510,14 @@ Racc_debug_parser = false
|
|
1510
1510
|
|
1511
1511
|
module_eval(<<'.,.,', 'parser.y', 45)
|
1512
1512
|
def _reduce_1(val, _values, result)
|
1513
|
-
result = SourceElementsNode.new([])
|
1513
|
+
result = SourceElementsNode.new([])
|
1514
1514
|
result
|
1515
1515
|
end
|
1516
1516
|
.,.,
|
1517
1517
|
|
1518
1518
|
module_eval(<<'.,.,', 'parser.y', 46)
|
1519
1519
|
def _reduce_2(val, _values, result)
|
1520
|
-
result = SourceElementsNode.new([val].flatten)
|
1520
|
+
result = SourceElementsNode.new([val].flatten)
|
1521
1521
|
result
|
1522
1522
|
end
|
1523
1523
|
.,.,
|
@@ -1526,7 +1526,7 @@ module_eval(<<'.,.,', 'parser.y', 46)
|
|
1526
1526
|
|
1527
1527
|
module_eval(<<'.,.,', 'parser.y', 50)
|
1528
1528
|
def _reduce_4(val, _values, result)
|
1529
|
-
result = val.flatten
|
1529
|
+
result = val.flatten
|
1530
1530
|
result
|
1531
1531
|
end
|
1532
1532
|
.,.,
|
@@ -1569,42 +1569,42 @@ module_eval(<<'.,.,', 'parser.y', 50)
|
|
1569
1569
|
|
1570
1570
|
module_eval(<<'.,.,', 'parser.y', 78)
|
1571
1571
|
def _reduce_23(val, _values, result)
|
1572
|
-
result = NullNode.new(val.first)
|
1572
|
+
result = NullNode.new(val.first)
|
1573
1573
|
result
|
1574
1574
|
end
|
1575
1575
|
.,.,
|
1576
1576
|
|
1577
1577
|
module_eval(<<'.,.,', 'parser.y', 79)
|
1578
1578
|
def _reduce_24(val, _values, result)
|
1579
|
-
result = TrueNode.new(val.first)
|
1579
|
+
result = TrueNode.new(val.first)
|
1580
1580
|
result
|
1581
1581
|
end
|
1582
1582
|
.,.,
|
1583
1583
|
|
1584
1584
|
module_eval(<<'.,.,', 'parser.y', 80)
|
1585
1585
|
def _reduce_25(val, _values, result)
|
1586
|
-
result = FalseNode.new(val.first)
|
1586
|
+
result = FalseNode.new(val.first)
|
1587
1587
|
result
|
1588
1588
|
end
|
1589
1589
|
.,.,
|
1590
1590
|
|
1591
1591
|
module_eval(<<'.,.,', 'parser.y', 81)
|
1592
1592
|
def _reduce_26(val, _values, result)
|
1593
|
-
result = NumberNode.new(val.first)
|
1593
|
+
result = NumberNode.new(val.first)
|
1594
1594
|
result
|
1595
1595
|
end
|
1596
1596
|
.,.,
|
1597
1597
|
|
1598
1598
|
module_eval(<<'.,.,', 'parser.y', 82)
|
1599
1599
|
def _reduce_27(val, _values, result)
|
1600
|
-
result = StringNode.new(val.first)
|
1600
|
+
result = StringNode.new(val.first)
|
1601
1601
|
result
|
1602
1602
|
end
|
1603
1603
|
.,.,
|
1604
1604
|
|
1605
1605
|
module_eval(<<'.,.,', 'parser.y', 83)
|
1606
1606
|
def _reduce_28(val, _values, result)
|
1607
|
-
result = RegexpNode.new(val.first)
|
1607
|
+
result = RegexpNode.new(val.first)
|
1608
1608
|
result
|
1609
1609
|
end
|
1610
1610
|
.,.,
|
@@ -1612,21 +1612,21 @@ module_eval(<<'.,.,', 'parser.y', 83)
|
|
1612
1612
|
module_eval(<<'.,.,', 'parser.y', 88)
|
1613
1613
|
def _reduce_29(val, _values, result)
|
1614
1614
|
result = PropertyNode.new(val[0], val[2])
|
1615
|
-
|
1615
|
+
|
1616
1616
|
result
|
1617
1617
|
end
|
1618
1618
|
.,.,
|
1619
1619
|
|
1620
1620
|
module_eval(<<'.,.,', 'parser.y', 90)
|
1621
1621
|
def _reduce_30(val, _values, result)
|
1622
|
-
result = PropertyNode.new(val.first, val.last)
|
1622
|
+
result = PropertyNode.new(val.first, val.last)
|
1623
1623
|
result
|
1624
1624
|
end
|
1625
1625
|
.,.,
|
1626
1626
|
|
1627
1627
|
module_eval(<<'.,.,', 'parser.y', 91)
|
1628
1628
|
def _reduce_31(val, _values, result)
|
1629
|
-
result = PropertyNode.new(val.first, val.last)
|
1629
|
+
result = PropertyNode.new(val.first, val.last)
|
1630
1630
|
result
|
1631
1631
|
end
|
1632
1632
|
.,.,
|
@@ -1636,7 +1636,7 @@ module_eval(<<'.,.,', 'parser.y', 93)
|
|
1636
1636
|
klass = property_class_for(val.first)
|
1637
1637
|
yyabort unless klass
|
1638
1638
|
result = klass.new(val[1], FunctionExprNode.new(nil, val[4]))
|
1639
|
-
|
1639
|
+
|
1640
1640
|
result
|
1641
1641
|
end
|
1642
1642
|
.,.,
|
@@ -1646,7 +1646,7 @@ module_eval(<<'.,.,', 'parser.y', 98)
|
|
1646
1646
|
klass = property_class_for(val.first)
|
1647
1647
|
yyabort unless klass
|
1648
1648
|
result = klass.new(val[1], FunctionExprNode.new(nil, val[5], val[3]))
|
1649
|
-
|
1649
|
+
|
1650
1650
|
result
|
1651
1651
|
end
|
1652
1652
|
.,.,
|
@@ -1717,14 +1717,14 @@ module_eval(<<'.,.,', 'parser.y', 98)
|
|
1717
1717
|
|
1718
1718
|
module_eval(<<'.,.,', 'parser.y', 114)
|
1719
1719
|
def _reduce_66(val, _values, result)
|
1720
|
-
result = val
|
1720
|
+
result = val
|
1721
1721
|
result
|
1722
1722
|
end
|
1723
1723
|
.,.,
|
1724
1724
|
|
1725
1725
|
module_eval(<<'.,.,', 'parser.y', 115)
|
1726
1726
|
def _reduce_67(val, _values, result)
|
1727
|
-
result = [val.first, val.last].flatten
|
1727
|
+
result = [val.first, val.last].flatten
|
1728
1728
|
result
|
1729
1729
|
end
|
1730
1730
|
.,.,
|
@@ -1733,28 +1733,28 @@ module_eval(<<'.,.,', 'parser.y', 115)
|
|
1733
1733
|
|
1734
1734
|
module_eval(<<'.,.,', 'parser.y', 120)
|
1735
1735
|
def _reduce_69(val, _values, result)
|
1736
|
-
result = ObjectLiteralNode.new([])
|
1736
|
+
result = ObjectLiteralNode.new([])
|
1737
1737
|
result
|
1738
1738
|
end
|
1739
1739
|
.,.,
|
1740
1740
|
|
1741
1741
|
module_eval(<<'.,.,', 'parser.y', 121)
|
1742
1742
|
def _reduce_70(val, _values, result)
|
1743
|
-
result = ObjectLiteralNode.new(val[1])
|
1743
|
+
result = ObjectLiteralNode.new(val[1])
|
1744
1744
|
result
|
1745
1745
|
end
|
1746
1746
|
.,.,
|
1747
1747
|
|
1748
1748
|
module_eval(<<'.,.,', 'parser.y', 122)
|
1749
1749
|
def _reduce_71(val, _values, result)
|
1750
|
-
result = ObjectLiteralNode.new(val[1])
|
1750
|
+
result = ObjectLiteralNode.new(val[1])
|
1751
1751
|
result
|
1752
1752
|
end
|
1753
1753
|
.,.,
|
1754
1754
|
|
1755
1755
|
module_eval(<<'.,.,', 'parser.y', 126)
|
1756
1756
|
def _reduce_72(val, _values, result)
|
1757
|
-
result = ThisNode.new(val.first)
|
1757
|
+
result = ThisNode.new(val.first)
|
1758
1758
|
result
|
1759
1759
|
end
|
1760
1760
|
.,.,
|
@@ -1765,28 +1765,28 @@ module_eval(<<'.,.,', 'parser.y', 126)
|
|
1765
1765
|
|
1766
1766
|
module_eval(<<'.,.,', 'parser.y', 129)
|
1767
1767
|
def _reduce_75(val, _values, result)
|
1768
|
-
result = ResolveNode.new(val.first)
|
1768
|
+
result = ResolveNode.new(val.first)
|
1769
1769
|
result
|
1770
1770
|
end
|
1771
1771
|
.,.,
|
1772
1772
|
|
1773
1773
|
module_eval(<<'.,.,', 'parser.y', 130)
|
1774
1774
|
def _reduce_76(val, _values, result)
|
1775
|
-
result = ParentheticalNode.new(val[1])
|
1775
|
+
result = ParentheticalNode.new(val[1])
|
1776
1776
|
result
|
1777
1777
|
end
|
1778
1778
|
.,.,
|
1779
1779
|
|
1780
1780
|
module_eval(<<'.,.,', 'parser.y', 134)
|
1781
1781
|
def _reduce_77(val, _values, result)
|
1782
|
-
result = ArrayNode.new([] + [nil] * val[1])
|
1782
|
+
result = ArrayNode.new([] + [nil] * val[1])
|
1783
1783
|
result
|
1784
1784
|
end
|
1785
1785
|
.,.,
|
1786
1786
|
|
1787
1787
|
module_eval(<<'.,.,', 'parser.y', 135)
|
1788
1788
|
def _reduce_78(val, _values, result)
|
1789
|
-
result = ArrayNode.new(val[1])
|
1789
|
+
result = ArrayNode.new(val[1])
|
1790
1790
|
result
|
1791
1791
|
end
|
1792
1792
|
.,.,
|
@@ -1794,7 +1794,7 @@ module_eval(<<'.,.,', 'parser.y', 135)
|
|
1794
1794
|
module_eval(<<'.,.,', 'parser.y', 137)
|
1795
1795
|
def _reduce_79(val, _values, result)
|
1796
1796
|
result = ArrayNode.new(val[1] + [nil] * val[3])
|
1797
|
-
|
1797
|
+
|
1798
1798
|
result
|
1799
1799
|
end
|
1800
1800
|
.,.,
|
@@ -1802,7 +1802,7 @@ module_eval(<<'.,.,', 'parser.y', 137)
|
|
1802
1802
|
module_eval(<<'.,.,', 'parser.y', 143)
|
1803
1803
|
def _reduce_80(val, _values, result)
|
1804
1804
|
result = [nil] * val[0] + [ElementNode.new(val[1])]
|
1805
|
-
|
1805
|
+
|
1806
1806
|
result
|
1807
1807
|
end
|
1808
1808
|
.,.,
|
@@ -1810,14 +1810,14 @@ module_eval(<<'.,.,', 'parser.y', 143)
|
|
1810
1810
|
module_eval(<<'.,.,', 'parser.y', 146)
|
1811
1811
|
def _reduce_81(val, _values, result)
|
1812
1812
|
result = [val[0], [nil] * val[2], ElementNode.new(val[3])].flatten
|
1813
|
-
|
1813
|
+
|
1814
1814
|
result
|
1815
1815
|
end
|
1816
1816
|
.,.,
|
1817
1817
|
|
1818
1818
|
module_eval(<<'.,.,', 'parser.y', 151)
|
1819
1819
|
def _reduce_82(val, _values, result)
|
1820
|
-
result = 0
|
1820
|
+
result = 0
|
1821
1821
|
result
|
1822
1822
|
end
|
1823
1823
|
.,.,
|
@@ -1826,14 +1826,14 @@ module_eval(<<'.,.,', 'parser.y', 151)
|
|
1826
1826
|
|
1827
1827
|
module_eval(<<'.,.,', 'parser.y', 156)
|
1828
1828
|
def _reduce_84(val, _values, result)
|
1829
|
-
result = 1
|
1829
|
+
result = 1
|
1830
1830
|
result
|
1831
1831
|
end
|
1832
1832
|
.,.,
|
1833
1833
|
|
1834
1834
|
module_eval(<<'.,.,', 'parser.y', 157)
|
1835
1835
|
def _reduce_85(val, _values, result)
|
1836
|
-
result = val.first + 1
|
1836
|
+
result = val.first + 1
|
1837
1837
|
result
|
1838
1838
|
end
|
1839
1839
|
.,.,
|
@@ -1844,21 +1844,21 @@ module_eval(<<'.,.,', 'parser.y', 157)
|
|
1844
1844
|
|
1845
1845
|
module_eval(<<'.,.,', 'parser.y', 163)
|
1846
1846
|
def _reduce_88(val, _values, result)
|
1847
|
-
result = BracketAccessorNode.new(val[0], val[2])
|
1847
|
+
result = BracketAccessorNode.new(val[0], val[2])
|
1848
1848
|
result
|
1849
1849
|
end
|
1850
1850
|
.,.,
|
1851
1851
|
|
1852
1852
|
module_eval(<<'.,.,', 'parser.y', 164)
|
1853
1853
|
def _reduce_89(val, _values, result)
|
1854
|
-
result = DotAccessorNode.new(val[0], val[2])
|
1854
|
+
result = DotAccessorNode.new(val[0], val[2])
|
1855
1855
|
result
|
1856
1856
|
end
|
1857
1857
|
.,.,
|
1858
1858
|
|
1859
1859
|
module_eval(<<'.,.,', 'parser.y', 165)
|
1860
1860
|
def _reduce_90(val, _values, result)
|
1861
|
-
result = NewExprNode.new(val[1], val[2])
|
1861
|
+
result = NewExprNode.new(val[1], val[2])
|
1862
1862
|
result
|
1863
1863
|
end
|
1864
1864
|
.,.,
|
@@ -1868,21 +1868,21 @@ module_eval(<<'.,.,', 'parser.y', 165)
|
|
1868
1868
|
module_eval(<<'.,.,', 'parser.y', 171)
|
1869
1869
|
def _reduce_92(val, _values, result)
|
1870
1870
|
result = BracketAccessorNode.new(val[0], val[2])
|
1871
|
-
|
1871
|
+
|
1872
1872
|
result
|
1873
1873
|
end
|
1874
1874
|
.,.,
|
1875
1875
|
|
1876
1876
|
module_eval(<<'.,.,', 'parser.y', 173)
|
1877
1877
|
def _reduce_93(val, _values, result)
|
1878
|
-
result = DotAccessorNode.new(val[0], val[2])
|
1878
|
+
result = DotAccessorNode.new(val[0], val[2])
|
1879
1879
|
result
|
1880
1880
|
end
|
1881
1881
|
.,.,
|
1882
1882
|
|
1883
1883
|
module_eval(<<'.,.,', 'parser.y', 174)
|
1884
1884
|
def _reduce_94(val, _values, result)
|
1885
|
-
result = NewExprNode.new(val[1], val[2])
|
1885
|
+
result = NewExprNode.new(val[1], val[2])
|
1886
1886
|
result
|
1887
1887
|
end
|
1888
1888
|
.,.,
|
@@ -1891,7 +1891,7 @@ module_eval(<<'.,.,', 'parser.y', 174)
|
|
1891
1891
|
|
1892
1892
|
module_eval(<<'.,.,', 'parser.y', 179)
|
1893
1893
|
def _reduce_96(val, _values, result)
|
1894
|
-
result = NewExprNode.new(val[1], ArgumentsNode.new([]))
|
1894
|
+
result = NewExprNode.new(val[1], ArgumentsNode.new([]))
|
1895
1895
|
result
|
1896
1896
|
end
|
1897
1897
|
.,.,
|
@@ -1900,98 +1900,98 @@ module_eval(<<'.,.,', 'parser.y', 179)
|
|
1900
1900
|
|
1901
1901
|
module_eval(<<'.,.,', 'parser.y', 184)
|
1902
1902
|
def _reduce_98(val, _values, result)
|
1903
|
-
result = NewExprNode.new(val[1], ArgumentsNode.new([]))
|
1903
|
+
result = NewExprNode.new(val[1], ArgumentsNode.new([]))
|
1904
1904
|
result
|
1905
1905
|
end
|
1906
1906
|
.,.,
|
1907
1907
|
|
1908
1908
|
module_eval(<<'.,.,', 'parser.y', 188)
|
1909
1909
|
def _reduce_99(val, _values, result)
|
1910
|
-
result = FunctionCallNode.new(val[0], val[1])
|
1910
|
+
result = FunctionCallNode.new(val[0], val[1])
|
1911
1911
|
result
|
1912
1912
|
end
|
1913
1913
|
.,.,
|
1914
1914
|
|
1915
1915
|
module_eval(<<'.,.,', 'parser.y', 189)
|
1916
1916
|
def _reduce_100(val, _values, result)
|
1917
|
-
result = FunctionCallNode.new(val[0], val[1])
|
1917
|
+
result = FunctionCallNode.new(val[0], val[1])
|
1918
1918
|
result
|
1919
1919
|
end
|
1920
1920
|
.,.,
|
1921
1921
|
|
1922
1922
|
module_eval(<<'.,.,', 'parser.y', 190)
|
1923
1923
|
def _reduce_101(val, _values, result)
|
1924
|
-
result = BracketAccessorNode.new(val[0], val[2])
|
1924
|
+
result = BracketAccessorNode.new(val[0], val[2])
|
1925
1925
|
result
|
1926
1926
|
end
|
1927
1927
|
.,.,
|
1928
1928
|
|
1929
1929
|
module_eval(<<'.,.,', 'parser.y', 191)
|
1930
1930
|
def _reduce_102(val, _values, result)
|
1931
|
-
result = DotAccessorNode.new(val[0], val[2])
|
1931
|
+
result = DotAccessorNode.new(val[0], val[2])
|
1932
1932
|
result
|
1933
1933
|
end
|
1934
1934
|
.,.,
|
1935
1935
|
|
1936
1936
|
module_eval(<<'.,.,', 'parser.y', 195)
|
1937
1937
|
def _reduce_103(val, _values, result)
|
1938
|
-
result = FunctionCallNode.new(ResolveNode.new(val[0]), val[2])
|
1938
|
+
result = FunctionCallNode.new(ResolveNode.new(val[0]), val[2])
|
1939
1939
|
result
|
1940
1940
|
end
|
1941
1941
|
.,.,
|
1942
1942
|
|
1943
1943
|
module_eval(<<'.,.,', 'parser.y', 196)
|
1944
1944
|
def _reduce_104(val, _values, result)
|
1945
|
-
result = FunctionCallNode.new(val[0], val[1])
|
1945
|
+
result = FunctionCallNode.new(val[0], val[1])
|
1946
1946
|
result
|
1947
1947
|
end
|
1948
1948
|
.,.,
|
1949
1949
|
|
1950
1950
|
module_eval(<<'.,.,', 'parser.y', 197)
|
1951
1951
|
def _reduce_105(val, _values, result)
|
1952
|
-
result = FunctionCallNode.new(val[0], val[1])
|
1952
|
+
result = FunctionCallNode.new(val[0], val[1])
|
1953
1953
|
result
|
1954
1954
|
end
|
1955
1955
|
.,.,
|
1956
1956
|
|
1957
1957
|
module_eval(<<'.,.,', 'parser.y', 198)
|
1958
1958
|
def _reduce_106(val, _values, result)
|
1959
|
-
result = BracketAccessorNode.new(val[0], val[2])
|
1959
|
+
result = BracketAccessorNode.new(val[0], val[2])
|
1960
1960
|
result
|
1961
1961
|
end
|
1962
1962
|
.,.,
|
1963
1963
|
|
1964
1964
|
module_eval(<<'.,.,', 'parser.y', 199)
|
1965
1965
|
def _reduce_107(val, _values, result)
|
1966
|
-
result = DotAccessorNode.new(val[0], val[2])
|
1966
|
+
result = DotAccessorNode.new(val[0], val[2])
|
1967
1967
|
result
|
1968
1968
|
end
|
1969
1969
|
.,.,
|
1970
1970
|
|
1971
1971
|
module_eval(<<'.,.,', 'parser.y', 203)
|
1972
1972
|
def _reduce_108(val, _values, result)
|
1973
|
-
result = ArgumentsNode.new([])
|
1973
|
+
result = ArgumentsNode.new([])
|
1974
1974
|
result
|
1975
1975
|
end
|
1976
1976
|
.,.,
|
1977
1977
|
|
1978
1978
|
module_eval(<<'.,.,', 'parser.y', 204)
|
1979
1979
|
def _reduce_109(val, _values, result)
|
1980
|
-
result = ArgumentsNode.new(val[1]);
|
1980
|
+
result = ArgumentsNode.new(val[1]);
|
1981
1981
|
result
|
1982
1982
|
end
|
1983
1983
|
.,.,
|
1984
1984
|
|
1985
1985
|
module_eval(<<'.,.,', 'parser.y', 208)
|
1986
1986
|
def _reduce_110(val, _values, result)
|
1987
|
-
result = val
|
1987
|
+
result = val
|
1988
1988
|
result
|
1989
1989
|
end
|
1990
1990
|
.,.,
|
1991
1991
|
|
1992
1992
|
module_eval(<<'.,.,', 'parser.y', 209)
|
1993
1993
|
def _reduce_111(val, _values, result)
|
1994
|
-
result = [val[0], val[2]].flatten
|
1994
|
+
result = [val[0], val[2]].flatten
|
1995
1995
|
result
|
1996
1996
|
end
|
1997
1997
|
.,.,
|
@@ -2008,14 +2008,14 @@ module_eval(<<'.,.,', 'parser.y', 209)
|
|
2008
2008
|
|
2009
2009
|
module_eval(<<'.,.,', 'parser.y', 224)
|
2010
2010
|
def _reduce_117(val, _values, result)
|
2011
|
-
result = PostfixNode.new(val[0], '++')
|
2011
|
+
result = PostfixNode.new(val[0], '++')
|
2012
2012
|
result
|
2013
2013
|
end
|
2014
2014
|
.,.,
|
2015
2015
|
|
2016
2016
|
module_eval(<<'.,.,', 'parser.y', 225)
|
2017
2017
|
def _reduce_118(val, _values, result)
|
2018
|
-
result = PostfixNode.new(val[0], '--')
|
2018
|
+
result = PostfixNode.new(val[0], '--')
|
2019
2019
|
result
|
2020
2020
|
end
|
2021
2021
|
.,.,
|
@@ -2024,77 +2024,77 @@ module_eval(<<'.,.,', 'parser.y', 225)
|
|
2024
2024
|
|
2025
2025
|
module_eval(<<'.,.,', 'parser.y', 230)
|
2026
2026
|
def _reduce_120(val, _values, result)
|
2027
|
-
result = PostfixNode.new(val[0], '++')
|
2027
|
+
result = PostfixNode.new(val[0], '++')
|
2028
2028
|
result
|
2029
2029
|
end
|
2030
2030
|
.,.,
|
2031
2031
|
|
2032
2032
|
module_eval(<<'.,.,', 'parser.y', 231)
|
2033
2033
|
def _reduce_121(val, _values, result)
|
2034
|
-
result = PostfixNode.new(val[0], '--')
|
2034
|
+
result = PostfixNode.new(val[0], '--')
|
2035
2035
|
result
|
2036
2036
|
end
|
2037
2037
|
.,.,
|
2038
2038
|
|
2039
2039
|
module_eval(<<'.,.,', 'parser.y', 235)
|
2040
2040
|
def _reduce_122(val, _values, result)
|
2041
|
-
result = DeleteNode.new(val[1])
|
2041
|
+
result = DeleteNode.new(val[1])
|
2042
2042
|
result
|
2043
2043
|
end
|
2044
2044
|
.,.,
|
2045
2045
|
|
2046
2046
|
module_eval(<<'.,.,', 'parser.y', 236)
|
2047
2047
|
def _reduce_123(val, _values, result)
|
2048
|
-
result = VoidNode.new(val[1])
|
2048
|
+
result = VoidNode.new(val[1])
|
2049
2049
|
result
|
2050
2050
|
end
|
2051
2051
|
.,.,
|
2052
2052
|
|
2053
2053
|
module_eval(<<'.,.,', 'parser.y', 237)
|
2054
2054
|
def _reduce_124(val, _values, result)
|
2055
|
-
result = TypeOfNode.new(val[1])
|
2055
|
+
result = TypeOfNode.new(val[1])
|
2056
2056
|
result
|
2057
2057
|
end
|
2058
2058
|
.,.,
|
2059
2059
|
|
2060
2060
|
module_eval(<<'.,.,', 'parser.y', 238)
|
2061
2061
|
def _reduce_125(val, _values, result)
|
2062
|
-
result = PrefixNode.new(val[1], '++')
|
2062
|
+
result = PrefixNode.new(val[1], '++')
|
2063
2063
|
result
|
2064
2064
|
end
|
2065
2065
|
.,.,
|
2066
2066
|
|
2067
2067
|
module_eval(<<'.,.,', 'parser.y', 241)
|
2068
2068
|
def _reduce_126(val, _values, result)
|
2069
|
-
result = PrefixNode.new(val[1], '--')
|
2069
|
+
result = PrefixNode.new(val[1], '--')
|
2070
2070
|
result
|
2071
2071
|
end
|
2072
2072
|
.,.,
|
2073
2073
|
|
2074
2074
|
module_eval(<<'.,.,', 'parser.y', 244)
|
2075
2075
|
def _reduce_127(val, _values, result)
|
2076
|
-
result = UnaryPlusNode.new(val[1])
|
2076
|
+
result = UnaryPlusNode.new(val[1])
|
2077
2077
|
result
|
2078
2078
|
end
|
2079
2079
|
.,.,
|
2080
2080
|
|
2081
2081
|
module_eval(<<'.,.,', 'parser.y', 245)
|
2082
2082
|
def _reduce_128(val, _values, result)
|
2083
|
-
result = UnaryMinusNode.new(val[1])
|
2083
|
+
result = UnaryMinusNode.new(val[1])
|
2084
2084
|
result
|
2085
2085
|
end
|
2086
2086
|
.,.,
|
2087
2087
|
|
2088
2088
|
module_eval(<<'.,.,', 'parser.y', 246)
|
2089
2089
|
def _reduce_129(val, _values, result)
|
2090
|
-
result = BitwiseNotNode.new(val[1])
|
2090
|
+
result = BitwiseNotNode.new(val[1])
|
2091
2091
|
result
|
2092
2092
|
end
|
2093
2093
|
.,.,
|
2094
2094
|
|
2095
2095
|
module_eval(<<'.,.,', 'parser.y', 247)
|
2096
2096
|
def _reduce_130(val, _values, result)
|
2097
|
-
result = LogicalNotNode.new(val[1])
|
2097
|
+
result = LogicalNotNode.new(val[1])
|
2098
2098
|
result
|
2099
2099
|
end
|
2100
2100
|
.,.,
|
@@ -2118,7 +2118,7 @@ module_eval(<<'.,.,', 'parser.y', 262)
|
|
2118
2118
|
|
2119
2119
|
module_eval(<<'.,.,', 'parser.y', 263)
|
2120
2120
|
def _reduce_137(val, _values, result)
|
2121
|
-
result = DivideNode.new(val[0], val[2])
|
2121
|
+
result = DivideNode.new(val[0], val[2])
|
2122
2122
|
result
|
2123
2123
|
end
|
2124
2124
|
.,.,
|
@@ -2134,21 +2134,21 @@ module_eval(<<'.,.,', 'parser.y', 264)
|
|
2134
2134
|
|
2135
2135
|
module_eval(<<'.,.,', 'parser.y', 269)
|
2136
2136
|
def _reduce_140(val, _values, result)
|
2137
|
-
result = MultiplyNode.new(val[0], val[2])
|
2137
|
+
result = MultiplyNode.new(val[0], val[2])
|
2138
2138
|
result
|
2139
2139
|
end
|
2140
2140
|
.,.,
|
2141
2141
|
|
2142
2142
|
module_eval(<<'.,.,', 'parser.y', 270)
|
2143
2143
|
def _reduce_141(val, _values, result)
|
2144
|
-
result = DivideNode.new(val[0],val[2])
|
2144
|
+
result = DivideNode.new(val[0],val[2])
|
2145
2145
|
result
|
2146
2146
|
end
|
2147
2147
|
.,.,
|
2148
2148
|
|
2149
2149
|
module_eval(<<'.,.,', 'parser.y', 271)
|
2150
2150
|
def _reduce_142(val, _values, result)
|
2151
|
-
result = ModulusNode.new(val[0], val[2])
|
2151
|
+
result = ModulusNode.new(val[0], val[2])
|
2152
2152
|
result
|
2153
2153
|
end
|
2154
2154
|
.,.,
|
@@ -2157,14 +2157,14 @@ module_eval(<<'.,.,', 'parser.y', 271)
|
|
2157
2157
|
|
2158
2158
|
module_eval(<<'.,.,', 'parser.y', 276)
|
2159
2159
|
def _reduce_144(val, _values, result)
|
2160
|
-
result = AddNode.new(val[0], val[2])
|
2160
|
+
result = AddNode.new(val[0], val[2])
|
2161
2161
|
result
|
2162
2162
|
end
|
2163
2163
|
.,.,
|
2164
2164
|
|
2165
2165
|
module_eval(<<'.,.,', 'parser.y', 277)
|
2166
2166
|
def _reduce_145(val, _values, result)
|
2167
|
-
result = SubtractNode.new(val[0], val[2])
|
2167
|
+
result = SubtractNode.new(val[0], val[2])
|
2168
2168
|
result
|
2169
2169
|
end
|
2170
2170
|
.,.,
|
@@ -2173,14 +2173,14 @@ module_eval(<<'.,.,', 'parser.y', 277)
|
|
2173
2173
|
|
2174
2174
|
module_eval(<<'.,.,', 'parser.y', 282)
|
2175
2175
|
def _reduce_147(val, _values, result)
|
2176
|
-
result = AddNode.new(val[0], val[2])
|
2176
|
+
result = AddNode.new(val[0], val[2])
|
2177
2177
|
result
|
2178
2178
|
end
|
2179
2179
|
.,.,
|
2180
2180
|
|
2181
2181
|
module_eval(<<'.,.,', 'parser.y', 283)
|
2182
2182
|
def _reduce_148(val, _values, result)
|
2183
|
-
result = SubtractNode.new(val[0], val[2])
|
2183
|
+
result = SubtractNode.new(val[0], val[2])
|
2184
2184
|
result
|
2185
2185
|
end
|
2186
2186
|
.,.,
|
@@ -2189,21 +2189,21 @@ module_eval(<<'.,.,', 'parser.y', 283)
|
|
2189
2189
|
|
2190
2190
|
module_eval(<<'.,.,', 'parser.y', 288)
|
2191
2191
|
def _reduce_150(val, _values, result)
|
2192
|
-
result = LeftShiftNode.new(val[0], val[2])
|
2192
|
+
result = LeftShiftNode.new(val[0], val[2])
|
2193
2193
|
result
|
2194
2194
|
end
|
2195
2195
|
.,.,
|
2196
2196
|
|
2197
2197
|
module_eval(<<'.,.,', 'parser.y', 289)
|
2198
2198
|
def _reduce_151(val, _values, result)
|
2199
|
-
result = RightShiftNode.new(val[0], val[2])
|
2199
|
+
result = RightShiftNode.new(val[0], val[2])
|
2200
2200
|
result
|
2201
2201
|
end
|
2202
2202
|
.,.,
|
2203
2203
|
|
2204
2204
|
module_eval(<<'.,.,', 'parser.y', 290)
|
2205
2205
|
def _reduce_152(val, _values, result)
|
2206
|
-
result = UnsignedRightShiftNode.new(val[0], val[2])
|
2206
|
+
result = UnsignedRightShiftNode.new(val[0], val[2])
|
2207
2207
|
result
|
2208
2208
|
end
|
2209
2209
|
.,.,
|
@@ -2212,21 +2212,21 @@ module_eval(<<'.,.,', 'parser.y', 290)
|
|
2212
2212
|
|
2213
2213
|
module_eval(<<'.,.,', 'parser.y', 295)
|
2214
2214
|
def _reduce_154(val, _values, result)
|
2215
|
-
result = LeftShiftNode.new(val[0], val[2])
|
2215
|
+
result = LeftShiftNode.new(val[0], val[2])
|
2216
2216
|
result
|
2217
2217
|
end
|
2218
2218
|
.,.,
|
2219
2219
|
|
2220
2220
|
module_eval(<<'.,.,', 'parser.y', 296)
|
2221
2221
|
def _reduce_155(val, _values, result)
|
2222
|
-
result = RightShiftNode.new(val[0], val[2])
|
2222
|
+
result = RightShiftNode.new(val[0], val[2])
|
2223
2223
|
result
|
2224
2224
|
end
|
2225
2225
|
.,.,
|
2226
2226
|
|
2227
2227
|
module_eval(<<'.,.,', 'parser.y', 297)
|
2228
2228
|
def _reduce_156(val, _values, result)
|
2229
|
-
result = UnsignedRightShiftNode.new(val[0], val[2])
|
2229
|
+
result = UnsignedRightShiftNode.new(val[0], val[2])
|
2230
2230
|
result
|
2231
2231
|
end
|
2232
2232
|
.,.,
|
@@ -2242,35 +2242,35 @@ module_eval(<<'.,.,', 'parser.y', 302)
|
|
2242
2242
|
|
2243
2243
|
module_eval(<<'.,.,', 'parser.y', 303)
|
2244
2244
|
def _reduce_159(val, _values, result)
|
2245
|
-
result = GreaterNode.new(val[0], val[2])
|
2245
|
+
result = GreaterNode.new(val[0], val[2])
|
2246
2246
|
result
|
2247
2247
|
end
|
2248
2248
|
.,.,
|
2249
2249
|
|
2250
2250
|
module_eval(<<'.,.,', 'parser.y', 304)
|
2251
2251
|
def _reduce_160(val, _values, result)
|
2252
|
-
result = LessOrEqualNode.new(val[0], val[2])
|
2252
|
+
result = LessOrEqualNode.new(val[0], val[2])
|
2253
2253
|
result
|
2254
2254
|
end
|
2255
2255
|
.,.,
|
2256
2256
|
|
2257
2257
|
module_eval(<<'.,.,', 'parser.y', 305)
|
2258
2258
|
def _reduce_161(val, _values, result)
|
2259
|
-
result = GreaterOrEqualNode.new(val[0], val[2])
|
2259
|
+
result = GreaterOrEqualNode.new(val[0], val[2])
|
2260
2260
|
result
|
2261
2261
|
end
|
2262
2262
|
.,.,
|
2263
2263
|
|
2264
2264
|
module_eval(<<'.,.,', 'parser.y', 306)
|
2265
2265
|
def _reduce_162(val, _values, result)
|
2266
|
-
result = InstanceOfNode.new(val[0], val[2])
|
2266
|
+
result = InstanceOfNode.new(val[0], val[2])
|
2267
2267
|
result
|
2268
2268
|
end
|
2269
2269
|
.,.,
|
2270
2270
|
|
2271
2271
|
module_eval(<<'.,.,', 'parser.y', 307)
|
2272
2272
|
def _reduce_163(val, _values, result)
|
2273
|
-
result = InNode.new(val[0], val[2])
|
2273
|
+
result = InNode.new(val[0], val[2])
|
2274
2274
|
result
|
2275
2275
|
end
|
2276
2276
|
.,.,
|
@@ -2286,28 +2286,28 @@ module_eval(<<'.,.,', 'parser.y', 312)
|
|
2286
2286
|
|
2287
2287
|
module_eval(<<'.,.,', 'parser.y', 313)
|
2288
2288
|
def _reduce_166(val, _values, result)
|
2289
|
-
result = GreaterNode.new(val[0], val[2])
|
2289
|
+
result = GreaterNode.new(val[0], val[2])
|
2290
2290
|
result
|
2291
2291
|
end
|
2292
2292
|
.,.,
|
2293
2293
|
|
2294
2294
|
module_eval(<<'.,.,', 'parser.y', 314)
|
2295
2295
|
def _reduce_167(val, _values, result)
|
2296
|
-
result = LessOrEqualNode.new(val[0], val[2])
|
2296
|
+
result = LessOrEqualNode.new(val[0], val[2])
|
2297
2297
|
result
|
2298
2298
|
end
|
2299
2299
|
.,.,
|
2300
2300
|
|
2301
2301
|
module_eval(<<'.,.,', 'parser.y', 315)
|
2302
2302
|
def _reduce_168(val, _values, result)
|
2303
|
-
result = GreaterOrEqualNode.new(val[0], val[2])
|
2303
|
+
result = GreaterOrEqualNode.new(val[0], val[2])
|
2304
2304
|
result
|
2305
2305
|
end
|
2306
2306
|
.,.,
|
2307
2307
|
|
2308
2308
|
module_eval(<<'.,.,', 'parser.y', 317)
|
2309
2309
|
def _reduce_169(val, _values, result)
|
2310
|
-
result = InstanceOfNode.new(val[0], val[2])
|
2310
|
+
result = InstanceOfNode.new(val[0], val[2])
|
2311
2311
|
result
|
2312
2312
|
end
|
2313
2313
|
.,.,
|
@@ -2316,42 +2316,42 @@ module_eval(<<'.,.,', 'parser.y', 317)
|
|
2316
2316
|
|
2317
2317
|
module_eval(<<'.,.,', 'parser.y', 322)
|
2318
2318
|
def _reduce_171(val, _values, result)
|
2319
|
-
result = LessNode.new(val[0], val[2])
|
2319
|
+
result = LessNode.new(val[0], val[2])
|
2320
2320
|
result
|
2321
2321
|
end
|
2322
2322
|
.,.,
|
2323
2323
|
|
2324
2324
|
module_eval(<<'.,.,', 'parser.y', 323)
|
2325
2325
|
def _reduce_172(val, _values, result)
|
2326
|
-
result = GreaterNode.new(val[0], val[2])
|
2326
|
+
result = GreaterNode.new(val[0], val[2])
|
2327
2327
|
result
|
2328
2328
|
end
|
2329
2329
|
.,.,
|
2330
2330
|
|
2331
2331
|
module_eval(<<'.,.,', 'parser.y', 324)
|
2332
2332
|
def _reduce_173(val, _values, result)
|
2333
|
-
result = LessOrEqualNode.new(val[0], val[2])
|
2333
|
+
result = LessOrEqualNode.new(val[0], val[2])
|
2334
2334
|
result
|
2335
2335
|
end
|
2336
2336
|
.,.,
|
2337
2337
|
|
2338
2338
|
module_eval(<<'.,.,', 'parser.y', 325)
|
2339
2339
|
def _reduce_174(val, _values, result)
|
2340
|
-
result = GreaterOrEqualNode.new(val[0], val[2])
|
2340
|
+
result = GreaterOrEqualNode.new(val[0], val[2])
|
2341
2341
|
result
|
2342
2342
|
end
|
2343
2343
|
.,.,
|
2344
2344
|
|
2345
2345
|
module_eval(<<'.,.,', 'parser.y', 327)
|
2346
2346
|
def _reduce_175(val, _values, result)
|
2347
|
-
result = InstanceOfNode.new(val[0], val[2])
|
2347
|
+
result = InstanceOfNode.new(val[0], val[2])
|
2348
2348
|
result
|
2349
2349
|
end
|
2350
2350
|
.,.,
|
2351
2351
|
|
2352
2352
|
module_eval(<<'.,.,', 'parser.y', 328)
|
2353
2353
|
def _reduce_176(val, _values, result)
|
2354
|
-
result = InNode.new(val[0], val[2])
|
2354
|
+
result = InNode.new(val[0], val[2])
|
2355
2355
|
result
|
2356
2356
|
end
|
2357
2357
|
.,.,
|
@@ -2360,28 +2360,28 @@ module_eval(<<'.,.,', 'parser.y', 328)
|
|
2360
2360
|
|
2361
2361
|
module_eval(<<'.,.,', 'parser.y', 333)
|
2362
2362
|
def _reduce_178(val, _values, result)
|
2363
|
-
result = EqualNode.new(val[0], val[2])
|
2363
|
+
result = EqualNode.new(val[0], val[2])
|
2364
2364
|
result
|
2365
2365
|
end
|
2366
2366
|
.,.,
|
2367
2367
|
|
2368
2368
|
module_eval(<<'.,.,', 'parser.y', 334)
|
2369
2369
|
def _reduce_179(val, _values, result)
|
2370
|
-
result = NotEqualNode.new(val[0], val[2])
|
2370
|
+
result = NotEqualNode.new(val[0], val[2])
|
2371
2371
|
result
|
2372
2372
|
end
|
2373
2373
|
.,.,
|
2374
2374
|
|
2375
2375
|
module_eval(<<'.,.,', 'parser.y', 335)
|
2376
2376
|
def _reduce_180(val, _values, result)
|
2377
|
-
result = StrictEqualNode.new(val[0], val[2])
|
2377
|
+
result = StrictEqualNode.new(val[0], val[2])
|
2378
2378
|
result
|
2379
2379
|
end
|
2380
2380
|
.,.,
|
2381
2381
|
|
2382
2382
|
module_eval(<<'.,.,', 'parser.y', 336)
|
2383
2383
|
def _reduce_181(val, _values, result)
|
2384
|
-
result = NotStrictEqualNode.new(val[0], val[2])
|
2384
|
+
result = NotStrictEqualNode.new(val[0], val[2])
|
2385
2385
|
result
|
2386
2386
|
end
|
2387
2387
|
.,.,
|
@@ -2390,28 +2390,28 @@ module_eval(<<'.,.,', 'parser.y', 336)
|
|
2390
2390
|
|
2391
2391
|
module_eval(<<'.,.,', 'parser.y', 342)
|
2392
2392
|
def _reduce_183(val, _values, result)
|
2393
|
-
result = EqualNode.new(val[0], val[2])
|
2393
|
+
result = EqualNode.new(val[0], val[2])
|
2394
2394
|
result
|
2395
2395
|
end
|
2396
2396
|
.,.,
|
2397
2397
|
|
2398
2398
|
module_eval(<<'.,.,', 'parser.y', 344)
|
2399
2399
|
def _reduce_184(val, _values, result)
|
2400
|
-
result = NotEqualNode.new(val[0], val[2])
|
2400
|
+
result = NotEqualNode.new(val[0], val[2])
|
2401
2401
|
result
|
2402
2402
|
end
|
2403
2403
|
.,.,
|
2404
2404
|
|
2405
2405
|
module_eval(<<'.,.,', 'parser.y', 346)
|
2406
2406
|
def _reduce_185(val, _values, result)
|
2407
|
-
result = StrictEqualNode.new(val[0], val[2])
|
2407
|
+
result = StrictEqualNode.new(val[0], val[2])
|
2408
2408
|
result
|
2409
2409
|
end
|
2410
2410
|
.,.,
|
2411
2411
|
|
2412
2412
|
module_eval(<<'.,.,', 'parser.y', 348)
|
2413
2413
|
def _reduce_186(val, _values, result)
|
2414
|
-
result = NotStrictEqualNode.new(val[0], val[2])
|
2414
|
+
result = NotStrictEqualNode.new(val[0], val[2])
|
2415
2415
|
result
|
2416
2416
|
end
|
2417
2417
|
.,.,
|
@@ -2420,28 +2420,28 @@ module_eval(<<'.,.,', 'parser.y', 348)
|
|
2420
2420
|
|
2421
2421
|
module_eval(<<'.,.,', 'parser.y', 354)
|
2422
2422
|
def _reduce_188(val, _values, result)
|
2423
|
-
result = EqualNode.new(val[0], val[2])
|
2423
|
+
result = EqualNode.new(val[0], val[2])
|
2424
2424
|
result
|
2425
2425
|
end
|
2426
2426
|
.,.,
|
2427
2427
|
|
2428
2428
|
module_eval(<<'.,.,', 'parser.y', 355)
|
2429
2429
|
def _reduce_189(val, _values, result)
|
2430
|
-
result = NotEqualNode.new(val[0], val[2])
|
2430
|
+
result = NotEqualNode.new(val[0], val[2])
|
2431
2431
|
result
|
2432
2432
|
end
|
2433
2433
|
.,.,
|
2434
2434
|
|
2435
2435
|
module_eval(<<'.,.,', 'parser.y', 357)
|
2436
2436
|
def _reduce_190(val, _values, result)
|
2437
|
-
result = StrictEqualNode.new(val[0], val[2])
|
2437
|
+
result = StrictEqualNode.new(val[0], val[2])
|
2438
2438
|
result
|
2439
2439
|
end
|
2440
2440
|
.,.,
|
2441
2441
|
|
2442
2442
|
module_eval(<<'.,.,', 'parser.y', 359)
|
2443
2443
|
def _reduce_191(val, _values, result)
|
2444
|
-
result = NotStrictEqualNode.new(val[0], val[2])
|
2444
|
+
result = NotStrictEqualNode.new(val[0], val[2])
|
2445
2445
|
result
|
2446
2446
|
end
|
2447
2447
|
.,.,
|
@@ -2450,7 +2450,7 @@ module_eval(<<'.,.,', 'parser.y', 359)
|
|
2450
2450
|
|
2451
2451
|
module_eval(<<'.,.,', 'parser.y', 364)
|
2452
2452
|
def _reduce_193(val, _values, result)
|
2453
|
-
result = BitAndNode.new(val[0], val[2])
|
2453
|
+
result = BitAndNode.new(val[0], val[2])
|
2454
2454
|
result
|
2455
2455
|
end
|
2456
2456
|
.,.,
|
@@ -2459,7 +2459,7 @@ module_eval(<<'.,.,', 'parser.y', 364)
|
|
2459
2459
|
|
2460
2460
|
module_eval(<<'.,.,', 'parser.y', 370)
|
2461
2461
|
def _reduce_195(val, _values, result)
|
2462
|
-
result = BitAndNode.new(val[0], val[2])
|
2462
|
+
result = BitAndNode.new(val[0], val[2])
|
2463
2463
|
result
|
2464
2464
|
end
|
2465
2465
|
.,.,
|
@@ -2468,7 +2468,7 @@ module_eval(<<'.,.,', 'parser.y', 370)
|
|
2468
2468
|
|
2469
2469
|
module_eval(<<'.,.,', 'parser.y', 375)
|
2470
2470
|
def _reduce_197(val, _values, result)
|
2471
|
-
result = BitAndNode.new(val[0], val[2])
|
2471
|
+
result = BitAndNode.new(val[0], val[2])
|
2472
2472
|
result
|
2473
2473
|
end
|
2474
2474
|
.,.,
|
@@ -2477,7 +2477,7 @@ module_eval(<<'.,.,', 'parser.y', 375)
|
|
2477
2477
|
|
2478
2478
|
module_eval(<<'.,.,', 'parser.y', 380)
|
2479
2479
|
def _reduce_199(val, _values, result)
|
2480
|
-
result = BitXOrNode.new(val[0], val[2])
|
2480
|
+
result = BitXOrNode.new(val[0], val[2])
|
2481
2481
|
result
|
2482
2482
|
end
|
2483
2483
|
.,.,
|
@@ -2486,7 +2486,7 @@ module_eval(<<'.,.,', 'parser.y', 380)
|
|
2486
2486
|
|
2487
2487
|
module_eval(<<'.,.,', 'parser.y', 386)
|
2488
2488
|
def _reduce_201(val, _values, result)
|
2489
|
-
result = BitXOrNode.new(val[0], val[2])
|
2489
|
+
result = BitXOrNode.new(val[0], val[2])
|
2490
2490
|
result
|
2491
2491
|
end
|
2492
2492
|
.,.,
|
@@ -2495,7 +2495,7 @@ module_eval(<<'.,.,', 'parser.y', 386)
|
|
2495
2495
|
|
2496
2496
|
module_eval(<<'.,.,', 'parser.y', 392)
|
2497
2497
|
def _reduce_203(val, _values, result)
|
2498
|
-
result = BitXOrNode.new(val[0], val[2])
|
2498
|
+
result = BitXOrNode.new(val[0], val[2])
|
2499
2499
|
result
|
2500
2500
|
end
|
2501
2501
|
.,.,
|
@@ -2504,7 +2504,7 @@ module_eval(<<'.,.,', 'parser.y', 392)
|
|
2504
2504
|
|
2505
2505
|
module_eval(<<'.,.,', 'parser.y', 397)
|
2506
2506
|
def _reduce_205(val, _values, result)
|
2507
|
-
result = BitOrNode.new(val[0], val[2])
|
2507
|
+
result = BitOrNode.new(val[0], val[2])
|
2508
2508
|
result
|
2509
2509
|
end
|
2510
2510
|
.,.,
|
@@ -2513,7 +2513,7 @@ module_eval(<<'.,.,', 'parser.y', 397)
|
|
2513
2513
|
|
2514
2514
|
module_eval(<<'.,.,', 'parser.y', 403)
|
2515
2515
|
def _reduce_207(val, _values, result)
|
2516
|
-
result = BitOrNode.new(val[0], val[2])
|
2516
|
+
result = BitOrNode.new(val[0], val[2])
|
2517
2517
|
result
|
2518
2518
|
end
|
2519
2519
|
.,.,
|
@@ -2522,7 +2522,7 @@ module_eval(<<'.,.,', 'parser.y', 403)
|
|
2522
2522
|
|
2523
2523
|
module_eval(<<'.,.,', 'parser.y', 409)
|
2524
2524
|
def _reduce_209(val, _values, result)
|
2525
|
-
result = BitOrNode.new(val[0], val[2])
|
2525
|
+
result = BitOrNode.new(val[0], val[2])
|
2526
2526
|
result
|
2527
2527
|
end
|
2528
2528
|
.,.,
|
@@ -2531,7 +2531,7 @@ module_eval(<<'.,.,', 'parser.y', 409)
|
|
2531
2531
|
|
2532
2532
|
module_eval(<<'.,.,', 'parser.y', 414)
|
2533
2533
|
def _reduce_211(val, _values, result)
|
2534
|
-
result = LogicalAndNode.new(val[0], val[2])
|
2534
|
+
result = LogicalAndNode.new(val[0], val[2])
|
2535
2535
|
result
|
2536
2536
|
end
|
2537
2537
|
.,.,
|
@@ -2540,7 +2540,7 @@ module_eval(<<'.,.,', 'parser.y', 414)
|
|
2540
2540
|
|
2541
2541
|
module_eval(<<'.,.,', 'parser.y', 420)
|
2542
2542
|
def _reduce_213(val, _values, result)
|
2543
|
-
result = LogicalAndNode.new(val[0], val[2])
|
2543
|
+
result = LogicalAndNode.new(val[0], val[2])
|
2544
2544
|
result
|
2545
2545
|
end
|
2546
2546
|
.,.,
|
@@ -2549,7 +2549,7 @@ module_eval(<<'.,.,', 'parser.y', 420)
|
|
2549
2549
|
|
2550
2550
|
module_eval(<<'.,.,', 'parser.y', 426)
|
2551
2551
|
def _reduce_215(val, _values, result)
|
2552
|
-
result = LogicalAndNode.new(val[0], val[2])
|
2552
|
+
result = LogicalAndNode.new(val[0], val[2])
|
2553
2553
|
result
|
2554
2554
|
end
|
2555
2555
|
.,.,
|
@@ -2558,7 +2558,7 @@ module_eval(<<'.,.,', 'parser.y', 426)
|
|
2558
2558
|
|
2559
2559
|
module_eval(<<'.,.,', 'parser.y', 431)
|
2560
2560
|
def _reduce_217(val, _values, result)
|
2561
|
-
result = LogicalOrNode.new(val[0], val[2])
|
2561
|
+
result = LogicalOrNode.new(val[0], val[2])
|
2562
2562
|
result
|
2563
2563
|
end
|
2564
2564
|
.,.,
|
@@ -2567,7 +2567,7 @@ module_eval(<<'.,.,', 'parser.y', 431)
|
|
2567
2567
|
|
2568
2568
|
module_eval(<<'.,.,', 'parser.y', 437)
|
2569
2569
|
def _reduce_219(val, _values, result)
|
2570
|
-
result = LogicalOrNode.new(val[0], val[2])
|
2570
|
+
result = LogicalOrNode.new(val[0], val[2])
|
2571
2571
|
result
|
2572
2572
|
end
|
2573
2573
|
.,.,
|
@@ -2576,7 +2576,7 @@ module_eval(<<'.,.,', 'parser.y', 437)
|
|
2576
2576
|
|
2577
2577
|
module_eval(<<'.,.,', 'parser.y', 442)
|
2578
2578
|
def _reduce_221(val, _values, result)
|
2579
|
-
result = LogicalOrNode.new(val[0], val[2])
|
2579
|
+
result = LogicalOrNode.new(val[0], val[2])
|
2580
2580
|
result
|
2581
2581
|
end
|
2582
2582
|
.,.,
|
@@ -2586,7 +2586,7 @@ module_eval(<<'.,.,', 'parser.y', 442)
|
|
2586
2586
|
module_eval(<<'.,.,', 'parser.y', 448)
|
2587
2587
|
def _reduce_223(val, _values, result)
|
2588
2588
|
result = ConditionalNode.new(val[0], val[2], val[4])
|
2589
|
-
|
2589
|
+
|
2590
2590
|
result
|
2591
2591
|
end
|
2592
2592
|
.,.,
|
@@ -2596,7 +2596,7 @@ module_eval(<<'.,.,', 'parser.y', 448)
|
|
2596
2596
|
module_eval(<<'.,.,', 'parser.y', 455)
|
2597
2597
|
def _reduce_225(val, _values, result)
|
2598
2598
|
result = ConditionalNode.new(val[0], val[2], val[4])
|
2599
|
-
|
2599
|
+
|
2600
2600
|
result
|
2601
2601
|
end
|
2602
2602
|
.,.,
|
@@ -2606,7 +2606,7 @@ module_eval(<<'.,.,', 'parser.y', 455)
|
|
2606
2606
|
module_eval(<<'.,.,', 'parser.y', 462)
|
2607
2607
|
def _reduce_227(val, _values, result)
|
2608
2608
|
result = ConditionalNode.new(val[0], val[2], val[4])
|
2609
|
-
|
2609
|
+
|
2610
2610
|
result
|
2611
2611
|
end
|
2612
2612
|
.,.,
|
@@ -2616,7 +2616,7 @@ module_eval(<<'.,.,', 'parser.y', 462)
|
|
2616
2616
|
module_eval(<<'.,.,', 'parser.y', 469)
|
2617
2617
|
def _reduce_229(val, _values, result)
|
2618
2618
|
result = val[1].new(val.first, val.last)
|
2619
|
-
|
2619
|
+
|
2620
2620
|
result
|
2621
2621
|
end
|
2622
2622
|
.,.,
|
@@ -2626,7 +2626,7 @@ module_eval(<<'.,.,', 'parser.y', 469)
|
|
2626
2626
|
module_eval(<<'.,.,', 'parser.y', 476)
|
2627
2627
|
def _reduce_231(val, _values, result)
|
2628
2628
|
result = val[1].new(val.first, val.last)
|
2629
|
-
|
2629
|
+
|
2630
2630
|
result
|
2631
2631
|
end
|
2632
2632
|
.,.,
|
@@ -2636,91 +2636,91 @@ module_eval(<<'.,.,', 'parser.y', 476)
|
|
2636
2636
|
module_eval(<<'.,.,', 'parser.y', 483)
|
2637
2637
|
def _reduce_233(val, _values, result)
|
2638
2638
|
result = val[1].new(val.first, val.last)
|
2639
|
-
|
2639
|
+
|
2640
2640
|
result
|
2641
2641
|
end
|
2642
2642
|
.,.,
|
2643
2643
|
|
2644
2644
|
module_eval(<<'.,.,', 'parser.y', 488)
|
2645
2645
|
def _reduce_234(val, _values, result)
|
2646
|
-
result = OpEqualNode
|
2646
|
+
result = OpEqualNode
|
2647
2647
|
result
|
2648
2648
|
end
|
2649
2649
|
.,.,
|
2650
2650
|
|
2651
2651
|
module_eval(<<'.,.,', 'parser.y', 489)
|
2652
2652
|
def _reduce_235(val, _values, result)
|
2653
|
-
result = OpPlusEqualNode
|
2653
|
+
result = OpPlusEqualNode
|
2654
2654
|
result
|
2655
2655
|
end
|
2656
2656
|
.,.,
|
2657
2657
|
|
2658
2658
|
module_eval(<<'.,.,', 'parser.y', 490)
|
2659
2659
|
def _reduce_236(val, _values, result)
|
2660
|
-
result = OpMinusEqualNode
|
2660
|
+
result = OpMinusEqualNode
|
2661
2661
|
result
|
2662
2662
|
end
|
2663
2663
|
.,.,
|
2664
2664
|
|
2665
2665
|
module_eval(<<'.,.,', 'parser.y', 491)
|
2666
2666
|
def _reduce_237(val, _values, result)
|
2667
|
-
result = OpMultiplyEqualNode
|
2667
|
+
result = OpMultiplyEqualNode
|
2668
2668
|
result
|
2669
2669
|
end
|
2670
2670
|
.,.,
|
2671
2671
|
|
2672
2672
|
module_eval(<<'.,.,', 'parser.y', 492)
|
2673
2673
|
def _reduce_238(val, _values, result)
|
2674
|
-
result = OpDivideEqualNode
|
2674
|
+
result = OpDivideEqualNode
|
2675
2675
|
result
|
2676
2676
|
end
|
2677
2677
|
.,.,
|
2678
2678
|
|
2679
2679
|
module_eval(<<'.,.,', 'parser.y', 493)
|
2680
2680
|
def _reduce_239(val, _values, result)
|
2681
|
-
result = OpLShiftEqualNode
|
2681
|
+
result = OpLShiftEqualNode
|
2682
2682
|
result
|
2683
2683
|
end
|
2684
2684
|
.,.,
|
2685
2685
|
|
2686
2686
|
module_eval(<<'.,.,', 'parser.y', 494)
|
2687
2687
|
def _reduce_240(val, _values, result)
|
2688
|
-
result = OpRShiftEqualNode
|
2688
|
+
result = OpRShiftEqualNode
|
2689
2689
|
result
|
2690
2690
|
end
|
2691
2691
|
.,.,
|
2692
2692
|
|
2693
2693
|
module_eval(<<'.,.,', 'parser.y', 495)
|
2694
2694
|
def _reduce_241(val, _values, result)
|
2695
|
-
result = OpURShiftEqualNode
|
2695
|
+
result = OpURShiftEqualNode
|
2696
2696
|
result
|
2697
2697
|
end
|
2698
2698
|
.,.,
|
2699
2699
|
|
2700
2700
|
module_eval(<<'.,.,', 'parser.y', 496)
|
2701
2701
|
def _reduce_242(val, _values, result)
|
2702
|
-
result = OpAndEqualNode
|
2702
|
+
result = OpAndEqualNode
|
2703
2703
|
result
|
2704
2704
|
end
|
2705
2705
|
.,.,
|
2706
2706
|
|
2707
2707
|
module_eval(<<'.,.,', 'parser.y', 497)
|
2708
2708
|
def _reduce_243(val, _values, result)
|
2709
|
-
result = OpXOrEqualNode
|
2709
|
+
result = OpXOrEqualNode
|
2710
2710
|
result
|
2711
2711
|
end
|
2712
2712
|
.,.,
|
2713
2713
|
|
2714
2714
|
module_eval(<<'.,.,', 'parser.y', 498)
|
2715
2715
|
def _reduce_244(val, _values, result)
|
2716
|
-
result = OpOrEqualNode
|
2716
|
+
result = OpOrEqualNode
|
2717
2717
|
result
|
2718
2718
|
end
|
2719
2719
|
.,.,
|
2720
2720
|
|
2721
2721
|
module_eval(<<'.,.,', 'parser.y', 499)
|
2722
2722
|
def _reduce_245(val, _values, result)
|
2723
|
-
result = OpModEqualNode
|
2723
|
+
result = OpModEqualNode
|
2724
2724
|
result
|
2725
2725
|
end
|
2726
2726
|
.,.,
|
@@ -2729,7 +2729,7 @@ module_eval(<<'.,.,', 'parser.y', 499)
|
|
2729
2729
|
|
2730
2730
|
module_eval(<<'.,.,', 'parser.y', 504)
|
2731
2731
|
def _reduce_247(val, _values, result)
|
2732
|
-
result = CommaNode.new(val[0], val[2])
|
2732
|
+
result = CommaNode.new(val[0], val[2])
|
2733
2733
|
result
|
2734
2734
|
end
|
2735
2735
|
.,.,
|
@@ -2738,7 +2738,7 @@ module_eval(<<'.,.,', 'parser.y', 504)
|
|
2738
2738
|
|
2739
2739
|
module_eval(<<'.,.,', 'parser.y', 509)
|
2740
2740
|
def _reduce_249(val, _values, result)
|
2741
|
-
result = CommaNode.new(val[0], val[2])
|
2741
|
+
result = CommaNode.new(val[0], val[2])
|
2742
2742
|
result
|
2743
2743
|
end
|
2744
2744
|
.,.,
|
@@ -2747,7 +2747,7 @@ module_eval(<<'.,.,', 'parser.y', 509)
|
|
2747
2747
|
|
2748
2748
|
module_eval(<<'.,.,', 'parser.y', 514)
|
2749
2749
|
def _reduce_251(val, _values, result)
|
2750
|
-
result = CommaNode.new(val[0], val[2])
|
2750
|
+
result = CommaNode.new(val[0], val[2])
|
2751
2751
|
result
|
2752
2752
|
end
|
2753
2753
|
.,.,
|
@@ -2756,7 +2756,7 @@ module_eval(<<'.,.,', 'parser.y', 520)
|
|
2756
2756
|
def _reduce_252(val, _values, result)
|
2757
2757
|
result = BlockNode.new(val[1])
|
2758
2758
|
debug(result)
|
2759
|
-
|
2759
|
+
|
2760
2760
|
result
|
2761
2761
|
end
|
2762
2762
|
.,.,
|
@@ -2765,7 +2765,7 @@ module_eval(<<'.,.,', 'parser.y', 527)
|
|
2765
2765
|
def _reduce_253(val, _values, result)
|
2766
2766
|
result = VarStatementNode.new(val[1])
|
2767
2767
|
debug(result)
|
2768
|
-
|
2768
|
+
|
2769
2769
|
result
|
2770
2770
|
end
|
2771
2771
|
.,.,
|
@@ -2775,14 +2775,14 @@ module_eval(<<'.,.,', 'parser.y', 531)
|
|
2775
2775
|
result = VarStatementNode.new(val[1])
|
2776
2776
|
debug(result)
|
2777
2777
|
yyabort unless allow_auto_semi?(val.last)
|
2778
|
-
|
2778
|
+
|
2779
2779
|
result
|
2780
2780
|
end
|
2781
2781
|
.,.,
|
2782
2782
|
|
2783
2783
|
module_eval(<<'.,.,', 'parser.y', 538)
|
2784
2784
|
def _reduce_255(val, _values, result)
|
2785
|
-
result = val
|
2785
|
+
result = val
|
2786
2786
|
result
|
2787
2787
|
end
|
2788
2788
|
.,.,
|
@@ -2790,14 +2790,14 @@ module_eval(<<'.,.,', 'parser.y', 538)
|
|
2790
2790
|
module_eval(<<'.,.,', 'parser.y', 540)
|
2791
2791
|
def _reduce_256(val, _values, result)
|
2792
2792
|
result = [val.first, val.last].flatten
|
2793
|
-
|
2793
|
+
|
2794
2794
|
result
|
2795
2795
|
end
|
2796
2796
|
.,.,
|
2797
2797
|
|
2798
2798
|
module_eval(<<'.,.,', 'parser.y', 545)
|
2799
2799
|
def _reduce_257(val, _values, result)
|
2800
|
-
result = val
|
2800
|
+
result = val
|
2801
2801
|
result
|
2802
2802
|
end
|
2803
2803
|
.,.,
|
@@ -2805,35 +2805,35 @@ module_eval(<<'.,.,', 'parser.y', 545)
|
|
2805
2805
|
module_eval(<<'.,.,', 'parser.y', 547)
|
2806
2806
|
def _reduce_258(val, _values, result)
|
2807
2807
|
result = [val.first, val.last].flatten
|
2808
|
-
|
2808
|
+
|
2809
2809
|
result
|
2810
2810
|
end
|
2811
2811
|
.,.,
|
2812
2812
|
|
2813
2813
|
module_eval(<<'.,.,', 'parser.y', 552)
|
2814
2814
|
def _reduce_259(val, _values, result)
|
2815
|
-
result = VarDeclNode.new(val.first, nil)
|
2815
|
+
result = VarDeclNode.new(val.first, nil)
|
2816
2816
|
result
|
2817
2817
|
end
|
2818
2818
|
.,.,
|
2819
2819
|
|
2820
2820
|
module_eval(<<'.,.,', 'parser.y', 553)
|
2821
2821
|
def _reduce_260(val, _values, result)
|
2822
|
-
result = VarDeclNode.new(val.first, val[1])
|
2822
|
+
result = VarDeclNode.new(val.first, val[1])
|
2823
2823
|
result
|
2824
2824
|
end
|
2825
2825
|
.,.,
|
2826
2826
|
|
2827
2827
|
module_eval(<<'.,.,', 'parser.y', 557)
|
2828
2828
|
def _reduce_261(val, _values, result)
|
2829
|
-
result = VarDeclNode.new(val[0],nil)
|
2829
|
+
result = VarDeclNode.new(val[0],nil)
|
2830
2830
|
result
|
2831
2831
|
end
|
2832
2832
|
.,.,
|
2833
2833
|
|
2834
2834
|
module_eval(<<'.,.,', 'parser.y', 558)
|
2835
2835
|
def _reduce_262(val, _values, result)
|
2836
|
-
result = VarDeclNode.new(val[0], val[1])
|
2836
|
+
result = VarDeclNode.new(val[0], val[1])
|
2837
2837
|
result
|
2838
2838
|
end
|
2839
2839
|
.,.,
|
@@ -2842,7 +2842,7 @@ module_eval(<<'.,.,', 'parser.y', 563)
|
|
2842
2842
|
def _reduce_263(val, _values, result)
|
2843
2843
|
result = ConstStatementNode.new(val[1])
|
2844
2844
|
debug(result)
|
2845
|
-
|
2845
|
+
|
2846
2846
|
result
|
2847
2847
|
end
|
2848
2848
|
.,.,
|
@@ -2852,14 +2852,14 @@ module_eval(<<'.,.,', 'parser.y', 567)
|
|
2852
2852
|
result = ConstStatementNode.new(val[1])
|
2853
2853
|
debug(result)
|
2854
2854
|
yyerror unless allow_auto_semi?(val.last)
|
2855
|
-
|
2855
|
+
|
2856
2856
|
result
|
2857
2857
|
end
|
2858
2858
|
.,.,
|
2859
2859
|
|
2860
2860
|
module_eval(<<'.,.,', 'parser.y', 574)
|
2861
2861
|
def _reduce_265(val, _values, result)
|
2862
|
-
result = val
|
2862
|
+
result = val
|
2863
2863
|
result
|
2864
2864
|
end
|
2865
2865
|
.,.,
|
@@ -2867,42 +2867,42 @@ module_eval(<<'.,.,', 'parser.y', 574)
|
|
2867
2867
|
module_eval(<<'.,.,', 'parser.y', 576)
|
2868
2868
|
def _reduce_266(val, _values, result)
|
2869
2869
|
result = [val.first, val.last].flatten
|
2870
|
-
|
2870
|
+
|
2871
2871
|
result
|
2872
2872
|
end
|
2873
2873
|
.,.,
|
2874
2874
|
|
2875
2875
|
module_eval(<<'.,.,', 'parser.y', 581)
|
2876
2876
|
def _reduce_267(val, _values, result)
|
2877
|
-
result = VarDeclNode.new(val[0], nil, true)
|
2877
|
+
result = VarDeclNode.new(val[0], nil, true)
|
2878
2878
|
result
|
2879
2879
|
end
|
2880
2880
|
.,.,
|
2881
2881
|
|
2882
2882
|
module_eval(<<'.,.,', 'parser.y', 582)
|
2883
2883
|
def _reduce_268(val, _values, result)
|
2884
|
-
result = VarDeclNode.new(val[0], val[1], true)
|
2884
|
+
result = VarDeclNode.new(val[0], val[1], true)
|
2885
2885
|
result
|
2886
2886
|
end
|
2887
2887
|
.,.,
|
2888
2888
|
|
2889
2889
|
module_eval(<<'.,.,', 'parser.y', 586)
|
2890
2890
|
def _reduce_269(val, _values, result)
|
2891
|
-
result = AssignExprNode.new(val[1])
|
2891
|
+
result = AssignExprNode.new(val[1])
|
2892
2892
|
result
|
2893
2893
|
end
|
2894
2894
|
.,.,
|
2895
2895
|
|
2896
2896
|
module_eval(<<'.,.,', 'parser.y', 590)
|
2897
2897
|
def _reduce_270(val, _values, result)
|
2898
|
-
result = AssignExprNode.new(val[1])
|
2898
|
+
result = AssignExprNode.new(val[1])
|
2899
2899
|
result
|
2900
2900
|
end
|
2901
2901
|
.,.,
|
2902
2902
|
|
2903
2903
|
module_eval(<<'.,.,', 'parser.y', 594)
|
2904
2904
|
def _reduce_271(val, _values, result)
|
2905
|
-
result = EmptyStatementNode.new(val[0])
|
2905
|
+
result = EmptyStatementNode.new(val[0])
|
2906
2906
|
result
|
2907
2907
|
end
|
2908
2908
|
.,.,
|
@@ -2911,7 +2911,7 @@ module_eval(<<'.,.,', 'parser.y', 599)
|
|
2911
2911
|
def _reduce_272(val, _values, result)
|
2912
2912
|
result = ExpressionStatementNode.new(val.first)
|
2913
2913
|
debug(result)
|
2914
|
-
|
2914
|
+
|
2915
2915
|
result
|
2916
2916
|
end
|
2917
2917
|
.,.,
|
@@ -2921,7 +2921,7 @@ module_eval(<<'.,.,', 'parser.y', 603)
|
|
2921
2921
|
result = ExpressionStatementNode.new(val.first)
|
2922
2922
|
debug(result)
|
2923
2923
|
raise RKelly::SyntaxError unless allow_auto_semi?(val.last)
|
2924
|
-
|
2924
|
+
|
2925
2925
|
result
|
2926
2926
|
end
|
2927
2927
|
.,.,
|
@@ -2930,7 +2930,7 @@ module_eval(<<'.,.,', 'parser.y', 611)
|
|
2930
2930
|
def _reduce_274(val, _values, result)
|
2931
2931
|
result = IfNode.new(val[2], val[4])
|
2932
2932
|
debug(result)
|
2933
|
-
|
2933
|
+
|
2934
2934
|
result
|
2935
2935
|
end
|
2936
2936
|
.,.,
|
@@ -2939,7 +2939,7 @@ module_eval(<<'.,.,', 'parser.y', 615)
|
|
2939
2939
|
def _reduce_275(val, _values, result)
|
2940
2940
|
result = IfNode.new(val[2], val[4], val[6])
|
2941
2941
|
debug(result)
|
2942
|
-
|
2942
|
+
|
2943
2943
|
result
|
2944
2944
|
end
|
2945
2945
|
.,.,
|
@@ -2948,7 +2948,7 @@ module_eval(<<'.,.,', 'parser.y', 622)
|
|
2948
2948
|
def _reduce_276(val, _values, result)
|
2949
2949
|
result = DoWhileNode.new(val[1], val[4])
|
2950
2950
|
debug(result)
|
2951
|
-
|
2951
|
+
|
2952
2952
|
result
|
2953
2953
|
end
|
2954
2954
|
.,.,
|
@@ -2957,7 +2957,7 @@ module_eval(<<'.,.,', 'parser.y', 626)
|
|
2957
2957
|
def _reduce_277(val, _values, result)
|
2958
2958
|
result = DoWhileNode.new(val[1], val[4])
|
2959
2959
|
debug(result)
|
2960
|
-
|
2960
|
+
|
2961
2961
|
result
|
2962
2962
|
end
|
2963
2963
|
.,.,
|
@@ -2966,7 +2966,7 @@ module_eval(<<'.,.,', 'parser.y', 630)
|
|
2966
2966
|
def _reduce_278(val, _values, result)
|
2967
2967
|
result = WhileNode.new(val[2], val[4])
|
2968
2968
|
debug(result)
|
2969
|
-
|
2969
|
+
|
2970
2970
|
result
|
2971
2971
|
end
|
2972
2972
|
.,.,
|
@@ -2975,7 +2975,7 @@ module_eval(<<'.,.,', 'parser.y', 634)
|
|
2975
2975
|
def _reduce_279(val, _values, result)
|
2976
2976
|
result = ForNode.new(val[2], val[4], val[6], val[8])
|
2977
2977
|
debug(result)
|
2978
|
-
|
2978
|
+
|
2979
2979
|
result
|
2980
2980
|
end
|
2981
2981
|
.,.,
|
@@ -2984,7 +2984,7 @@ module_eval(<<'.,.,', 'parser.y', 639)
|
|
2984
2984
|
def _reduce_280(val, _values, result)
|
2985
2985
|
result = ForNode.new(VarStatementNode.new(val[3]), val[5], val[7], val[9])
|
2986
2986
|
debug(result)
|
2987
|
-
|
2987
|
+
|
2988
2988
|
result
|
2989
2989
|
end
|
2990
2990
|
.,.,
|
@@ -2994,7 +2994,7 @@ module_eval(<<'.,.,', 'parser.y', 643)
|
|
2994
2994
|
#yyabort if (!n.isLocation())
|
2995
2995
|
result = ForInNode.new(val[2], val[4], val[6])
|
2996
2996
|
debug(result);
|
2997
|
-
|
2997
|
+
|
2998
2998
|
result
|
2999
2999
|
end
|
3000
3000
|
.,.,
|
@@ -3004,7 +3004,7 @@ module_eval(<<'.,.,', 'parser.y', 648)
|
|
3004
3004
|
result = ForInNode.new(
|
3005
3005
|
VarDeclNode.new(val[3], nil), val[5], val[7])
|
3006
3006
|
debug(result)
|
3007
|
-
|
3007
|
+
|
3008
3008
|
result
|
3009
3009
|
end
|
3010
3010
|
.,.,
|
@@ -3015,14 +3015,14 @@ module_eval(<<'.,.,', 'parser.y', 653)
|
|
3015
3015
|
VarDeclNode.new(val[3], val[4]), val[6], val[8]
|
3016
3016
|
)
|
3017
3017
|
debug(result)
|
3018
|
-
|
3018
|
+
|
3019
3019
|
result
|
3020
3020
|
end
|
3021
3021
|
.,.,
|
3022
3022
|
|
3023
3023
|
module_eval(<<'.,.,', 'parser.y', 661)
|
3024
3024
|
def _reduce_284(val, _values, result)
|
3025
|
-
result = nil
|
3025
|
+
result = nil
|
3026
3026
|
result
|
3027
3027
|
end
|
3028
3028
|
.,.,
|
@@ -3031,7 +3031,7 @@ module_eval(<<'.,.,', 'parser.y', 661)
|
|
3031
3031
|
|
3032
3032
|
module_eval(<<'.,.,', 'parser.y', 666)
|
3033
3033
|
def _reduce_286(val, _values, result)
|
3034
|
-
result = nil
|
3034
|
+
result = nil
|
3035
3035
|
result
|
3036
3036
|
end
|
3037
3037
|
.,.,
|
@@ -3042,7 +3042,7 @@ module_eval(<<'.,.,', 'parser.y', 672)
|
|
3042
3042
|
def _reduce_288(val, _values, result)
|
3043
3043
|
result = ContinueNode.new(nil)
|
3044
3044
|
debug(result)
|
3045
|
-
|
3045
|
+
|
3046
3046
|
result
|
3047
3047
|
end
|
3048
3048
|
.,.,
|
@@ -3052,7 +3052,7 @@ module_eval(<<'.,.,', 'parser.y', 676)
|
|
3052
3052
|
result = ContinueNode.new(nil)
|
3053
3053
|
debug(result)
|
3054
3054
|
yyabort unless allow_auto_semi?(val[1])
|
3055
|
-
|
3055
|
+
|
3056
3056
|
result
|
3057
3057
|
end
|
3058
3058
|
.,.,
|
@@ -3061,7 +3061,7 @@ module_eval(<<'.,.,', 'parser.y', 681)
|
|
3061
3061
|
def _reduce_290(val, _values, result)
|
3062
3062
|
result = ContinueNode.new(val[1])
|
3063
3063
|
debug(result)
|
3064
|
-
|
3064
|
+
|
3065
3065
|
result
|
3066
3066
|
end
|
3067
3067
|
.,.,
|
@@ -3071,7 +3071,7 @@ module_eval(<<'.,.,', 'parser.y', 685)
|
|
3071
3071
|
result = ContinueNode.new(val[1])
|
3072
3072
|
debug(result)
|
3073
3073
|
yyabort unless allow_auto_semi?(val[2])
|
3074
|
-
|
3074
|
+
|
3075
3075
|
result
|
3076
3076
|
end
|
3077
3077
|
.,.,
|
@@ -3080,7 +3080,7 @@ module_eval(<<'.,.,', 'parser.y', 693)
|
|
3080
3080
|
def _reduce_292(val, _values, result)
|
3081
3081
|
result = BreakNode.new(nil)
|
3082
3082
|
debug(result)
|
3083
|
-
|
3083
|
+
|
3084
3084
|
result
|
3085
3085
|
end
|
3086
3086
|
.,.,
|
@@ -3090,7 +3090,7 @@ module_eval(<<'.,.,', 'parser.y', 697)
|
|
3090
3090
|
result = BreakNode.new(nil)
|
3091
3091
|
debug(result)
|
3092
3092
|
yyabort unless allow_auto_semi?(val[1])
|
3093
|
-
|
3093
|
+
|
3094
3094
|
result
|
3095
3095
|
end
|
3096
3096
|
.,.,
|
@@ -3099,7 +3099,7 @@ module_eval(<<'.,.,', 'parser.y', 702)
|
|
3099
3099
|
def _reduce_294(val, _values, result)
|
3100
3100
|
result = BreakNode.new(val[1])
|
3101
3101
|
debug(result)
|
3102
|
-
|
3102
|
+
|
3103
3103
|
result
|
3104
3104
|
end
|
3105
3105
|
.,.,
|
@@ -3109,7 +3109,7 @@ module_eval(<<'.,.,', 'parser.y', 706)
|
|
3109
3109
|
result = BreakNode.new(val[1])
|
3110
3110
|
debug(result)
|
3111
3111
|
yyabort unless allow_auto_semi?(val[2])
|
3112
|
-
|
3112
|
+
|
3113
3113
|
result
|
3114
3114
|
end
|
3115
3115
|
.,.,
|
@@ -3118,7 +3118,7 @@ module_eval(<<'.,.,', 'parser.y', 714)
|
|
3118
3118
|
def _reduce_296(val, _values, result)
|
3119
3119
|
result = ReturnNode.new(nil)
|
3120
3120
|
debug(result)
|
3121
|
-
|
3121
|
+
|
3122
3122
|
result
|
3123
3123
|
end
|
3124
3124
|
.,.,
|
@@ -3128,7 +3128,7 @@ module_eval(<<'.,.,', 'parser.y', 718)
|
|
3128
3128
|
result = ReturnNode.new(nil)
|
3129
3129
|
debug(result)
|
3130
3130
|
yyabort unless allow_auto_semi?(val[1])
|
3131
|
-
|
3131
|
+
|
3132
3132
|
result
|
3133
3133
|
end
|
3134
3134
|
.,.,
|
@@ -3137,7 +3137,7 @@ module_eval(<<'.,.,', 'parser.y', 723)
|
|
3137
3137
|
def _reduce_298(val, _values, result)
|
3138
3138
|
result = ReturnNode.new(val[1])
|
3139
3139
|
debug(result)
|
3140
|
-
|
3140
|
+
|
3141
3141
|
result
|
3142
3142
|
end
|
3143
3143
|
.,.,
|
@@ -3147,7 +3147,7 @@ module_eval(<<'.,.,', 'parser.y', 727)
|
|
3147
3147
|
result = ReturnNode.new(val[1])
|
3148
3148
|
debug(result)
|
3149
3149
|
yyabort unless allow_auto_semi?(val[2])
|
3150
|
-
|
3150
|
+
|
3151
3151
|
result
|
3152
3152
|
end
|
3153
3153
|
.,.,
|
@@ -3156,7 +3156,7 @@ module_eval(<<'.,.,', 'parser.y', 735)
|
|
3156
3156
|
def _reduce_300(val, _values, result)
|
3157
3157
|
result = WithNode.new(val[2], val[4])
|
3158
3158
|
debug(result)
|
3159
|
-
|
3159
|
+
|
3160
3160
|
result
|
3161
3161
|
end
|
3162
3162
|
.,.,
|
@@ -3165,14 +3165,14 @@ module_eval(<<'.,.,', 'parser.y', 742)
|
|
3165
3165
|
def _reduce_301(val, _values, result)
|
3166
3166
|
result = SwitchNode.new(val[2], val[4])
|
3167
3167
|
debug(result)
|
3168
|
-
|
3168
|
+
|
3169
3169
|
result
|
3170
3170
|
end
|
3171
3171
|
.,.,
|
3172
3172
|
|
3173
3173
|
module_eval(<<'.,.,', 'parser.y', 748)
|
3174
3174
|
def _reduce_302(val, _values, result)
|
3175
|
-
result = CaseBlockNode.new(val[1])
|
3175
|
+
result = CaseBlockNode.new(val[1])
|
3176
3176
|
result
|
3177
3177
|
end
|
3178
3178
|
.,.,
|
@@ -3180,14 +3180,14 @@ module_eval(<<'.,.,', 'parser.y', 748)
|
|
3180
3180
|
module_eval(<<'.,.,', 'parser.y', 750)
|
3181
3181
|
def _reduce_303(val, _values, result)
|
3182
3182
|
result = CaseBlockNode.new([val[1], val[2], val[3]].flatten)
|
3183
|
-
|
3183
|
+
|
3184
3184
|
result
|
3185
3185
|
end
|
3186
3186
|
.,.,
|
3187
3187
|
|
3188
3188
|
module_eval(<<'.,.,', 'parser.y', 755)
|
3189
3189
|
def _reduce_304(val, _values, result)
|
3190
|
-
result = []
|
3190
|
+
result = []
|
3191
3191
|
result
|
3192
3192
|
end
|
3193
3193
|
.,.,
|
@@ -3196,14 +3196,14 @@ module_eval(<<'.,.,', 'parser.y', 755)
|
|
3196
3196
|
|
3197
3197
|
module_eval(<<'.,.,', 'parser.y', 760)
|
3198
3198
|
def _reduce_306(val, _values, result)
|
3199
|
-
result = val
|
3199
|
+
result = val
|
3200
3200
|
result
|
3201
3201
|
end
|
3202
3202
|
.,.,
|
3203
3203
|
|
3204
3204
|
module_eval(<<'.,.,', 'parser.y', 761)
|
3205
3205
|
def _reduce_307(val, _values, result)
|
3206
|
-
result = val.flatten
|
3206
|
+
result = val.flatten
|
3207
3207
|
result
|
3208
3208
|
end
|
3209
3209
|
.,.,
|
@@ -3211,7 +3211,7 @@ module_eval(<<'.,.,', 'parser.y', 761)
|
|
3211
3211
|
module_eval(<<'.,.,', 'parser.y', 766)
|
3212
3212
|
def _reduce_308(val, _values, result)
|
3213
3213
|
result = CaseClauseNode.new(val[1], val[3])
|
3214
|
-
|
3214
|
+
|
3215
3215
|
result
|
3216
3216
|
end
|
3217
3217
|
.,.,
|
@@ -3219,14 +3219,14 @@ module_eval(<<'.,.,', 'parser.y', 766)
|
|
3219
3219
|
module_eval(<<'.,.,', 'parser.y', 772)
|
3220
3220
|
def _reduce_309(val, _values, result)
|
3221
3221
|
result = CaseClauseNode.new(nil, val[2])
|
3222
|
-
|
3222
|
+
|
3223
3223
|
result
|
3224
3224
|
end
|
3225
3225
|
.,.,
|
3226
3226
|
|
3227
3227
|
module_eval(<<'.,.,', 'parser.y', 777)
|
3228
3228
|
def _reduce_310(val, _values, result)
|
3229
|
-
result = LabelNode.new(val[0], val[2])
|
3229
|
+
result = LabelNode.new(val[0], val[2])
|
3230
3230
|
result
|
3231
3231
|
end
|
3232
3232
|
.,.,
|
@@ -3235,7 +3235,7 @@ module_eval(<<'.,.,', 'parser.y', 782)
|
|
3235
3235
|
def _reduce_311(val, _values, result)
|
3236
3236
|
result = ThrowNode.new(val[1])
|
3237
3237
|
debug(result)
|
3238
|
-
|
3238
|
+
|
3239
3239
|
result
|
3240
3240
|
end
|
3241
3241
|
.,.,
|
@@ -3245,7 +3245,7 @@ module_eval(<<'.,.,', 'parser.y', 786)
|
|
3245
3245
|
result = ThrowNode.new(val[1])
|
3246
3246
|
debug(result)
|
3247
3247
|
yyabort unless allow_auto_semi?(val[2])
|
3248
|
-
|
3248
|
+
|
3249
3249
|
result
|
3250
3250
|
end
|
3251
3251
|
.,.,
|
@@ -3254,7 +3254,7 @@ module_eval(<<'.,.,', 'parser.y', 794)
|
|
3254
3254
|
def _reduce_313(val, _values, result)
|
3255
3255
|
result = TryNode.new(val[1], nil, nil, val[3])
|
3256
3256
|
debug(result)
|
3257
|
-
|
3257
|
+
|
3258
3258
|
result
|
3259
3259
|
end
|
3260
3260
|
.,.,
|
@@ -3263,7 +3263,7 @@ module_eval(<<'.,.,', 'parser.y', 798)
|
|
3263
3263
|
def _reduce_314(val, _values, result)
|
3264
3264
|
result = TryNode.new(val[1], val[4], val[6])
|
3265
3265
|
debug(result)
|
3266
|
-
|
3266
|
+
|
3267
3267
|
result
|
3268
3268
|
end
|
3269
3269
|
.,.,
|
@@ -3272,7 +3272,7 @@ module_eval(<<'.,.,', 'parser.y', 802)
|
|
3272
3272
|
def _reduce_315(val, _values, result)
|
3273
3273
|
result = TryNode.new(val[1], val[4], val[6], val[8])
|
3274
3274
|
debug(result)
|
3275
|
-
|
3275
|
+
|
3276
3276
|
result
|
3277
3277
|
end
|
3278
3278
|
.,.,
|
@@ -3281,7 +3281,7 @@ module_eval(<<'.,.,', 'parser.y', 809)
|
|
3281
3281
|
def _reduce_316(val, _values, result)
|
3282
3282
|
result = EmptyStatementNode.new(val[0])
|
3283
3283
|
debug(result)
|
3284
|
-
|
3284
|
+
|
3285
3285
|
result
|
3286
3286
|
end
|
3287
3287
|
.,.,
|
@@ -3291,7 +3291,7 @@ module_eval(<<'.,.,', 'parser.y', 813)
|
|
3291
3291
|
result = EmptyStatementNode.new(val[0])
|
3292
3292
|
debug(result)
|
3293
3293
|
yyabort unless allow_auto_semi?(val[1])
|
3294
|
-
|
3294
|
+
|
3295
3295
|
result
|
3296
3296
|
end
|
3297
3297
|
.,.,
|
@@ -3300,7 +3300,7 @@ module_eval(<<'.,.,', 'parser.y', 821)
|
|
3300
3300
|
def _reduce_318(val, _values, result)
|
3301
3301
|
result = FunctionDeclNode.new(val[1], val[4])
|
3302
3302
|
debug(val[5])
|
3303
|
-
|
3303
|
+
|
3304
3304
|
result
|
3305
3305
|
end
|
3306
3306
|
.,.,
|
@@ -3309,7 +3309,7 @@ module_eval(<<'.,.,', 'parser.y', 825)
|
|
3309
3309
|
def _reduce_319(val, _values, result)
|
3310
3310
|
result = FunctionDeclNode.new(val[1], val[5], val[3])
|
3311
3311
|
debug(val[6])
|
3312
|
-
|
3312
|
+
|
3313
3313
|
result
|
3314
3314
|
end
|
3315
3315
|
.,.,
|
@@ -3318,7 +3318,7 @@ module_eval(<<'.,.,', 'parser.y', 832)
|
|
3318
3318
|
def _reduce_320(val, _values, result)
|
3319
3319
|
result = FunctionExprNode.new(val[0], val[3])
|
3320
3320
|
debug(val[4])
|
3321
|
-
|
3321
|
+
|
3322
3322
|
result
|
3323
3323
|
end
|
3324
3324
|
.,.,
|
@@ -3327,7 +3327,7 @@ module_eval(<<'.,.,', 'parser.y', 836)
|
|
3327
3327
|
def _reduce_321(val, _values, result)
|
3328
3328
|
result = FunctionExprNode.new(val[0], val[4], val[2])
|
3329
3329
|
debug(val[5])
|
3330
|
-
|
3330
|
+
|
3331
3331
|
result
|
3332
3332
|
end
|
3333
3333
|
.,.,
|
@@ -3336,7 +3336,7 @@ module_eval(<<'.,.,', 'parser.y', 840)
|
|
3336
3336
|
def _reduce_322(val, _values, result)
|
3337
3337
|
result = FunctionExprNode.new(val[1], val[4])
|
3338
3338
|
debug(val[5])
|
3339
|
-
|
3339
|
+
|
3340
3340
|
result
|
3341
3341
|
end
|
3342
3342
|
.,.,
|
@@ -3345,14 +3345,14 @@ module_eval(<<'.,.,', 'parser.y', 844)
|
|
3345
3345
|
def _reduce_323(val, _values, result)
|
3346
3346
|
result = FunctionExprNode.new(val[1], val[5], val[3])
|
3347
3347
|
debug(val[6])
|
3348
|
-
|
3348
|
+
|
3349
3349
|
result
|
3350
3350
|
end
|
3351
3351
|
.,.,
|
3352
3352
|
|
3353
3353
|
module_eval(<<'.,.,', 'parser.y', 850)
|
3354
3354
|
def _reduce_324(val, _values, result)
|
3355
|
-
result = [ParameterNode.new(val[0])]
|
3355
|
+
result = [ParameterNode.new(val[0])]
|
3356
3356
|
result
|
3357
3357
|
end
|
3358
3358
|
.,.,
|
@@ -3360,14 +3360,14 @@ module_eval(<<'.,.,', 'parser.y', 850)
|
|
3360
3360
|
module_eval(<<'.,.,', 'parser.y', 852)
|
3361
3361
|
def _reduce_325(val, _values, result)
|
3362
3362
|
result = [val.first, ParameterNode.new(val.last)].flatten
|
3363
|
-
|
3363
|
+
|
3364
3364
|
result
|
3365
3365
|
end
|
3366
3366
|
.,.,
|
3367
3367
|
|
3368
3368
|
module_eval(<<'.,.,', 'parser.y', 857)
|
3369
3369
|
def _reduce_326(val, _values, result)
|
3370
|
-
result = FunctionBodyNode.new(val[1])
|
3370
|
+
result = FunctionBodyNode.new(val[1])
|
3371
3371
|
result
|
3372
3372
|
end
|
3373
3373
|
.,.,
|
@@ -3377,4 +3377,4 @@ def _reduce_none(val, _values, result)
|
|
3377
3377
|
end
|
3378
3378
|
|
3379
3379
|
end # class GeneratedParser
|
3380
|
-
|
3380
|
+
end # module RKelly
|