Unit 'pascodegen' Package
[Overview][Constants][Types][Classes][Index] [#fcl]

TCodeSection

Pascal code section types

Declaration

Source position: pascodegen.pp line 39

type TCodeSection = (

  csUnknown,

  

Unknown section type

  csConst,

  

Constants section

  csType,

  

Types section

  csVar,

  

Variables section

  csResourcestring,

  

Resource strings section

  csDeclaration

  

General declarations section

);

Description

TCodeSection defines the different types of sections that can appear in Pascal code.
csUnknown
Unknown or unspecified section type
csConst
Const section for constants
csType
Type section for type definitions
csVar
Var section for variables
csResourcestring
Resourcestring section for localizable strings
csDeclaration
General declaration section

See also

TPascalCodeGenerator.EnsureSection

  

Ensure code is in specified section

TPascalCodeGenerator.CurrentSection

  

Current code section type


Documentation generated on: Dec 19 2025