pub fn register(&mut self, span: pest::Span<'_>) -> Span {
        let res = Span(self.0.len());
        self.0.push(Error::new_from_span(
            ErrorVariant::CustomError { message: "".to_owned() },
            span,
        ));
        res
    }
/// Registers a span represented by a Pest span.
Registers a span represented by a Pest span.
Registers a span represented by a Pest span .
pub fn register(&mut self, span: pest::Span<'_>) -> Span {
        let res = Span(self.0.len());
        self.0.push(Error::new_from_span(
            ErrorVariant::CustomError { message: "".to_owned() },
            span,
        ));
        res
    }
pub fn register ( & mut self , span : pest :: Span < ' _ > ) -> Span { let res = Span ( self . 0 . len ( ) ) ; self . 0 . push ( Error :: new_from_span ( ErrorVariant :: CustomError { message : " " . to_owned ( ) } , span , ) ) ; res }
Registers a span represented by a Pest span.
Registers a span represented by a Pest span .
&mut self
span
pest::Span<'_>
&mut self
span
pest::Span<'_>