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
Purpose: Converts a MESSAGE Statement into a call to DatasetHelper:AddErrorString
Notes:



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

PUBLIC 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

PROTECTED 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

PROTECTED 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

PROTECTED 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-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 13:22:22