Sign in Join
FPDoc Onlineexperiment

PasCodeGen unit

Utility unit to generate pascal code

pascodegen is a unit with a class that can be used to generate pascal code. it offers the TPascalCodeGenerator class which has some utility methods for indenting code, offers logging and automatic handling of code sections or blocks (variable, constant etc.) The resulting code is available in a stringlist.

Classes and records

TPascalCodeGeneratorclassPascal code generator class

Types

TCodeGeneratorLogEventprocedure typeEvent handler type for logging messages
TCodegenLogTypeenumerationLog message type enumeration
TCodegenLogTypessetSet of log message types
TCodeSectionenumerationPascal code section types
TDottedUnitsSupportenumerationDotted units support level enumeration

Constants

DefaultDottedDefineconstantDefault compiler define for dotted unit support

Uses

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.