TPascalCodeGenerator.SimpleMethodBody procedure
Generate simple method body
Declaration
procedure SimpleMethodBody(Lines: Array of string = string); virtualArguments
Lines | Array of lines for method body |
Description
SimpleMethodBody generates a complete method body with begin/end block and proper indentation.
It adds an empty line, then 'begin', indents and adds the provided lines, undents and adds 'end;', followed by another empty line.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
