php-dextrin

HasOffset

Implemented by any exception that can report a byte/character offset into the source it failed on (lexer/parser errors) -- lets {@see DXNError::wrap()} preserve that offset without needing to know about every concrete exception class in the text/binary pipelines.

Table of Contents

Methods

offset()  : int|null

Methods

offset()

public offset() : int|null
Return values
int|null
On this page

Search results