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

TPascalCodeGenerator.CurrentSection

Current code section type

Declaration

Source position: pascodegen.pp line 104

public property TPascalCodeGenerator.CurrentSection : TCodeSection
  read GetSection
  write SetSection;

Description

CurrentSection indicates the current section type being generated. Reading this property returns the section type at the top of the section stack. Writing to this property changes the current section without affecting the stack.

See also

TCodeSection

  

Pascal code section types

TPascalCodeGenerator.EnsureSection

  

Ensure code is in specified section

TPascalCodeGenerator.PushSection

  

Push section onto section stack

TPascalCodeGenerator.PopSection

  

Pop section from section stack


Documentation generated on: Dec 19 2025