Type Alias arithmetic_parser::Location
source · pub type Location<T = ()> = LocatedSpan<usize, T>;
Expand description
Value with an associated code location. Unlike Spanned
, Location
does not retain a reference
to the original code span, just its start position and length.
Aliased Type§
struct Location<T = ()> {
pub extra: T,
/* private fields */
}
Fields§
§extra: T
Extra information that can be embedded by the user.