THPDFContentOperatorView
Provides a borrowed read-only view of the current AST operation
Declaration
function GetOperationBytes(out Bytes: TBytes): boolean;
function GetOperandNode(OperandIndex: Integer;
out Node: THPDFContentSyntaxNode): boolean;
function GetOperandBytes(OperandIndex: Integer;
out Bytes: TBytes): boolean;
Parameters
OperandIndexis a zero-based operand indexNodereceives immutable source spans and syntax relationshipsBytesreceives only the requested operation or operand range
Return value
True when the requested range exists, otherwise False
Usage notes
- The view is valid only during its callback
- Byte getters copy only the selected source span
- The view exposes no edit methods, so transformations must use the callback action and replacement fields