sv-parser-parser 0.3.3

Helper crate of sv-parser
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::*;

// -----------------------------------------------------------------------------

#[tracable_parser]
#[packrat_parser]
pub(crate) fn preprocessor_text(s: Span) -> IResult<Span, PreprocessorText> {
    let (s, a) = many0(source_description)(s)?;
    Ok((s, PreprocessorText { nodes: (a,) }))
}