- Timestamp:
- Nov 29, 2017, 3:45:03 PM (7 years ago)
- Location:
- branches/generator
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/generator/Forms/UFormMain.pas
r119 r123 52 52 private 53 53 procedure ReloadMemo; 54 procedure UpdateInterface; 54 55 public 55 56 { public declarations } … … 85 86 if SaveDialog1.Execute then begin 86 87 Core.Grammer.SaveToXmlFile(SaveDialog1.FileName); 88 UpdateInterface; 87 89 end; 88 90 end; … … 91 93 begin 92 94 Core.Grammer.SaveToXmlFile(Core.Grammer.FileName); 95 UpdateInterface; 93 96 end; 94 97 … … 102 105 Core.PersistentForm1.Load(Self, True); 103 106 ReloadMemo; 107 UpdateInterface; 104 108 end; 105 109 … … 107 111 begin 108 112 MemoBNF.Lines.Text := Core.Grammer.GetString; 113 end; 114 115 procedure TFormMain.UpdateInterface; 116 begin 117 Caption := Core.Grammer.FileName + ' - ' + Application.Title; 109 118 end; 110 119 … … 118 127 Core.Grammer.Rules.Clear; 119 128 ReloadMemo; 129 UpdateInterface; 120 130 end; 121 131 … … 131 141 Core.Grammer.LoadFromXmlFile(OpenDialog1.FileName); 132 142 ReloadMemo; 143 UpdateInterface; 133 144 end; 134 145 end; -
branches/generator/Forms/UFormRule.pas
r120 r123 43 43 44 44 implementation 45 46 uses47 UCore;48 45 49 46 {$R *.lfm} -
branches/generator/Forms/UFormRuleItem.lfm
r122 r123 159 159 end 160 160 object CheckBoxRepetitive: TCheckBox 161 Left = 336161 Left = 216 162 162 Height = 24 163 163 Top = 56 … … 166 166 TabOrder = 5 167 167 end 168 object CheckBoxAnyExcept: TCheckBox 169 Left = 400 170 Height = 24 171 Top = 56 172 Width = 97 173 Caption = 'Any except' 174 TabOrder = 6 175 end 168 176 end -
branches/generator/Forms/UFormRuleItem.pas
r122 r123 16 16 ButtonCancel: TButton; 17 17 ButtonOk: TButton; 18 CheckBoxAnyExcept: TCheckBox; 18 19 CheckBoxOptional: TCheckBox; 19 20 CheckBoxRepetitive: TCheckBox; … … 134 135 CheckBoxOptional.Checked := RuleItem.Optional; 135 136 CheckBoxRepetitive.Checked := RuleItem.Repetitive; 137 CheckBoxAnyExcept.Checked := RuleItem.AnyExcept; 136 138 TFormRuleItems(FormRuleItems).LoadData(RuleItem.SubItems); 137 139 UpdateInterface; … … 150 152 RuleItem.Optional := CheckBoxOptional.Checked; 151 153 RuleItem.Repetitive := CheckBoxRepetitive.Checked; 154 RuleItem.AnyExcept := CheckBoxAnyExcept.Checked; 152 155 end; 153 156 -
branches/generator/URules.pas
r122 r123 27 27 Optional: Boolean; 28 28 Repetitive: Boolean; 29 AnyExcept: Boolean; 29 30 RuleItemType: TRuleItemType; 30 31 Terminal: string; … … 335 336 WriteBoolean(Node, 'Optional', Optional); 336 337 WriteBoolean(Node, 'Repetitive', Repetitive); 338 WriteBoolean(Node, 'AnyExcept', AnyExcept); 337 339 338 340 case RuleItemType of … … 361 363 if Optional then Result := '+' + Result; 362 364 if Repetitive then Result := '*' + Result; 365 if AnyExcept then Result := '!' + Result; 363 366 end; 364 367 … … 406 409 Optional := ReadBoolean(Node, 'Optional', False); 407 410 Repetitive := ReadBoolean(Node, 'Repetitive', False); 411 AnyExcept := ReadBoolean(Node, 'AnyExcept', False); 408 412 case RuleItemType of 409 413 ritTerminal: Terminal := ReadString(Node, 'Terminal', ''); -
branches/generator/pascal.grm
r122 r123 11 11 <Optional>0</Optional> 12 12 <Repetitive>0</Repetitive> 13 <AnyExcept>0</AnyExcept> 13 14 <Terminal>begin</Terminal> 14 15 </RuleItem> … … 17 18 <Optional>-1</Optional> 18 19 <Repetitive>-1</Repetitive> 20 <AnyExcept>0</AnyExcept> 19 21 <NonTerminal>Statement</NonTerminal> 20 22 </RuleItem> … … 23 25 <Optional>0</Optional> 24 26 <Repetitive>0</Repetitive> 27 <AnyExcept>0</AnyExcept> 25 28 <Terminal>end</Terminal> 26 29 </RuleItem> … … 36 39 <Optional>0</Optional> 37 40 <Repetitive>0</Repetitive> 41 <AnyExcept>0</AnyExcept> 38 42 <Terminal>if</Terminal> 39 43 </RuleItem> … … 42 46 <Optional>0</Optional> 43 47 <Repetitive>0</Repetitive> 48 <AnyExcept>0</AnyExcept> 44 49 <NonTerminal>Expression</NonTerminal> 45 50 </RuleItem> … … 48 53 <Optional>0</Optional> 49 54 <Repetitive>0</Repetitive> 55 <AnyExcept>0</AnyExcept> 50 56 <Terminal>then</Terminal> 51 57 </RuleItem> … … 54 60 <Optional>0</Optional> 55 61 <Repetitive>0</Repetitive> 62 <AnyExcept>0</AnyExcept> 56 63 <NonTerminal>Statement</NonTerminal> 57 64 </RuleItem> … … 60 67 <Optional>-1</Optional> 61 68 <Repetitive>0</Repetitive> 69 <AnyExcept>0</AnyExcept> 62 70 <SubItems> 63 71 <Type>0</Type> … … 66 74 <Optional>0</Optional> 67 75 <Repetitive>0</Repetitive> 76 <AnyExcept>0</AnyExcept> 68 77 <Terminal>else</Terminal> 69 78 </RuleItem> … … 72 81 <Optional>0</Optional> 73 82 <Repetitive>0</Repetitive> 83 <AnyExcept>0</AnyExcept> 74 84 <NonTerminal>Statement</NonTerminal> 75 85 </RuleItem> … … 87 97 <Optional>0</Optional> 88 98 <Repetitive>0</Repetitive> 99 <AnyExcept>0</AnyExcept> 89 100 <Terminal>while</Terminal> 90 101 </RuleItem> … … 93 104 <Optional>0</Optional> 94 105 <Repetitive>0</Repetitive> 106 <AnyExcept>0</AnyExcept> 95 107 <NonTerminal>Expression</NonTerminal> 96 108 </RuleItem> … … 99 111 <Optional>0</Optional> 100 112 <Repetitive>0</Repetitive> 113 <AnyExcept>0</AnyExcept> 101 114 <Terminal>do</Terminal> 102 115 </RuleItem> … … 105 118 <Optional>0</Optional> 106 119 <Repetitive>0</Repetitive> 120 <AnyExcept>0</AnyExcept> 107 121 <NonTerminal>Statement</NonTerminal> 108 122 </RuleItem> … … 118 132 <Optional>0</Optional> 119 133 <Repetitive>0</Repetitive> 134 <AnyExcept>0</AnyExcept> 120 135 <Terminal>repeat</Terminal> 121 136 </RuleItem> … … 124 139 <Optional>0</Optional> 125 140 <Repetitive>0</Repetitive> 141 <AnyExcept>0</AnyExcept> 126 142 <NonTerminal>Statement</NonTerminal> 127 143 </RuleItem> … … 130 146 <Optional>0</Optional> 131 147 <Repetitive>0</Repetitive> 148 <AnyExcept>0</AnyExcept> 132 149 <Terminal>until</Terminal> 133 150 </RuleItem> … … 136 153 <Optional>0</Optional> 137 154 <Repetitive>0</Repetitive> 155 <AnyExcept>0</AnyExcept> 138 156 <NonTerminal>Expression</NonTerminal> 139 157 </RuleItem> … … 149 167 <Optional>0</Optional> 150 168 <Repetitive>0</Repetitive> 169 <AnyExcept>0</AnyExcept> 151 170 <Terminal>for</Terminal> 152 171 </RuleItem> … … 155 174 <Optional>0</Optional> 156 175 <Repetitive>0</Repetitive> 176 <AnyExcept>0</AnyExcept> 157 177 <NonTerminal>VariableReference</NonTerminal> 158 178 </RuleItem> … … 161 181 <Optional>0</Optional> 162 182 <Repetitive>0</Repetitive> 183 <AnyExcept>0</AnyExcept> 163 184 <Terminal>:=</Terminal> 164 185 </RuleItem> … … 167 188 <Optional>0</Optional> 168 189 <Repetitive>0</Repetitive> 190 <AnyExcept>0</AnyExcept> 169 191 <NonTerminal>Expression</NonTerminal> 170 192 </RuleItem> … … 173 195 <Optional>0</Optional> 174 196 <Repetitive>0</Repetitive> 197 <AnyExcept>0</AnyExcept> 175 198 <Terminal>to</Terminal> 176 199 </RuleItem> … … 179 202 <Optional>0</Optional> 180 203 <Repetitive>0</Repetitive> 204 <AnyExcept>0</AnyExcept> 181 205 <NonTerminal>Expression</NonTerminal> 182 206 </RuleItem> … … 185 209 <Optional>0</Optional> 186 210 <Repetitive>0</Repetitive> 211 <AnyExcept>0</AnyExcept> 187 212 <Terminal>do</Terminal> 188 213 </RuleItem> … … 191 216 <Optional>0</Optional> 192 217 <Repetitive>0</Repetitive> 218 <AnyExcept>0</AnyExcept> 193 219 <NonTerminal>Statement</NonTerminal> 194 220 </RuleItem> … … 204 230 <Optional>0</Optional> 205 231 <Repetitive>0</Repetitive> 232 <AnyExcept>0</AnyExcept> 206 233 <Terminal>with</Terminal> 207 234 </RuleItem> … … 210 237 <Optional>0</Optional> 211 238 <Repetitive>0</Repetitive> 239 <AnyExcept>0</AnyExcept> 212 240 <NonTerminal>VariableReference</NonTerminal> 213 241 </RuleItem> … … 216 244 <Optional>0</Optional> 217 245 <Repetitive>0</Repetitive> 246 <AnyExcept>0</AnyExcept> 218 247 <Terminal>do</Terminal> 219 248 </RuleItem> … … 222 251 <Optional>0</Optional> 223 252 <Repetitive>0</Repetitive> 253 <AnyExcept>0</AnyExcept> 224 254 <NonTerminal>Statement</NonTerminal> 225 255 </RuleItem> … … 235 265 <Optional>0</Optional> 236 266 <Repetitive>0</Repetitive> 267 <AnyExcept>0</AnyExcept> 237 268 <Terminal>case</Terminal> 238 269 </RuleItem> … … 241 272 <Optional>0</Optional> 242 273 <Repetitive>0</Repetitive> 274 <AnyExcept>0</AnyExcept> 243 275 <NonTerminal>Expression</NonTerminal> 244 276 </RuleItem> … … 247 279 <Optional>0</Optional> 248 280 <Repetitive>0</Repetitive> 281 <AnyExcept>0</AnyExcept> 249 282 <Terminal>of</Terminal> 250 283 </RuleItem> … … 253 286 <Optional>0</Optional> 254 287 <Repetitive>0</Repetitive> 288 <AnyExcept>0</AnyExcept> 255 289 <Terminal>end</Terminal> 256 290 </RuleItem> … … 266 300 <Optional>0</Optional> 267 301 <Repetitive>0</Repetitive> 302 <AnyExcept>0</AnyExcept> 268 303 <NonTerminal>VariableReference</NonTerminal> 269 304 </RuleItem> … … 272 307 <Optional>0</Optional> 273 308 <Repetitive>0</Repetitive> 309 <AnyExcept>0</AnyExcept> 274 310 <Terminal>:=</Terminal> 275 311 </RuleItem> … … 278 314 <Optional>0</Optional> 279 315 <Repetitive>0</Repetitive> 316 <AnyExcept>0</AnyExcept> 280 317 <NonTerminal>Expression</NonTerminal> 281 318 </RuleItem> … … 291 328 <Optional>0</Optional> 292 329 <Repetitive>0</Repetitive> 330 <AnyExcept>0</AnyExcept> 293 331 <NonTerminal>BeginEnd</NonTerminal> 294 332 </RuleItem> … … 297 335 <Optional>0</Optional> 298 336 <Repetitive>0</Repetitive> 337 <AnyExcept>0</AnyExcept> 299 338 <NonTerminal>IfThenElse</NonTerminal> 300 339 </RuleItem> … … 303 342 <Optional>0</Optional> 304 343 <Repetitive>0</Repetitive> 344 <AnyExcept>0</AnyExcept> 305 345 <NonTerminal>WhileDo</NonTerminal> 306 346 </RuleItem> … … 309 349 <Optional>0</Optional> 310 350 <Repetitive>0</Repetitive> 351 <AnyExcept>0</AnyExcept> 311 352 <NonTerminal>RepeatUntil</NonTerminal> 312 353 </RuleItem> … … 315 356 <Optional>0</Optional> 316 357 <Repetitive>0</Repetitive> 358 <AnyExcept>0</AnyExcept> 317 359 <NonTerminal>ForToDo</NonTerminal> 318 360 </RuleItem> … … 321 363 <Optional>0</Optional> 322 364 <Repetitive>0</Repetitive> 365 <AnyExcept>0</AnyExcept> 323 366 <NonTerminal>WithDo</NonTerminal> 324 367 </RuleItem> … … 327 370 <Optional>0</Optional> 328 371 <Repetitive>0</Repetitive> 372 <AnyExcept>0</AnyExcept> 329 373 <NonTerminal>CaseOf</NonTerminal> 330 374 </RuleItem> … … 333 377 <Optional>0</Optional> 334 378 <Repetitive>0</Repetitive> 379 <AnyExcept>0</AnyExcept> 335 380 <NonTerminal>Assignment</NonTerminal> 336 381 </RuleItem> … … 346 391 <Optional>0</Optional> 347 392 <Repetitive>0</Repetitive> 393 <AnyExcept>0</AnyExcept> 348 394 <NonTerminal>Term</NonTerminal> 349 395 </RuleItem> … … 359 405 <Optional>0</Optional> 360 406 <Repetitive>0</Repetitive> 407 <AnyExcept>0</AnyExcept> 361 408 <NonTerminal>Identifier</NonTerminal> 362 409 </RuleItem> … … 372 419 <Optional>-1</Optional> 373 420 <Repetitive>0</Repetitive> 421 <AnyExcept>0</AnyExcept> 374 422 <SubItems> 375 423 <Type>0</Type> … … 378 426 <Optional>0</Optional> 379 427 <Repetitive>0</Repetitive> 428 <AnyExcept>0</AnyExcept> 380 429 <Terminal>program</Terminal> 381 430 </RuleItem> … … 384 433 <Optional>0</Optional> 385 434 <Repetitive>0</Repetitive> 435 <AnyExcept>0</AnyExcept> 386 436 <NonTerminal>ProgramName</NonTerminal> 387 437 </RuleItem> … … 390 440 <Optional>0</Optional> 391 441 <Repetitive>0</Repetitive> 442 <AnyExcept>0</AnyExcept> 392 443 <Terminal>;</Terminal> 393 444 </RuleItem> … … 398 449 <Optional>-1</Optional> 399 450 <Repetitive>0</Repetitive> 451 <AnyExcept>0</AnyExcept> 400 452 <NonTerminal>Uses</NonTerminal> 401 453 </RuleItem> … … 404 456 <Optional>0</Optional> 405 457 <Repetitive>0</Repetitive> 458 <AnyExcept>0</AnyExcept> 406 459 <NonTerminal>DeclarationBlock</NonTerminal> 407 460 </RuleItem> … … 410 463 <Optional>0</Optional> 411 464 <Repetitive>0</Repetitive> 465 <AnyExcept>0</AnyExcept> 412 466 <Terminal>.</Terminal> 413 467 </RuleItem> … … 423 477 <Optional>0</Optional> 424 478 <Repetitive>0</Repetitive> 479 <AnyExcept>0</AnyExcept> 425 480 <Terminal>uses</Terminal> 426 481 </RuleItem> … … 429 484 <Optional>0</Optional> 430 485 <Repetitive>0</Repetitive> 486 <AnyExcept>0</AnyExcept> 431 487 <NonTerminal>UnitReference</NonTerminal> 432 488 </RuleItem> … … 435 491 <Optional>0</Optional> 436 492 <Repetitive>0</Repetitive> 493 <AnyExcept>0</AnyExcept> 437 494 <Terminal>,</Terminal> 438 495 </RuleItem> … … 448 505 <Optional>0</Optional> 449 506 <Repetitive>0</Repetitive> 507 <AnyExcept>0</AnyExcept> 450 508 <NonTerminal>Identifier</NonTerminal> 451 509 </RuleItem> … … 461 519 <Optional>0</Optional> 462 520 <Repetitive>0</Repetitive> 521 <AnyExcept>0</AnyExcept> 463 522 <Terminal>function</Terminal> 464 523 </RuleItem> … … 467 526 <Optional>0</Optional> 468 527 <Repetitive>0</Repetitive> 528 <AnyExcept>0</AnyExcept> 469 529 <NonTerminal>FunctionName</NonTerminal> 470 530 </RuleItem> … … 473 533 <Optional>-1</Optional> 474 534 <Repetitive>0</Repetitive> 535 <AnyExcept>0</AnyExcept> 475 536 <NonTerminal>FunctionParameters</NonTerminal> 476 537 </RuleItem> … … 479 540 <Optional>0</Optional> 480 541 <Repetitive>0</Repetitive> 542 <AnyExcept>0</AnyExcept> 481 543 <Terminal>:</Terminal> 482 544 </RuleItem> … … 485 547 <Optional>0</Optional> 486 548 <Repetitive>0</Repetitive> 549 <AnyExcept>0</AnyExcept> 487 550 <NonTerminal>TypeReference</NonTerminal> 488 551 </RuleItem> … … 491 554 <Optional>0</Optional> 492 555 <Repetitive>0</Repetitive> 556 <AnyExcept>0</AnyExcept> 493 557 <Terminal>;</Terminal> 494 558 </RuleItem> … … 497 561 <Optional>0</Optional> 498 562 <Repetitive>0</Repetitive> 563 <AnyExcept>0</AnyExcept> 499 564 <NonTerminal>BeginEnd</NonTerminal> 500 565 </RuleItem> … … 503 568 <Optional>0</Optional> 504 569 <Repetitive>0</Repetitive> 570 <AnyExcept>0</AnyExcept> 505 571 <Terminal>;</Terminal> 506 572 </RuleItem> … … 516 582 <Optional>0</Optional> 517 583 <Repetitive>0</Repetitive> 584 <AnyExcept>0</AnyExcept> 518 585 <NonTerminal>Letter</NonTerminal> 519 586 </RuleItem> … … 522 589 <Optional>-1</Optional> 523 590 <Repetitive>-1</Repetitive> 591 <AnyExcept>0</AnyExcept> 524 592 <SubItems> 525 593 <Type>1</Type> … … 528 596 <Optional>0</Optional> 529 597 <Repetitive>0</Repetitive> 598 <AnyExcept>0</AnyExcept> 530 599 <NonTerminal>Letter</NonTerminal> 531 600 </RuleItem> … … 534 603 <Optional>0</Optional> 535 604 <Repetitive>0</Repetitive> 605 <AnyExcept>0</AnyExcept> 536 606 <NonTerminal>Digit</NonTerminal> 537 607 </RuleItem> … … 540 610 <Optional>0</Optional> 541 611 <Repetitive>0</Repetitive> 612 <AnyExcept>0</AnyExcept> 542 613 <Terminal>_</Terminal> 543 614 </RuleItem> … … 547 618 </Rule> 548 619 <Rule> 549 <Name>VarSection</Name> 550 <CreateSourceNode>0</CreateSourceNode> 551 <RuleItems> 552 <Type>0</Type> 553 <RuleItem> 554 <Type>0</Type> 555 <Optional>0</Optional> 556 <Repetitive>0</Repetitive> 620 <Name>VariableSection</Name> 621 <CreateSourceNode>0</CreateSourceNode> 622 <RuleItems> 623 <Type>0</Type> 624 <RuleItem> 625 <Type>0</Type> 626 <Optional>0</Optional> 627 <Repetitive>0</Repetitive> 628 <AnyExcept>0</AnyExcept> 557 629 <Terminal>var</Terminal> 558 630 </RuleItem> 559 631 <RuleItem> 560 632 <Type>1</Type> 561 <Optional>0</Optional> 562 <Repetitive>0</Repetitive> 633 <Optional>-1</Optional> 634 <Repetitive>-1</Repetitive> 635 <AnyExcept>0</AnyExcept> 563 636 <NonTerminal>VariableDefinition</NonTerminal> 564 637 </RuleItem> … … 574 647 <Optional>0</Optional> 575 648 <Repetitive>0</Repetitive> 649 <AnyExcept>0</AnyExcept> 576 650 <Terminal>(</Terminal> 577 651 </RuleItem> … … 580 654 <Optional>0</Optional> 581 655 <Repetitive>0</Repetitive> 656 <AnyExcept>0</AnyExcept> 582 657 <NonTerminal>FunctionParameter</NonTerminal> 583 658 </RuleItem> … … 586 661 <Optional>-1</Optional> 587 662 <Repetitive>-1</Repetitive> 663 <AnyExcept>0</AnyExcept> 588 664 <SubItems> 589 665 <Type>0</Type> … … 592 668 <Optional>0</Optional> 593 669 <Repetitive>0</Repetitive> 670 <AnyExcept>0</AnyExcept> 594 671 <Terminal>;</Terminal> 595 672 </RuleItem> … … 598 675 <Optional>0</Optional> 599 676 <Repetitive>0</Repetitive> 677 <AnyExcept>0</AnyExcept> 600 678 <NonTerminal>FunctionParameter</NonTerminal> 601 679 </RuleItem> … … 606 684 <Optional>0</Optional> 607 685 <Repetitive>0</Repetitive> 686 <AnyExcept>0</AnyExcept> 608 687 <Terminal>)</Terminal> 609 688 </RuleItem> … … 619 698 <Optional>0</Optional> 620 699 <Repetitive>0</Repetitive> 700 <AnyExcept>0</AnyExcept> 621 701 <NonTerminal>ParameterName</NonTerminal> 622 702 </RuleItem> … … 625 705 <Optional>0</Optional> 626 706 <Repetitive>0</Repetitive> 707 <AnyExcept>0</AnyExcept> 627 708 <Terminal>:</Terminal> 628 709 </RuleItem> … … 631 712 <Optional>0</Optional> 632 713 <Repetitive>0</Repetitive> 714 <AnyExcept>0</AnyExcept> 633 715 <NonTerminal>TypeReference</NonTerminal> 634 716 </RuleItem> … … 644 726 <Optional>0</Optional> 645 727 <Repetitive>0</Repetitive> 728 <AnyExcept>0</AnyExcept> 646 729 <NonTerminal>VariableName</NonTerminal> 647 730 </RuleItem> … … 650 733 <Optional>0</Optional> 651 734 <Repetitive>0</Repetitive> 735 <AnyExcept>0</AnyExcept> 652 736 <Terminal>:</Terminal> 653 737 </RuleItem> … … 656 740 <Optional>0</Optional> 657 741 <Repetitive>0</Repetitive> 742 <AnyExcept>0</AnyExcept> 658 743 <NonTerminal>TypeReference</NonTerminal> 659 744 </RuleItem> … … 662 747 <Optional>0</Optional> 663 748 <Repetitive>0</Repetitive> 749 <AnyExcept>0</AnyExcept> 664 750 <Terminal>;</Terminal> 665 751 </RuleItem> … … 675 761 <Optional>0</Optional> 676 762 <Repetitive>0</Repetitive> 763 <AnyExcept>0</AnyExcept> 677 764 <NonTerminal>Identifier</NonTerminal> 678 765 </RuleItem> … … 688 775 <Optional>0</Optional> 689 776 <Repetitive>0</Repetitive> 777 <AnyExcept>0</AnyExcept> 690 778 <NonTerminal>Identifier</NonTerminal> 691 779 </RuleItem> … … 701 789 <Optional>0</Optional> 702 790 <Repetitive>0</Repetitive> 791 <AnyExcept>0</AnyExcept> 703 792 <Terminal>unit</Terminal> 704 793 </RuleItem> … … 707 796 <Optional>0</Optional> 708 797 <Repetitive>0</Repetitive> 798 <AnyExcept>0</AnyExcept> 709 799 <NonTerminal>UnitName</NonTerminal> 710 800 </RuleItem> … … 713 803 <Optional>0</Optional> 714 804 <Repetitive>0</Repetitive> 805 <AnyExcept>0</AnyExcept> 715 806 <Terminal>;</Terminal> 716 807 </RuleItem> 717 808 <RuleItem> 718 <Type>1</Type> 719 <Optional>-1</Optional> 720 <Repetitive>0</Repetitive> 809 <Type>0</Type> 810 <Optional>0</Optional> 811 <Repetitive>0</Repetitive> 812 <AnyExcept>0</AnyExcept> 813 <Terminal>interface</Terminal> 814 </RuleItem> 815 <RuleItem> 816 <Type>1</Type> 817 <Optional>-1</Optional> 818 <Repetitive>0</Repetitive> 819 <AnyExcept>0</AnyExcept> 721 820 <NonTerminal>Uses</NonTerminal> 722 821 </RuleItem> 822 <RuleItem> 823 <Type>0</Type> 824 <Optional>0</Optional> 825 <Repetitive>0</Repetitive> 826 <AnyExcept>0</AnyExcept> 827 <Terminal>implementation</Terminal> 828 </RuleItem> 829 <RuleItem> 830 <Type>1</Type> 831 <Optional>0</Optional> 832 <Repetitive>0</Repetitive> 833 <AnyExcept>0</AnyExcept> 834 <NonTerminal>UnitInitialization</NonTerminal> 835 </RuleItem> 836 <RuleItem> 837 <Type>1</Type> 838 <Optional>0</Optional> 839 <Repetitive>0</Repetitive> 840 <AnyExcept>0</AnyExcept> 841 <NonTerminal>UnitFinalization</NonTerminal> 842 </RuleItem> 843 <RuleItem> 844 <Type>0</Type> 845 <Optional>0</Optional> 846 <Repetitive>0</Repetitive> 847 <AnyExcept>0</AnyExcept> 848 <Terminal>end.</Terminal> 849 </RuleItem> 723 850 </RuleItems> 724 851 </Rule> … … 732 859 <Optional>0</Optional> 733 860 <Repetitive>0</Repetitive> 861 <AnyExcept>0</AnyExcept> 734 862 <NonTerminal>Identifier</NonTerminal> 735 863 </RuleItem> … … 745 873 <Optional>0</Optional> 746 874 <Repetitive>0</Repetitive> 875 <AnyExcept>0</AnyExcept> 747 876 <Terminal>for</Terminal> 748 877 </RuleItem> … … 751 880 <Optional>0</Optional> 752 881 <Repetitive>0</Repetitive> 882 <AnyExcept>0</AnyExcept> 753 883 <NonTerminal>VariableReference</NonTerminal> 754 884 </RuleItem> … … 757 887 <Optional>0</Optional> 758 888 <Repetitive>0</Repetitive> 889 <AnyExcept>0</AnyExcept> 759 890 <Terminal>in</Terminal> 760 891 </RuleItem> … … 763 894 <Optional>0</Optional> 764 895 <Repetitive>0</Repetitive> 896 <AnyExcept>0</AnyExcept> 765 897 <NonTerminal>Expression</NonTerminal> 766 898 </RuleItem> … … 769 901 <Optional>0</Optional> 770 902 <Repetitive>0</Repetitive> 903 <AnyExcept>0</AnyExcept> 771 904 <Terminal>do</Terminal> 772 905 </RuleItem> … … 775 908 <Optional>0</Optional> 776 909 <Repetitive>0</Repetitive> 910 <AnyExcept>0</AnyExcept> 777 911 <NonTerminal>Statement</NonTerminal> 778 912 </RuleItem> … … 788 922 <Optional>0</Optional> 789 923 <Repetitive>0</Repetitive> 924 <AnyExcept>0</AnyExcept> 790 925 <Terminal>record</Terminal> 791 926 </RuleItem> … … 794 929 <Optional>0</Optional> 795 930 <Repetitive>0</Repetitive> 931 <AnyExcept>0</AnyExcept> 796 932 <Terminal>end</Terminal> 797 933 </RuleItem> … … 800 936 <Optional>-1</Optional> 801 937 <Repetitive>-1</Repetitive> 938 <AnyExcept>0</AnyExcept> 802 939 <SubItems> 803 940 <Type>0</Type> … … 806 943 <Optional>0</Optional> 807 944 <Repetitive>0</Repetitive> 945 <AnyExcept>0</AnyExcept> 808 946 <NonTerminal>VariableName</NonTerminal> 809 947 </RuleItem> … … 812 950 <Optional>0</Optional> 813 951 <Repetitive>0</Repetitive> 952 <AnyExcept>0</AnyExcept> 814 953 <Terminal>:</Terminal> 815 954 </RuleItem> … … 818 957 <Optional>0</Optional> 819 958 <Repetitive>0</Repetitive> 959 <AnyExcept>0</AnyExcept> 820 960 <NonTerminal>TypeReference</NonTerminal> 821 961 </RuleItem> … … 824 964 <Optional>0</Optional> 825 965 <Repetitive>0</Repetitive> 966 <AnyExcept>0</AnyExcept> 826 967 <Terminal>;</Terminal> 827 968 </RuleItem> … … 839 980 <Optional>0</Optional> 840 981 <Repetitive>0</Repetitive> 982 <AnyExcept>0</AnyExcept> 841 983 <NonTerminal>Identifier</NonTerminal> 842 984 </RuleItem> … … 852 994 <Optional>0</Optional> 853 995 <Repetitive>0</Repetitive> 996 <AnyExcept>0</AnyExcept> 854 997 <NonTerminal>Identifier</NonTerminal> 855 998 </RuleItem> … … 865 1008 <Optional>0</Optional> 866 1009 <Repetitive>0</Repetitive> 1010 <AnyExcept>0</AnyExcept> 867 1011 <TerminalFrom>0</TerminalFrom> 868 1012 <TerminalTo>9</TerminalTo> … … 879 1023 <Optional>0</Optional> 880 1024 <Repetitive>0</Repetitive> 1025 <AnyExcept>0</AnyExcept> 881 1026 <Terminal>+</Terminal> 882 1027 </RuleItem> … … 885 1030 <Optional>0</Optional> 886 1031 <Repetitive>0</Repetitive> 1032 <AnyExcept>0</AnyExcept> 887 1033 <Terminal>-</Terminal> 888 1034 </RuleItem> … … 898 1044 <Optional>0</Optional> 899 1045 <Repetitive>0</Repetitive> 1046 <AnyExcept>0</AnyExcept> 900 1047 <NonTerminal>Digit</NonTerminal> 901 1048 </RuleItem> … … 904 1051 <Optional>-1</Optional> 905 1052 <Repetitive>-1</Repetitive> 1053 <AnyExcept>0</AnyExcept> 906 1054 <NonTerminal>Digit</NonTerminal> 907 1055 </RuleItem> … … 917 1065 <Optional>-1</Optional> 918 1066 <Repetitive>0</Repetitive> 1067 <AnyExcept>0</AnyExcept> 919 1068 <NonTerminal>Sign</NonTerminal> 920 1069 </RuleItem> … … 923 1072 <Optional>0</Optional> 924 1073 <Repetitive>0</Repetitive> 1074 <AnyExcept>0</AnyExcept> 925 1075 <NonTerminal>UnsignedDigitSequence</NonTerminal> 926 1076 </RuleItem> … … 936 1086 <Optional>0</Optional> 937 1087 <Repetitive>0</Repetitive> 1088 <AnyExcept>0</AnyExcept> 938 1089 <NonTerminal>DigitSequence</NonTerminal> 939 1090 </RuleItem> … … 942 1093 <Optional>0</Optional> 943 1094 <Repetitive>0</Repetitive> 1095 <AnyExcept>0</AnyExcept> 944 1096 <Terminal>.</Terminal> 945 1097 </RuleItem> … … 948 1100 <Optional>0</Optional> 949 1101 <Repetitive>0</Repetitive> 1102 <AnyExcept>0</AnyExcept> 950 1103 <NonTerminal>UnsignedDigitSequence</NonTerminal> 951 1104 </RuleItem> … … 961 1114 <Optional>0</Optional> 962 1115 <Repetitive>0</Repetitive> 1116 <AnyExcept>0</AnyExcept> 963 1117 <NonTerminal>DigitSequence</NonTerminal> 964 1118 </RuleItem> … … 974 1128 <Optional>0</Optional> 975 1129 <Repetitive>0</Repetitive> 1130 <AnyExcept>0</AnyExcept> 976 1131 <NonTerminal>IntegerNumber</NonTerminal> 977 1132 </RuleItem> … … 980 1135 <Optional>0</Optional> 981 1136 <Repetitive>0</Repetitive> 1137 <AnyExcept>0</AnyExcept> 982 1138 <NonTerminal>RealNumber</NonTerminal> 983 1139 </RuleItem> … … 993 1149 <Optional>0</Optional> 994 1150 <Repetitive>0</Repetitive> 1151 <AnyExcept>0</AnyExcept> 995 1152 <TerminalFrom>a</TerminalFrom> 996 1153 <TerminalTo>z</TerminalTo> … … 1000 1157 <Optional>0</Optional> 1001 1158 <Repetitive>0</Repetitive> 1159 <AnyExcept>0</AnyExcept> 1002 1160 <TerminalFrom>A</TerminalFrom> 1003 1161 <TerminalTo>Z</TerminalTo> … … 1006 1164 </Rule> 1007 1165 <Rule> 1008 <Name>ConstSection</Name> 1009 <CreateSourceNode>0</CreateSourceNode> 1010 <RuleItems> 1011 <Type>0</Type> 1012 <RuleItem> 1013 <Type>0</Type> 1014 <Optional>0</Optional> 1015 <Repetitive>0</Repetitive> 1166 <Name>ConstantSection</Name> 1167 <CreateSourceNode>0</CreateSourceNode> 1168 <RuleItems> 1169 <Type>0</Type> 1170 <RuleItem> 1171 <Type>0</Type> 1172 <Optional>0</Optional> 1173 <Repetitive>0</Repetitive> 1174 <AnyExcept>0</AnyExcept> 1016 1175 <Terminal>const</Terminal> 1017 1176 </RuleItem> 1177 <RuleItem> 1178 <Type>1</Type> 1179 <Optional>-1</Optional> 1180 <Repetitive>-1</Repetitive> 1181 <AnyExcept>0</AnyExcept> 1182 <NonTerminal>ConstantDefinition</NonTerminal> 1183 </RuleItem> 1018 1184 </RuleItems> 1019 1185 </Rule> … … 1027 1193 <Optional>0</Optional> 1028 1194 <Repetitive>0</Repetitive> 1029 <NonTerminal>VarSection</NonTerminal> 1030 </RuleItem> 1031 <RuleItem> 1032 <Type>1</Type> 1033 <Optional>0</Optional> 1034 <Repetitive>0</Repetitive> 1035 <NonTerminal>ConstSection</NonTerminal> 1036 </RuleItem> 1037 <RuleItem> 1038 <Type>1</Type> 1039 <Optional>0</Optional> 1040 <Repetitive>0</Repetitive> 1195 <AnyExcept>0</AnyExcept> 1196 <NonTerminal>VariableSection</NonTerminal> 1197 </RuleItem> 1198 <RuleItem> 1199 <Type>1</Type> 1200 <Optional>0</Optional> 1201 <Repetitive>0</Repetitive> 1202 <AnyExcept>0</AnyExcept> 1203 <NonTerminal>ConstantSection</NonTerminal> 1204 </RuleItem> 1205 <RuleItem> 1206 <Type>1</Type> 1207 <Optional>0</Optional> 1208 <Repetitive>0</Repetitive> 1209 <AnyExcept>0</AnyExcept> 1041 1210 <NonTerminal>TypeSection</NonTerminal> 1042 1211 </RuleItem> … … 1052 1221 <Optional>0</Optional> 1053 1222 <Repetitive>0</Repetitive> 1223 <AnyExcept>0</AnyExcept> 1054 1224 <Terminal>type</Terminal> 1055 1225 </RuleItem> 1226 <RuleItem> 1227 <Type>1</Type> 1228 <Optional>-1</Optional> 1229 <Repetitive>-1</Repetitive> 1230 <AnyExcept>0</AnyExcept> 1231 <NonTerminal>TypeDefinition</NonTerminal> 1232 </RuleItem> 1056 1233 </RuleItems> 1057 1234 </Rule> … … 1065 1242 <Optional>-1</Optional> 1066 1243 <Repetitive>-1</Repetitive> 1244 <AnyExcept>0</AnyExcept> 1067 1245 <NonTerminal>Declaration</NonTerminal> 1068 1246 </RuleItem> … … 1071 1249 <Optional>0</Optional> 1072 1250 <Repetitive>0</Repetitive> 1251 <AnyExcept>0</AnyExcept> 1073 1252 <NonTerminal>BeginEnd</NonTerminal> 1074 1253 </RuleItem> … … 1076 1255 </Rule> 1077 1256 <Rule> 1078 <Name>ConstDefinition</Name> 1079 <CreateSourceNode>0</CreateSourceNode> 1080 <RuleItems> 1081 <Type>0</Type> 1082 <RuleItem> 1083 <Type>1</Type> 1084 <Optional>0</Optional> 1085 <Repetitive>0</Repetitive> 1086 <NonTerminal>ConstName</NonTerminal> 1087 </RuleItem> 1088 <RuleItem> 1089 <Type>0</Type> 1090 <Optional>0</Optional> 1091 <Repetitive>0</Repetitive> 1092 <Terminal>:</Terminal> 1093 </RuleItem> 1094 <RuleItem> 1095 <Type>1</Type> 1096 <Optional>0</Optional> 1097 <Repetitive>0</Repetitive> 1098 <NonTerminal>TypeReference</NonTerminal> 1099 </RuleItem> 1100 <RuleItem> 1101 <Type>0</Type> 1102 <Optional>0</Optional> 1103 <Repetitive>0</Repetitive> 1104 <Terminal>=</Terminal> 1105 </RuleItem> 1106 <RuleItem> 1107 <Type>0</Type> 1108 <Optional>0</Optional> 1109 <Repetitive>0</Repetitive> 1110 <Terminal>;</Terminal> 1111 </RuleItem> 1112 </RuleItems> 1113 </Rule> 1114 <Rule> 1115 <Name>ConstName</Name> 1116 <CreateSourceNode>0</CreateSourceNode> 1117 <RuleItems> 1118 <Type>0</Type> 1257 <Name>ConstantName</Name> 1258 <CreateSourceNode>0</CreateSourceNode> 1259 <RuleItems> 1260 <Type>0</Type> 1261 <RuleItem> 1262 <Type>1</Type> 1263 <Optional>0</Optional> 1264 <Repetitive>0</Repetitive> 1265 <AnyExcept>0</AnyExcept> 1266 <NonTerminal>Identifier</NonTerminal> 1267 </RuleItem> 1119 1268 </RuleItems> 1120 1269 </Rule> … … 1128 1277 <Optional>0</Optional> 1129 1278 <Repetitive>0</Repetitive> 1279 <AnyExcept>0</AnyExcept> 1130 1280 <NonTerminal>Factor</NonTerminal> 1131 1281 </RuleItem> … … 1134 1284 <Optional>-1</Optional> 1135 1285 <Repetitive>-1</Repetitive> 1286 <AnyExcept>0</AnyExcept> 1136 1287 <SubItems> 1137 1288 <Type>0</Type> … … 1140 1291 <Optional>0</Optional> 1141 1292 <Repetitive>0</Repetitive> 1293 <AnyExcept>0</AnyExcept> 1142 1294 <NonTerminal>Factor</NonTerminal> 1143 1295 </RuleItem> … … 1146 1298 <Optional>0</Optional> 1147 1299 <Repetitive>0</Repetitive> 1300 <AnyExcept>0</AnyExcept> 1148 1301 <NonTerminal>Operator</NonTerminal> 1149 1302 </RuleItem> … … 1161 1314 <Optional>0</Optional> 1162 1315 <Repetitive>0</Repetitive> 1316 <AnyExcept>0</AnyExcept> 1163 1317 <NonTerminal>VariableReference</NonTerminal> 1164 1318 </RuleItem> … … 1167 1321 <Optional>0</Optional> 1168 1322 <Repetitive>0</Repetitive> 1169 <NonTerminal>ConstReference</NonTerminal> 1323 <AnyExcept>0</AnyExcept> 1324 <NonTerminal>ConstantReference</NonTerminal> 1170 1325 </RuleItem> 1171 1326 <RuleItem> … … 1173 1328 <Optional>0</Optional> 1174 1329 <Repetitive>0</Repetitive> 1330 <AnyExcept>0</AnyExcept> 1175 1331 <SubItems> 1176 1332 <Type>0</Type> … … 1179 1335 <Optional>0</Optional> 1180 1336 <Repetitive>0</Repetitive> 1337 <AnyExcept>0</AnyExcept> 1181 1338 <Terminal>(</Terminal> 1182 1339 </RuleItem> … … 1185 1342 <Optional>0</Optional> 1186 1343 <Repetitive>0</Repetitive> 1344 <AnyExcept>0</AnyExcept> 1187 1345 <NonTerminal>Expression</NonTerminal> 1188 1346 </RuleItem> … … 1191 1349 <Optional>0</Optional> 1192 1350 <Repetitive>0</Repetitive> 1351 <AnyExcept>0</AnyExcept> 1193 1352 <Terminal>)</Terminal> 1194 1353 </RuleItem> … … 1199 1358 <Optional>0</Optional> 1200 1359 <Repetitive>0</Repetitive> 1360 <AnyExcept>0</AnyExcept> 1201 1361 <NonTerminal>Number</NonTerminal> 1202 1362 </RuleItem> … … 1205 1365 <Optional>0</Optional> 1206 1366 <Repetitive>0</Repetitive> 1367 <AnyExcept>0</AnyExcept> 1207 1368 <NonTerminal>String</NonTerminal> 1208 1369 </RuleItem> … … 1218 1379 <Optional>0</Optional> 1219 1380 <Repetitive>0</Repetitive> 1381 <AnyExcept>0</AnyExcept> 1220 1382 <Terminal><</Terminal> 1221 1383 </RuleItem> … … 1224 1386 <Optional>0</Optional> 1225 1387 <Repetitive>0</Repetitive> 1388 <AnyExcept>0</AnyExcept> 1226 1389 <Terminal>></Terminal> 1227 1390 </RuleItem> … … 1230 1393 <Optional>0</Optional> 1231 1394 <Repetitive>0</Repetitive> 1395 <AnyExcept>0</AnyExcept> 1232 1396 <Terminal><=</Terminal> 1233 1397 </RuleItem> … … 1236 1400 <Optional>0</Optional> 1237 1401 <Repetitive>0</Repetitive> 1402 <AnyExcept>0</AnyExcept> 1238 1403 <Terminal>>=</Terminal> 1239 1404 </RuleItem> … … 1242 1407 <Optional>0</Optional> 1243 1408 <Repetitive>0</Repetitive> 1409 <AnyExcept>0</AnyExcept> 1244 1410 <Terminal>=</Terminal> 1245 1411 </RuleItem> … … 1248 1414 <Optional>0</Optional> 1249 1415 <Repetitive>0</Repetitive> 1416 <AnyExcept>0</AnyExcept> 1250 1417 <Terminal><></Terminal> 1251 1418 </RuleItem> … … 1254 1421 <Optional>0</Optional> 1255 1422 <Repetitive>0</Repetitive> 1423 <AnyExcept>0</AnyExcept> 1256 1424 <Terminal>+</Terminal> 1257 1425 </RuleItem> … … 1260 1428 <Optional>0</Optional> 1261 1429 <Repetitive>0</Repetitive> 1430 <AnyExcept>0</AnyExcept> 1262 1431 <Terminal>-</Terminal> 1263 1432 </RuleItem> … … 1266 1435 <Optional>0</Optional> 1267 1436 <Repetitive>0</Repetitive> 1437 <AnyExcept>0</AnyExcept> 1268 1438 <Terminal>/</Terminal> 1269 1439 </RuleItem> … … 1272 1442 <Optional>0</Optional> 1273 1443 <Repetitive>0</Repetitive> 1444 <AnyExcept>0</AnyExcept> 1274 1445 <Terminal>*</Terminal> 1275 1446 </RuleItem> … … 1278 1449 <Optional>0</Optional> 1279 1450 <Repetitive>0</Repetitive> 1451 <AnyExcept>0</AnyExcept> 1280 1452 <Terminal>div</Terminal> 1281 1453 </RuleItem> … … 1284 1456 <Optional>0</Optional> 1285 1457 <Repetitive>0</Repetitive> 1458 <AnyExcept>0</AnyExcept> 1286 1459 <Terminal>+</Terminal> 1287 1460 </RuleItem> … … 1290 1463 <Optional>0</Optional> 1291 1464 <Repetitive>0</Repetitive> 1465 <AnyExcept>0</AnyExcept> 1292 1466 <Terminal>-</Terminal> 1293 1467 </RuleItem> … … 1295 1469 </Rule> 1296 1470 <Rule> 1297 <Name>ConstReference</Name> 1298 <CreateSourceNode>0</CreateSourceNode> 1299 <RuleItems> 1300 <Type>0</Type> 1301 <RuleItem> 1302 <Type>1</Type> 1303 <Optional>0</Optional> 1304 <Repetitive>0</Repetitive> 1471 <Name>ConstantReference</Name> 1472 <CreateSourceNode>0</CreateSourceNode> 1473 <RuleItems> 1474 <Type>0</Type> 1475 <RuleItem> 1476 <Type>1</Type> 1477 <Optional>0</Optional> 1478 <Repetitive>0</Repetitive> 1479 <AnyExcept>0</AnyExcept> 1305 1480 <NonTerminal>Identifier</NonTerminal> 1306 1481 </RuleItem> … … 1316 1491 <Optional>0</Optional> 1317 1492 <Repetitive>0</Repetitive> 1493 <AnyExcept>0</AnyExcept> 1318 1494 <Terminal>'</Terminal> 1319 1495 </RuleItem> … … 1322 1498 <Optional>-1</Optional> 1323 1499 <Repetitive>-1</Repetitive> 1500 <AnyExcept>0</AnyExcept> 1324 1501 <NonTerminal>StringCharacter</NonTerminal> 1325 1502 </RuleItem> … … 1328 1505 <Optional>0</Optional> 1329 1506 <Repetitive>0</Repetitive> 1507 <AnyExcept>0</AnyExcept> 1330 1508 <Terminal>'</Terminal> 1331 1509 </RuleItem> … … 1336 1514 <CreateSourceNode>0</CreateSourceNode> 1337 1515 <RuleItems> 1338 <Type>0</Type> 1516 <Type>1</Type> 1517 <RuleItem> 1518 <Type>0</Type> 1519 <Optional>0</Optional> 1520 <Repetitive>0</Repetitive> 1521 <AnyExcept>-1</AnyExcept> 1522 <Terminal>'</Terminal> 1523 </RuleItem> 1524 <RuleItem> 1525 <Type>0</Type> 1526 <Optional>0</Optional> 1527 <Repetitive>0</Repetitive> 1528 <AnyExcept>0</AnyExcept> 1529 <Terminal>''</Terminal> 1530 </RuleItem> 1339 1531 </RuleItems> 1340 1532 </Rule> … … 1348 1540 <Optional>0</Optional> 1349 1541 <Repetitive>0</Repetitive> 1542 <AnyExcept>0</AnyExcept> 1350 1543 <NonTerminal>Identifier</NonTerminal> 1544 </RuleItem> 1545 </RuleItems> 1546 </Rule> 1547 <Rule> 1548 <Name>Comment1</Name> 1549 <CreateSourceNode>0</CreateSourceNode> 1550 <RuleItems> 1551 <Type>0</Type> 1552 <RuleItem> 1553 <Type>0</Type> 1554 <Optional>0</Optional> 1555 <Repetitive>0</Repetitive> 1556 <AnyExcept>0</AnyExcept> 1557 <Terminal>{</Terminal> 1558 </RuleItem> 1559 <RuleItem> 1560 <Type>0</Type> 1561 <Optional>-1</Optional> 1562 <Repetitive>-1</Repetitive> 1563 <AnyExcept>-1</AnyExcept> 1564 <Terminal>}</Terminal> 1565 </RuleItem> 1566 <RuleItem> 1567 <Type>0</Type> 1568 <Optional>0</Optional> 1569 <Repetitive>0</Repetitive> 1570 <AnyExcept>0</AnyExcept> 1571 <Terminal>}</Terminal> 1572 </RuleItem> 1573 </RuleItems> 1574 </Rule> 1575 <Rule> 1576 <Name>Comment2</Name> 1577 <CreateSourceNode>0</CreateSourceNode> 1578 <RuleItems> 1579 <Type>0</Type> 1580 <RuleItem> 1581 <Type>0</Type> 1582 <Optional>0</Optional> 1583 <Repetitive>0</Repetitive> 1584 <AnyExcept>0</AnyExcept> 1585 <Terminal>(*</Terminal> 1586 </RuleItem> 1587 <RuleItem> 1588 <Type>0</Type> 1589 <Optional>-1</Optional> 1590 <Repetitive>-1</Repetitive> 1591 <AnyExcept>-1</AnyExcept> 1592 <Terminal>*)</Terminal> 1593 </RuleItem> 1594 <RuleItem> 1595 <Type>0</Type> 1596 <Optional>0</Optional> 1597 <Repetitive>0</Repetitive> 1598 <AnyExcept>0</AnyExcept> 1599 <Terminal>*)</Terminal> 1600 </RuleItem> 1601 </RuleItems> 1602 </Rule> 1603 <Rule> 1604 <Name>CommentLine</Name> 1605 <CreateSourceNode>0</CreateSourceNode> 1606 <RuleItems> 1607 <Type>0</Type> 1608 <RuleItem> 1609 <Type>0</Type> 1610 <Optional>0</Optional> 1611 <Repetitive>0</Repetitive> 1612 <AnyExcept>0</AnyExcept> 1613 <Terminal>//</Terminal> 1614 </RuleItem> 1615 <RuleItem> 1616 <Type>0</Type> 1617 <Optional>-1</Optional> 1618 <Repetitive>-1</Repetitive> 1619 <AnyExcept>-1</AnyExcept> 1620 <Terminal>\r\n</Terminal> 1621 </RuleItem> 1622 </RuleItems> 1623 </Rule> 1624 <Rule> 1625 <Name>CompilerDirective</Name> 1626 <CreateSourceNode>0</CreateSourceNode> 1627 <RuleItems> 1628 <Type>0</Type> 1629 <RuleItem> 1630 <Type>0</Type> 1631 <Optional>0</Optional> 1632 <Repetitive>0</Repetitive> 1633 <AnyExcept>0</AnyExcept> 1634 <Terminal>{$</Terminal> 1635 </RuleItem> 1636 <RuleItem> 1637 <Type>1</Type> 1638 <Optional>0</Optional> 1639 <Repetitive>0</Repetitive> 1640 <AnyExcept>0</AnyExcept> 1641 <NonTerminal>Identifier</NonTerminal> 1642 </RuleItem> 1643 <RuleItem> 1644 <Type>0</Type> 1645 <Optional>0</Optional> 1646 <Repetitive>0</Repetitive> 1647 <AnyExcept>0</AnyExcept> 1648 <Terminal>}</Terminal> 1649 </RuleItem> 1650 </RuleItems> 1651 </Rule> 1652 <Rule> 1653 <Name>UnitInitialization</Name> 1654 <CreateSourceNode>0</CreateSourceNode> 1655 <RuleItems> 1656 <Type>0</Type> 1657 <RuleItem> 1658 <Type>0</Type> 1659 <Optional>0</Optional> 1660 <Repetitive>0</Repetitive> 1661 <AnyExcept>0</AnyExcept> 1662 <Terminal>initialization</Terminal> 1663 </RuleItem> 1664 </RuleItems> 1665 </Rule> 1666 <Rule> 1667 <Name>UnitFinalization</Name> 1668 <CreateSourceNode>0</CreateSourceNode> 1669 <RuleItems> 1670 <Type>0</Type> 1671 <RuleItem> 1672 <Type>0</Type> 1673 <Optional>0</Optional> 1674 <Repetitive>0</Repetitive> 1675 <AnyExcept>0</AnyExcept> 1676 <Terminal>finalization</Terminal> 1677 </RuleItem> 1678 </RuleItems> 1679 </Rule> 1680 <Rule> 1681 <Name>TypeDefinition</Name> 1682 <CreateSourceNode>0</CreateSourceNode> 1683 <RuleItems> 1684 <Type>0</Type> 1685 <RuleItem> 1686 <Type>1</Type> 1687 <Optional>0</Optional> 1688 <Repetitive>0</Repetitive> 1689 <AnyExcept>0</AnyExcept> 1690 <NonTerminal>Identifier</NonTerminal> 1691 </RuleItem> 1692 <RuleItem> 1693 <Type>0</Type> 1694 <Optional>0</Optional> 1695 <Repetitive>0</Repetitive> 1696 <AnyExcept>0</AnyExcept> 1697 <Terminal>=</Terminal> 1698 </RuleItem> 1699 <RuleItem> 1700 <Type>1</Type> 1701 <Optional>0</Optional> 1702 <Repetitive>0</Repetitive> 1703 <AnyExcept>0</AnyExcept> 1704 <NonTerminal>TypeReference</NonTerminal> 1705 </RuleItem> 1706 <RuleItem> 1707 <Type>0</Type> 1708 <Optional>0</Optional> 1709 <Repetitive>0</Repetitive> 1710 <AnyExcept>0</AnyExcept> 1711 <Terminal>;</Terminal> 1712 </RuleItem> 1713 </RuleItems> 1714 </Rule> 1715 <Rule> 1716 <Name>ConstantDefinition</Name> 1717 <CreateSourceNode>0</CreateSourceNode> 1718 <RuleItems> 1719 <Type>0</Type> 1720 <RuleItem> 1721 <Type>1</Type> 1722 <Optional>0</Optional> 1723 <Repetitive>0</Repetitive> 1724 <AnyExcept>0</AnyExcept> 1725 <NonTerminal>ConstantName</NonTerminal> 1726 </RuleItem> 1727 <RuleItem> 1728 <Type>0</Type> 1729 <Optional>0</Optional> 1730 <Repetitive>0</Repetitive> 1731 <AnyExcept>0</AnyExcept> 1732 <Terminal>:</Terminal> 1733 </RuleItem> 1734 <RuleItem> 1735 <Type>1</Type> 1736 <Optional>0</Optional> 1737 <Repetitive>0</Repetitive> 1738 <AnyExcept>0</AnyExcept> 1739 <NonTerminal>TypeReference</NonTerminal> 1740 </RuleItem> 1741 <RuleItem> 1742 <Type>0</Type> 1743 <Optional>0</Optional> 1744 <Repetitive>0</Repetitive> 1745 <AnyExcept>0</AnyExcept> 1746 <Terminal>=</Terminal> 1747 </RuleItem> 1748 <RuleItem> 1749 <Type>1</Type> 1750 <Optional>0</Optional> 1751 <Repetitive>0</Repetitive> 1752 <AnyExcept>0</AnyExcept> 1753 <NonTerminal>ConstantReference</NonTerminal> 1754 </RuleItem> 1755 <RuleItem> 1756 <Type>0</Type> 1757 <Optional>0</Optional> 1758 <Repetitive>0</Repetitive> 1759 <AnyExcept>0</AnyExcept> 1760 <Terminal>;</Terminal> 1351 1761 </RuleItem> 1352 1762 </RuleItems>
Note:
See TracChangeset
for help on using the changeset viewer.