Changeset 68 for trunk/Compiler/Target/XML/UTargetXML.pas
- Timestamp:
- Jul 30, 2012, 3:52:56 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Compiler/Target/XML/UTargetXML.pas
r63 r68 20 20 TProducerXML = class(TProducer) 21 21 private 22 procedure GenerateModule(Module: T Module);23 procedure GenerateUnit(Module: T Module);24 procedure GenerateLibrary(Module: T Module);25 procedure GeneratePackage(Module: T Module);22 procedure GenerateModule(Module: TSourceModule); 23 procedure GenerateUnit(Module: TSourceModule); 24 procedure GenerateLibrary(Module: TSourceModule); 25 procedure GeneratePackage(Module: TSourceModule); 26 26 public 27 27 procedure AssignToStringList(Target: TStringList); override; 28 procedure Produce(Module: T Module); override;28 procedure Produce(Module: TSourceModule); override; 29 29 end; 30 30 … … 34 34 { TProducerXML } 35 35 36 procedure TProducerXML.GenerateModule(Module: T Module);36 procedure TProducerXML.GenerateModule(Module: TSourceModule); 37 37 begin 38 38 Module.TargetFile := Module.Name + '.xml'; … … 50 50 end; 51 51 52 procedure TProducerXML.GenerateUnit(Module: T Module);52 procedure TProducerXML.GenerateUnit(Module: TSourceModule); 53 53 begin 54 54 EmitLn('<?xml version="1.0"?>'); … … 59 59 end; 60 60 61 procedure TProducerXML.GenerateLibrary(Module: T Module);61 procedure TProducerXML.GenerateLibrary(Module: TSourceModule); 62 62 begin 63 63 EmitLn('<?xml version="1.0"?>'); … … 68 68 end; 69 69 70 procedure TProducerXML.GeneratePackage(Module: T Module);70 procedure TProducerXML.GeneratePackage(Module: TSourceModule); 71 71 begin 72 72 EmitLn('<?xml version="1.0"?>'); … … 77 77 end; 78 78 79 procedure TProducerXML.Produce(Module: T Module);79 procedure TProducerXML.Produce(Module: TSourceModule); 80 80 begin 81 81 GenerateModule(Module);
Note:
See TracChangeset
for help on using the changeset viewer.