Struct cssparser::ParserInput
[−]
[src]
pub struct ParserInput<'i> { /* fields omitted */ }
The owned input for a parser.
Methods
impl<'i> ParserInput<'i>
[src]
fn new(input: &'i str) -> ParserInput<'i>
[src]
Create a new input for a parser.
fn new_with_line_number_offset(
input: &'i str,
first_line_number: u32
) -> ParserInput<'i>
[src]
input: &'i str,
first_line_number: u32
) -> ParserInput<'i>
Create a new input for a parser. Line numbers in locations are offset by the given value.