THPDFContentOperatorVisitStatus Type
Reports how a token-preserving content-operator visit finished
Declaration
THPDFContentOperatorVisitStatus= (
covsCompleted,
covsStopped,
covsRejected,
covsInvalidInput,
covsLimitExceeded,
covsInvalidOutput,
covsVisitorError
);
Unit
HPDFContentStream
Values
| Value | Purpose |
|---|---|
covsCompleted | Every operator was visited and the output syntax tree was produced |
covsStopped | A visitor returned coaStop and the walk ended early by request with partial output |
covsRejected | A visitor returned coaReject; the pass is discarded and no output is produced |
covsInvalidInput | The source content stream could not be parsed into a valid syntax tree |
covsLimitExceeded | A configured lexeme, node, depth, or byte budget was hit before the walk finished |
covsInvalidOutput | The rewritten output failed validation before it could be returned |
covsVisitorError | The visitor callback itself raised an exception, which the walker captured |
Usage notes
THPDFContentOperatorVisitStatistics.Statuscarries this value together withErrorOffsetandDiagnostic, which pinpoint the failure- Treat
covsStoppedas a controlled exit andcovsRejectedas a failed edit; only the former yields usable output covsVisitorErrorlets the walker contain a faulty visitor instead of letting the exception escape into host code