Namespace: Consultingwerk.Studio.LegacyCodeMigration
Class 
MessageStatementToRowErrorConverter Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:MessageStatementToRowErrorConverter
Purpose:Converts a MESSAGE Statement into a call to DatasetHelper:AddErrorString
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Fri Mar 24 07:31:11 CET 2023



Top Method Summary
Options Name Purpose
CHARACTER ConvertMessageStatement (JPNode, character) Converts a MESSAGE Statement into a call to DatasetHelper:AddErrorString
CHARACTER GetMessageExpression (JPNode) Converts the message expression
CHARACTER ParseFieldRef (JPNode) Parses a Field_ref phrase
CHARACTER ParseSkipPhrase (JPNode) Parses a SKIP phrase and returns the line break characters


Method Detail
Top

CHARACTER ConvertMessageStatement (JPNode, character)

Purpose: Converts a MESSAGE Statement into a call to DatasetHelper:AddErrorString
Notes:

Parameters:
poNode org.prorefactor.core.JPNode
The JPNode with the message statement
pcBufferName CHARACTER
The name of the ProDataset buffer
Returns CHARACTER
The DatasetHelper:AddErrorString source code
Top

CHARACTER GetMessageExpression (JPNode)

Purpose: Converts the message expression
Notes:

Parameters:
poNode org.prorefactor.core.JPNode
The JPNode with the message statement
Returns CHARACTER
The expression matching the MESSAGE statement's form items
Top

CHARACTER ParseFieldRef (JPNode)

Purpose: Parses a Field_ref phrase
Notes:

Parameters:
poNode org.prorefactor.core.JPNode
The node representing the SKIP phrase
Returns CHARACTER
The resulting character expression
Top

CHARACTER ParseSkipPhrase (JPNode)

Purpose: Parses a SKIP phrase and returns the line break characters
Notes:

Parameters:
poNode org.prorefactor.core.JPNode
The node representing the SKIP phrase
Returns CHARACTER
The resulting character expression


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       30.03.2026 11:12:20