Create case operation with arguments
Source position: fpexprpars.pp line 291
public constructor TCaseOperation.Create( |
Args: TExprArgumentArray |
); |
Args |
|
The arguments array for case operation |
The Create constructor creates a new case operation node with the provided arguments array. The arguments typically include the condition expression and alternating case values and result expressions.
The case operation follows a pattern commonly found in SQL:
CASE condition
WHEN value1 THEN result1
WHEN value2 THEN result2
ELSE
default_result
END.
The arguments array contains these components in the appropriate order for evaluation.