pub type PklResult<T> = Result<T, (String, Span)>;
Expand description
A result type for PKL parsing operations.
The PklResult
type is a specialized Result
type used throughout the PKL parsing code.
It represents either a successful result (T
) or a ParseError
.
Aliased Type§
enum PklResult<T> {
Ok(T),
Err((String, Range<usize>)),
}