|
parser 1.0.0
UTF-8 CEL expression compilation and checked library extensions
|
Identifies a half-open UTF-8 byte interval; begin never exceeds end. Example: source_span{0, 4} covers all bytes of "true". More...
#include <cel/parser/diagnostic.hpp>
Public Member Functions | |
| bool | operator== (const source_span &) const =default |
| Returns true if both byte offsets are equal. | |
Public Attributes | |
| std::size_t | begin |
| Inclusive byte offset in the producer's source. | |
| std::size_t | end |
| Exclusive byte offset; equal to begin for an empty interval. | |
Identifies a half-open UTF-8 byte interval; begin never exceeds end. Example: source_span{0, 4} covers all bytes of "true".