Top Method Summary
Options Name Purpose
CompileLogicalExpression (character) Compiles the resolved rule expression as the right-hand side of an assignment to a LOGICAL variable
CHARACTER GetSampleLiteral (character) Returns a sample ABL literal for a data type
LOGICAL IsIdentifierCharacter (character) Returns if a character can be part of an ABL identifier
TokenResolvedHandler (Object, TokenResolverEventArgs) Event handler for the TokenResolved event of the TokenResolver
LOGICAL Validate (character, CharacterDictionary) Validates a rule expression
ValidateFunctions (character) Reports the functions of the expression that are not supported by the rule evaluation of the web client as warnings

Top Constructor Summary
Options Name Purpose
RuleExpressionValidator () Constructor for the RuleExpressionValidator class

Top Property Summary
Options Name Purpose
Consultingwerk.Framework.Collections.CharacterList Errors
CHARACTER SupportedFunctions
CHARACTER ViewerProperties
Consultingwerk.Framework.Collections.CharacterList Warnings


Method Detail
Top

CompileLogicalExpression (character)

Purpose: Compiles the resolved rule expression as the right-hand side of
an assignment to a LOGICAL variable
Notes: Detects a rule that returns a CHARACTER value, which QUERY-PREPARE
accepts. Skipped in a session without a compiler (Run-Time)

Parameters:
pcExpression CHARACTER
The rule expression with the tokens replaced by sample literals
Top

CHARACTER GetSampleLiteral (character)

Purpose: Returns a sample ABL literal for a data type
Notes: Used to compile the expression with the tokens replaced

Parameters:
pcDataType CHARACTER
The ABL data type
Returns CHARACTER
The sample literal, ? for an unknown data type
Top

LOGICAL IsIdentifierCharacter (character)

Purpose: Returns if a character can be part of an ABL identifier
Notes:

Parameters:
pcCharacter CHARACTER
The character to test
Returns LOGICAL
Logical value indicating if the character can be part of an identifier
Top

TokenResolvedHandler (Object, TokenResolverEventArgs)

Purpose: Event handler for the TokenResolved event of the TokenResolver
Notes: Replaces a token with a sample literal of the data type of the
referenced field, the viewer properties with sample values of
their type and all other tokens with the unknown value

Parameters:
sender Progress.Lang.Object
The reference to the sender of the event
e OpenEdge.Core.Util.TokenResolverEventArgs
The TokenResolverEventArgs for this event
Top

LOGICAL Validate (character, CharacterDictionary)

Purpose: Validates a rule expression
Notes: The Errors and Warnings properties hold the findings

Parameters:
pcExpression CHARACTER
The rule expression to validate
poFieldDataTypes Consultingwerk.Framework.Collections.CharacterDictionary
The ABL data types of the fields that ${field} tokens may reference, by field name (may be invalid when not known)
Returns LOGICAL
Logical value indicating if the expression is valid (warnings do not count)
Top

ValidateFunctions (character)

Purpose: Reports the functions of the expression that are not supported
by the rule evaluation of the web client as warnings
Notes: String literals and ${...} tokens are skipped

Parameters:
pcExpression CHARACTER
The rule expression


Constructor Detail
Top

RuleExpressionValidator ()

Purpose: Constructor for the RuleExpressionValidator class
Notes:



Property Detail
Top

Consultingwerk.Framework.Collections.CharacterList Errors


Returns Consultingwerk.Framework.Collections.CharacterList
Top

CHARACTER SupportedFunctions


Returns CHARACTER
Top

CHARACTER ViewerProperties


Returns CHARACTER
Top

Consultingwerk.Framework.Collections.CharacterList Warnings


Returns Consultingwerk.Framework.Collections.CharacterList


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       09.11.2026 08:04:42