TDelphiCodeGenerator.GenerateCodeFromUnit Method
Generates Delphi source code from a TCodeUnit object graph.
Syntax
Unit: Bcl.Code.DelphiGenerator
function TDelphiCodeGenerator.GenerateCodeFromUnit(ACodeUnit: TCodeUnit): string;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| ACodeUnit | TCodeUnit | The code unit to generate source code from. |
Returns
A string containing the generated Delphi source code.