Changeset 222 for branches/interpreter2/UGenerator.pas
- Timestamp:
- Nov 25, 2020, 12:18:45 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/interpreter2/UGenerator.pas
r208 r222 6 6 7 7 uses 8 Classes, SysUtils, strutils ;8 Classes, SysUtils, strutils, USource; 9 9 10 10 type … … 17 17 procedure SetIndent(AValue: Integer); 18 18 public 19 Name: string; 20 FileExt: string; 19 21 Output: string; 22 Prog: TProgram; 20 23 procedure AddText(Text: string); 21 24 procedure AddTextLine(Text: string = ''); 22 25 procedure Generate; virtual; 26 constructor Create; virtual; 27 destructor Destroy; override; 23 28 property Indent: Integer read FIndent write SetIndent; 24 29 end; 30 31 TGeneratorClass = class of TGenerator; 25 32 26 33 … … 59 66 end; 60 67 68 constructor TGenerator.Create; 69 begin 70 end; 71 72 destructor TGenerator.Destroy; 73 begin 74 inherited; 75 end; 76 61 77 end. 62 78
Note:
See TracChangeset
for help on using the changeset viewer.