[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Internally used class for logical NOT operations
Source position: fpexprpars.pp line 386
type TFPNotNode = class(TFPUnaryOperator) |
||
public |
||
procedure Check; override; |
|
Validate the NOT operation for correctness |
function NodeType; override; |
|
Get the result type for NOT operations |
procedure GetNodeValue(); override; |
|
Calculate the result of NOT operation |
function AsString; override; |
|
Get string representation of NOT operation |
end; |
|
Internally used class for logical NOT operations |
|
| | | ||
|
Internally used class for unary operations with single operand |
|
| | | ||
|
Class for representing nodes in expression trees |
|
| | | ||
The TFPNotNode class implements the logical NOT operation that inverts a boolean value. It extends TFPUnaryOperator to provide NOT-specific functionality that converts True to False and False to True.
The NOT operation requires that its operand evaluates to a boolean value. It performs the logical inversion of the boolean result, providing the fundamental logical negation operation for boolean expressions.
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 |