Changeset 129 for branches/generator/pascal.grm
- Timestamp:
- Dec 19, 2017, 4:56:34 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/generator/pascal.grm
r128 r129 5 5 <Name>BeginEnd</Name> 6 6 <CreateSourceNode>-1</CreateSourceNode> 7 <Level>0</Level> 7 8 <RuleItems> 8 9 <Type>0</Type> … … 33 34 <Name>IfThenElse</Name> 34 35 <CreateSourceNode>-1</CreateSourceNode> 36 <Level>0</Level> 35 37 <RuleItems> 36 38 <Type>0</Type> … … 91 93 <Name>WhileDo</Name> 92 94 <CreateSourceNode>-1</CreateSourceNode> 95 <Level>0</Level> 93 96 <RuleItems> 94 97 <Type>0</Type> … … 126 129 <Name>RepeatUntil</Name> 127 130 <CreateSourceNode>-1</CreateSourceNode> 131 <Level>0</Level> 128 132 <RuleItems> 129 133 <Type>0</Type> … … 161 165 <Name>ForToDo</Name> 162 166 <CreateSourceNode>-1</CreateSourceNode> 167 <Level>0</Level> 163 168 <RuleItems> 164 169 <Type>0</Type> … … 224 229 <Name>WithDo</Name> 225 230 <CreateSourceNode>-1</CreateSourceNode> 231 <Level>0</Level> 226 232 <RuleItems> 227 233 <Type>0</Type> … … 259 265 <Name>CaseOf</Name> 260 266 <CreateSourceNode>-1</CreateSourceNode> 267 <Level>0</Level> 261 268 <RuleItems> 262 269 <Type>0</Type> … … 331 338 <Name>Assignment</Name> 332 339 <CreateSourceNode>-1</CreateSourceNode> 340 <Level>0</Level> 333 341 <RuleItems> 334 342 <Type>0</Type> … … 359 367 <Name>Statement</Name> 360 368 <CreateSourceNode>-1</CreateSourceNode> 369 <Level>0</Level> 361 370 <RuleItems> 362 371 <Type>1</Type> … … 429 438 <Name>Expression</Name> 430 439 <CreateSourceNode>-1</CreateSourceNode> 440 <Level>0</Level> 431 441 <RuleItems> 432 442 <Type>0</Type> … … 443 453 <Name>VariableReference</Name> 444 454 <CreateSourceNode>0</CreateSourceNode> 455 <Level>0</Level> 445 456 <RuleItems> 446 457 <Type>0</Type> … … 457 468 <Name>Program</Name> 458 469 <CreateSourceNode>-1</CreateSourceNode> 470 <Level>0</Level> 459 471 <RuleItems> 460 472 <Type>0</Type> … … 515 527 <Name>Uses</Name> 516 528 <CreateSourceNode>0</CreateSourceNode> 529 <Level>0</Level> 517 530 <RuleItems> 518 531 <Type>0</Type> … … 566 579 <Name>UnitName</Name> 567 580 <CreateSourceNode>0</CreateSourceNode> 581 <Level>0</Level> 568 582 <RuleItems> 569 583 <Type>0</Type> … … 580 594 <Name>Function</Name> 581 595 <CreateSourceNode>-1</CreateSourceNode> 596 <Level>0</Level> 582 597 <RuleItems> 583 598 <Type>0</Type> … … 643 658 <Name>Identifier</Name> 644 659 <CreateSourceNode>0</CreateSourceNode> 660 <Level>1</Level> 645 661 <RuleItems> 646 662 <Type>0</Type> … … 687 703 <Name>VariableSection</Name> 688 704 <CreateSourceNode>0</CreateSourceNode> 705 <Level>0</Level> 689 706 <RuleItems> 690 707 <Type>0</Type> … … 708 725 <Name>FunctionParameters</Name> 709 726 <CreateSourceNode>0</CreateSourceNode> 727 <Level>0</Level> 710 728 <RuleItems> 711 729 <Type>0</Type> … … 759 777 <Name>FunctionParameter</Name> 760 778 <CreateSourceNode>0</CreateSourceNode> 779 <Level>0</Level> 761 780 <RuleItems> 762 781 <Type>0</Type> … … 787 806 <Name>VariableDefinition</Name> 788 807 <CreateSourceNode>0</CreateSourceNode> 808 <Level>0</Level> 789 809 <RuleItems> 790 810 <Type>0</Type> … … 822 842 <Name>TypeReference</Name> 823 843 <CreateSourceNode>0</CreateSourceNode> 844 <Level>0</Level> 824 845 <RuleItems> 825 846 <Type>0</Type> … … 836 857 <Name>VariableName</Name> 837 858 <CreateSourceNode>0</CreateSourceNode> 859 <Level>0</Level> 838 860 <RuleItems> 839 861 <Type>0</Type> … … 850 872 <Name>Unit</Name> 851 873 <CreateSourceNode>-1</CreateSourceNode> 874 <Level>0</Level> 852 875 <RuleItems> 853 876 <Type>0</Type> … … 920 943 <Name>UnitReference</Name> 921 944 <CreateSourceNode>0</CreateSourceNode> 945 <Level>0</Level> 922 946 <RuleItems> 923 947 <Type>0</Type> … … 934 958 <Name>ForInDo</Name> 935 959 <CreateSourceNode>-1</CreateSourceNode> 960 <Level>0</Level> 936 961 <RuleItems> 937 962 <Type>0</Type> … … 983 1008 <Name>TypeRecord</Name> 984 1009 <CreateSourceNode>-1</CreateSourceNode> 1010 <Level>0</Level> 985 1011 <RuleItems> 986 1012 <Type>0</Type> … … 1041 1067 <Name>ProgramName</Name> 1042 1068 <CreateSourceNode>0</CreateSourceNode> 1069 <Level>0</Level> 1043 1070 <RuleItems> 1044 1071 <Type>0</Type> … … 1055 1082 <Name>FunctionName</Name> 1056 1083 <CreateSourceNode>0</CreateSourceNode> 1084 <Level>0</Level> 1057 1085 <RuleItems> 1058 1086 <Type>0</Type> … … 1069 1097 <Name>Digit</Name> 1070 1098 <CreateSourceNode>0</CreateSourceNode> 1099 <Level>1</Level> 1071 1100 <RuleItems> 1072 1101 <Type>1</Type> … … 1084 1113 <Name>Sign</Name> 1085 1114 <CreateSourceNode>0</CreateSourceNode> 1115 <Level>1</Level> 1086 1116 <RuleItems> 1087 1117 <Type>1</Type> … … 1105 1135 <Name>UnsignedDigitSequence</Name> 1106 1136 <CreateSourceNode>0</CreateSourceNode> 1137 <Level>1</Level> 1107 1138 <RuleItems> 1108 1139 <Type>0</Type> … … 1126 1157 <Name>DigitSequence</Name> 1127 1158 <CreateSourceNode>0</CreateSourceNode> 1159 <Level>1</Level> 1128 1160 <RuleItems> 1129 1161 <Type>0</Type> … … 1147 1179 <Name>RealNumber</Name> 1148 1180 <CreateSourceNode>0</CreateSourceNode> 1181 <Level>1</Level> 1149 1182 <RuleItems> 1150 1183 <Type>0</Type> … … 1175 1208 <Name>IntegerNumber</Name> 1176 1209 <CreateSourceNode>0</CreateSourceNode> 1210 <Level>1</Level> 1177 1211 <RuleItems> 1178 1212 <Type>0</Type> … … 1189 1223 <Name>Number</Name> 1190 1224 <CreateSourceNode>0</CreateSourceNode> 1225 <Level>0</Level> 1191 1226 <RuleItems> 1192 1227 <Type>1</Type> … … 1210 1245 <Name>Letter</Name> 1211 1246 <CreateSourceNode>0</CreateSourceNode> 1247 <Level>1</Level> 1212 1248 <RuleItems> 1213 1249 <Type>1</Type> … … 1233 1269 <Name>ConstantSection</Name> 1234 1270 <CreateSourceNode>0</CreateSourceNode> 1271 <Level>0</Level> 1235 1272 <RuleItems> 1236 1273 <Type>0</Type> … … 1254 1291 <Name>Declaration</Name> 1255 1292 <CreateSourceNode>0</CreateSourceNode> 1293 <Level>0</Level> 1256 1294 <RuleItems> 1257 1295 <Type>1</Type> … … 1282 1320 <Name>TypeSection</Name> 1283 1321 <CreateSourceNode>0</CreateSourceNode> 1322 <Level>0</Level> 1284 1323 <RuleItems> 1285 1324 <Type>0</Type> … … 1303 1342 <Name>DeclarationBlock</Name> 1304 1343 <CreateSourceNode>0</CreateSourceNode> 1344 <Level>0</Level> 1305 1345 <RuleItems> 1306 1346 <Type>0</Type> … … 1324 1364 <Name>ConstantName</Name> 1325 1365 <CreateSourceNode>0</CreateSourceNode> 1366 <Level>0</Level> 1326 1367 <RuleItems> 1327 1368 <Type>0</Type> … … 1338 1379 <Name>Term</Name> 1339 1380 <CreateSourceNode>-1</CreateSourceNode> 1381 <Level>0</Level> 1340 1382 <RuleItems> 1341 1383 <Type>0</Type> … … 1375 1417 <Name>Factor</Name> 1376 1418 <CreateSourceNode>0</CreateSourceNode> 1419 <Level>0</Level> 1377 1420 <RuleItems> 1378 1421 <Type>1</Type> … … 1440 1483 <Name>Operator</Name> 1441 1484 <CreateSourceNode>0</CreateSourceNode> 1485 <Level>1</Level> 1442 1486 <RuleItems> 1443 1487 <Type>1</Type> … … 1587 1631 <Name>ConstantReference</Name> 1588 1632 <CreateSourceNode>0</CreateSourceNode> 1633 <Level>0</Level> 1589 1634 <RuleItems> 1590 1635 <Type>0</Type> … … 1601 1646 <Name>String</Name> 1602 1647 <CreateSourceNode>0</CreateSourceNode> 1648 <Level>1</Level> 1603 1649 <RuleItems> 1604 1650 <Type>0</Type> … … 1629 1675 <Name>StringCharacter</Name> 1630 1676 <CreateSourceNode>0</CreateSourceNode> 1677 <Level>1</Level> 1631 1678 <RuleItems> 1632 1679 <Type>1</Type> … … 1650 1697 <Name>ParameterName</Name> 1651 1698 <CreateSourceNode>0</CreateSourceNode> 1699 <Level>0</Level> 1652 1700 <RuleItems> 1653 1701 <Type>0</Type> … … 1664 1712 <Name>Comment1</Name> 1665 1713 <CreateSourceNode>0</CreateSourceNode> 1714 <Level>0</Level> 1666 1715 <RuleItems> 1667 1716 <Type>0</Type> … … 1692 1741 <Name>Comment2</Name> 1693 1742 <CreateSourceNode>0</CreateSourceNode> 1743 <Level>0</Level> 1694 1744 <RuleItems> 1695 1745 <Type>0</Type> … … 1720 1770 <Name>CommentLine</Name> 1721 1771 <CreateSourceNode>0</CreateSourceNode> 1772 <Level>0</Level> 1722 1773 <RuleItems> 1723 1774 <Type>0</Type> … … 1741 1792 <Name>CompilerDirective</Name> 1742 1793 <CreateSourceNode>0</CreateSourceNode> 1794 <Level>0</Level> 1743 1795 <RuleItems> 1744 1796 <Type>0</Type> … … 1769 1821 <Name>UnitInitialization</Name> 1770 1822 <CreateSourceNode>0</CreateSourceNode> 1823 <Level>0</Level> 1771 1824 <RuleItems> 1772 1825 <Type>0</Type> … … 1790 1843 <Name>UnitFinalization</Name> 1791 1844 <CreateSourceNode>0</CreateSourceNode> 1845 <Level>0</Level> 1792 1846 <RuleItems> 1793 1847 <Type>0</Type> … … 1811 1865 <Name>TypeDefinition</Name> 1812 1866 <CreateSourceNode>0</CreateSourceNode> 1867 <Level>0</Level> 1813 1868 <RuleItems> 1814 1869 <Type>0</Type> … … 1846 1901 <Name>ConstantDefinition</Name> 1847 1902 <CreateSourceNode>0</CreateSourceNode> 1903 <Level>0</Level> 1848 1904 <RuleItems> 1849 1905 <Type>0</Type> … … 1895 1951 <Name>Procedure</Name> 1896 1952 <CreateSourceNode>-1</CreateSourceNode> 1953 <Level>0</Level> 1897 1954 <RuleItems> 1898 1955 <Type>0</Type> … … 1944 2001 <Name>CaseOfState</Name> 1945 2002 <CreateSourceNode>0</CreateSourceNode> 2003 <Level>0</Level> 1946 2004 <RuleItems> 1947 2005 <Type>0</Type> … … 1979 2037 <Name>WhiteSpace</Name> 1980 2038 <CreateSourceNode>0</CreateSourceNode> 2039 <Level>1</Level> 1981 2040 <RuleItems> 1982 2041 <Type>1</Type> … … 2014 2073 <Name>WhiteSpaces</Name> 2015 2074 <CreateSourceNode>0</CreateSourceNode> 2075 <Level>1</Level> 2016 2076 <RuleItems> 2017 2077 <Type>0</Type> … … 2028 2088 <Name>Range</Name> 2029 2089 <CreateSourceNode>0</CreateSourceNode> 2090 <Level>0</Level> 2030 2091 <RuleItems> 2031 2092 <Type>0</Type> … … 2056 2117 <Name>TypeArray</Name> 2057 2118 <CreateSourceNode>0</CreateSourceNode> 2119 <Level>0</Level> 2058 2120 <RuleItems> 2059 2121 <Type>0</Type> … … 2121 2183 <Name>TypeSet</Name> 2122 2184 <CreateSourceNode>0</CreateSourceNode> 2185 <Level>0</Level> 2123 2186 <RuleItems> 2124 2187 <Type>0</Type> … … 2149 2212 <Name>TypeEnumeration</Name> 2150 2213 <CreateSourceNode>0</CreateSourceNode> 2214 <Level>0</Level> 2151 2215 <RuleItems> 2152 2216 <Type>0</Type> … … 2177 2241 <Name>IdentifierList</Name> 2178 2242 <CreateSourceNode>0</CreateSourceNode> 2243 <Level>0</Level> 2179 2244 <RuleItems> 2180 2245 <Type>0</Type> … … 2214 2279 <Name>Type</Name> 2215 2280 <CreateSourceNode>0</CreateSourceNode> 2281 <Level>0</Level> 2216 2282 <RuleItems> 2217 2283 <Type>1</Type> … … 2263 2329 <Name>TypePointer</Name> 2264 2330 <CreateSourceNode>0</CreateSourceNode> 2331 <Level>0</Level> 2265 2332 <RuleItems> 2266 2333 <Type>0</Type> … … 2278 2345 <AnyExcept>0</AnyExcept> 2279 2346 <NonTerminal>TypeReference</NonTerminal> 2347 </RuleItem> 2348 </RuleItems> 2349 </Rule> 2350 <Rule> 2351 <Name>HexNumber</Name> 2352 <CreateSourceNode>0</CreateSourceNode> 2353 <Level>1</Level> 2354 <RuleItems> 2355 <Type>0</Type> 2356 <RuleItem> 2357 <Type>0</Type> 2358 <Optional>0</Optional> 2359 <Repetitive>0</Repetitive> 2360 <AnyExcept>0</AnyExcept> 2361 <Terminal>$</Terminal> 2362 </RuleItem> 2363 <RuleItem> 2364 <Type>1</Type> 2365 <Optional>0</Optional> 2366 <Repetitive>0</Repetitive> 2367 <AnyExcept>0</AnyExcept> 2368 <NonTerminal>UnsignedDigitSequence</NonTerminal> 2280 2369 </RuleItem> 2281 2370 </RuleItems>
Note:
See TracChangeset
for help on using the changeset viewer.