Changeset 232 for branches/xpascal/Generators/GeneratorXml.pas
- Timestamp:
- Jun 26, 2023, 12:51:06 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/xpascal/Generators/GeneratorXml.pas
r231 r232 42 42 Field: TField; 43 43 Obj: TObject; 44 List: TSourceNodeList<TSourceNode>; 44 45 begin 45 if SourceNode = nil then begin46 end else47 if SourceNode is TSourceNodeList<TSourceNode> then begin48 GenerateNodes(TSourceNodeList<TSourceNode>(SourceNode))49 end else50 46 if SourceNode is TSourceNode then begin 51 47 AddTextLine('<' + SourceNode.ClassName + '>'); … … 57 53 if Obj is TSourceNode then 58 54 GenerateNode(TSourceNode(Obj)); 55 end else 56 if Field.DataType = dtList then begin 57 SourceNode.GetValue(I, List); 58 GenerateNodes(List); 59 59 end else 60 60 if Field.DataType = dtString then begin
Note:
See TracChangeset
for help on using the changeset viewer.