Top Method Summary
Options Name Purpose
LONGCHAR FormatUsingStatements (longchar) Reformats the USING statements in the given source code so that they are sorted alphabetically and their FROM phrases are aligned vertically
ProcessGeneratedFile (character) Formats the USING statements of a single generated file


Method Detail
Top

LONGCHAR FormatUsingStatements (longchar)

Purpose: Reformats the USING statements in the given source code so
that they are sorted alphabetically and their FROM phrases
are aligned vertically
Notes: SCL-5678: the implementation lives in UsingBlockFormatter,
because the code generator has to apply the very same ordering
while it builds a generated class - otherwise its output can
never match the file this plug-in leaves on disc and every
regeneration rewrites it. This method is kept as the plug-in's
published entry point

Parameters:
plcContent LONGCHAR
The original source code
Returns LONGCHAR
The reformatted source code
Top

ProcessGeneratedFile (character)

Purpose: Formats the USING statements of a single generated file
Notes: SCL-5660: Invoked once per file at the end of the generation run
rather than on every AfterWriteFile - the generator announces the
Data Access class four to five times per regeneration, and every
pass but the last was thrown away by the next generator write

Parameters:
pcFileName CHARACTER
The resolved name of the generated source file


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       16.08.2026 16:54:33