[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Internally used class for binary OR logical operation
Source position: fpexprpars.pp line 170
type TFPBinaryOrOperation = class(TFPBooleanOperation) |
||
public |
||
function AsString; override; |
|
Get string representation of OR operation |
end; |
|
Internally used class for binary OR logical operation |
|
| | | ||
|
Internally used class for boolean operations in expressions |
|
| | | ||
|
Internally used class for binary operations with left and right operands |
|
| | | ||
|
Class for representing nodes in expression trees |
|
| | | ||
The TFPBinaryOrOperation class implements the logical OR operation between two boolean operands. It extends TFPBooleanOperation to provide OR-specific functionality that evaluates to True when at least one operand is True.
The operation uses short-circuit evaluation, meaning that if the left operand is True, the right operand is not evaluated since the result is already determined to be True. This optimization improves performance in expressions where the first condition is likely to be true.
The result is always a boolean value, following standard logical OR truth table rules where only False OR False produces False.
This class is used internally by the TFPExpressionParser class to construct an AST (Abstract Syntax Tree). There is normally no need for you to use or instantiate this class directly.
|
Class for representing nodes in expression trees |