Changeset 232 for branches/xpascal/Source.pas
- Timestamp:
- Jun 26, 2023, 12:51:06 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/xpascal/Source.pas
r231 r232 44 44 45 45 TType = class(TSourceNode) 46 pr ivate46 protected 47 47 function GetFieldsCount: Integer; override; 48 48 public … … 67 67 68 68 TVariable = class(TSourceNode) 69 pr ivate69 protected 70 70 function GetFieldsCount: Integer; override; 71 71 public … … 87 87 88 88 TConstant = class(TSourceNode) 89 pr ivate89 protected 90 90 function GetFieldsCount: Integer; override; 91 91 public … … 124 124 125 125 TFunction = class(TSourceNode) 126 pr ivate126 protected 127 127 function GetFieldsCount: Integer; override; 128 128 public … … 160 160 161 161 TFunctionCall = class(TCommand) 162 pr ivate162 protected 163 163 function GetFieldsCount: Integer; override; 164 164 public … … 175 175 176 176 TBeginEnd = class(TCommand) 177 pr ivate177 protected 178 178 function GetFieldsCount: Integer; override; 179 179 public … … 200 200 201 201 TExpressionOperation = class(TExpression) 202 pr ivate202 protected 203 203 function GetFieldsCount: Integer; override; 204 204 public … … 222 222 223 223 TExpressionOperand = class(TExpression) 224 pr ivate224 protected 225 225 function GetFieldsCount: Integer; override; 226 226 public … … 255 255 256 256 TAssignment = class(TCommand) 257 pr ivate257 protected 258 258 function GetFieldsCount: Integer; override; 259 259 public … … 270 270 271 271 TReturn = class(TCommand) 272 pr ivate272 protected 273 273 function GetFieldsCount: Integer; override; 274 274 public … … 284 284 285 285 TIfThenElse = class(TCommand) 286 pr ivate286 protected 287 287 function GetFieldsCount: Integer; override; 288 288 public … … 305 305 306 306 TWhileDo = class(TLoop) 307 pr ivate307 protected 308 308 function GetFieldsCount: Integer; override; 309 309 public … … 320 320 321 321 TRepeatUntil = class(TLoop) 322 pr ivate322 protected 323 323 function GetFieldsCount: Integer; override; 324 324 public … … 341 341 342 342 TForToDo = class(TLoop) 343 pr ivate343 protected 344 344 function GetFieldsCount: Integer; override; 345 345 public … … 358 358 359 359 TBlock = class(TSourceNode) 360 pr ivate360 protected 361 361 function GetFieldsCount: Integer; override; 362 362 public … … 382 382 383 383 TProgram = class(TSourceNode) 384 pr ivate384 protected 385 385 function GetFieldsCount: Integer; override; 386 386 public … … 571 571 begin 572 572 if Index = 0 then Result := TField.Create(dtObject, 'Expression') 573 else if Index = 1 then Result := TField.Create(dt Object, 'Commands')573 else if Index = 1 then Result := TField.Create(dtList, 'Commands') 574 574 else inherited; 575 575 end; … … 779 779 begin 780 780 if Index = 0 then Result := TField.Create(dtObject, 'Block') 781 else if Index = 1 then Result := TField.Create(dt Object, 'Parameters')781 else if Index = 1 then Result := TField.Create(dtList, 'Parameters') 782 782 else if Index = 2 then Result := TField.Create(dtObject, 'ResultType') 783 783 else if Index = 3 then Result := TField.Create(dtString, 'Name') … … 1145 1145 begin 1146 1146 if Index = 0 then Result := TField.Create(dtObject, 'Block') 1147 else if Index = 1 then Result := TField.Create(dt Object, 'Types')1148 else if Index = 2 then Result := TField.Create(dt Object, 'Variables')1149 else if Index = 3 then Result := TField.Create(dt Object, 'Constants')1150 else if Index = 4 then Result := TField.Create(dt Object, 'Functions')1147 else if Index = 1 then Result := TField.Create(dtList, 'Types') 1148 else if Index = 2 then Result := TField.Create(dtList, 'Variables') 1149 else if Index = 3 then Result := TField.Create(dtList, 'Constants') 1150 else if Index = 4 then Result := TField.Create(dtList, 'Functions') 1151 1151 else inherited; 1152 1152 end; … … 1237 1237 function TBeginEnd.GetField(Index: Integer): TField; 1238 1238 begin 1239 if Index = 0 then Result := TField.Create(dt Object, 'Command')1239 if Index = 0 then Result := TField.Create(dtList, 'Command') 1240 1240 else inherited; 1241 1241 end;
Note:
See TracChangeset
for help on using the changeset viewer.