pub fn new_at(input: Input<'a>, offset: usize, line: u32, column: u32) -> Self {
        Span {
            offset: offset,
            line  : line,
            column: column,
            slice : input
        }
    }
/// Create a span for a particular input at a particular offset, line, and column.
///
/// # Examples
///
/// ```
/// # extern crate tagua_parser;
/// use tagua_parser::tokens::Span;
///
/// # fn main() {
/// let span = Span::new_at(b"foobar", 1, 2, 3);
///
/// assert_eq!(span.offset,     1);
/// assert_eq!(span.line,       2);
/// assert_eq!(span.column,     3);
/// assert_eq!(span.as_slice(), &b"foobar"[..]);
/// # }
/// ```
Create a span for a particular input at a particular offset, line, and column.
Create a span for a particular input at a particular offset line and column .
pub fn new_at(input: Input<'a>, offset: usize, line: u32, column: u32) -> Self {
        Span {
            offset: offset,
            line  : line,
            column: column,
            slice : input
        }
    }
pub fn new_at ( input : Input < ' a > , offset : usize , line : u32 , column : u32 ) -> Self { Span { offset : offset , line : line , column : column , slice : input } }
Create a span for a particular input at a particular offset, line, and column.
Create a span for a particular input at a particular offset line and column .
input
Input<'a>
offset
usize
line
u32
column
u32
examples
None
extern crate tagua_parser;
None
fn main() {
None
}
None