Top Method Summary
Options Name Purpose
AddAnnotationIfMissing () Adds the @lowercase. / @uppercase. annotation to the source when it is missing
CorrectKeywordCase (KeywordCaseEnum, logical) Corrects the case of all ABL keywords in the source file
LOGICAL ProcessNode (INode) Processes a single AST node, correcting the case of keyword tokens

Top Constructor Summary
Options Name Purpose
KeywordCaseProcessor (character) Constructor for the KeywordCaseProcessor class

Top Property Summary
Options Name Purpose
CHARACTER FileName


Method Detail
Top

AddAnnotationIfMissing ()

Purpose: Adds the @lowercase. / @uppercase. annotation to the source when
it is missing
Notes: The annotation is placed after the initial comment block(s) and
before the first keyword node, with exactly one empty line before
and one empty line after the annotation.

Top

CorrectKeywordCase (KeywordCaseEnum, logical)

Purpose: Corrects the case of all ABL keywords in the source file
Notes: Parses the program using the IProparseApi service, walks the
AST and rewrites the keyword tokens in place. Optionally adds
the @lowercase. / @uppercase. annotation when it is missing.

Parameters:
poCase Consultingwerk.Studio.SourceCode.KeywordCaseEnum
The requested keyword case (Lowercase or Uppercase)
plAddAnnotation LOGICAL
Logical value indicating if the @lowercase. / @uppercase. annotation should be added when missing
Top

LOGICAL ProcessNode (INode)

Purpose: Processes a single AST node, correcting the case of keyword tokens
Notes: Nodes originating from include files (FileName does not match the
originally parsed program) and synthetic nodes (without a source
position) are skipped.

Parameters:
poNode Consultingwerk.Studio.ProparseApi.INode
The INode to process
Returns LOGICAL
Logical value indicating if the AST walk should be cancelled (always FALSE)


Constructor Detail
Top

KeywordCaseProcessor (character)

Purpose: Constructor for the KeywordCaseProcessor class
Notes:

Parameters:
pcFileName CHARACTER
The name of the source file (.p, .w, .cls) to process


Property Detail
Top

CHARACTER FileName


Returns CHARACTER


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       06.07.2026 14:37:48