Skip to content

TPascalCodeGenerator.CreateUnitClause

Create unit clause

Declaration

Source position: pascodegen.pp line 84

public 
procedure TPascalCodeGenerator.CreateUnitClause;  virtual;

Description

CreateUnitClause generates the unit clause at the beginning of a Pascal unit. It handles dotted unit support by conditionally generating the appropriate unit name.

See also

Name Description
TPascalCodeGenerator.CreateHeader Create unit header section
TPascalCodeGenerator.OutputUnitName Name of the output unit