pub fn parse(input: Input) -> Result<SyntaxNode, TwigParseError<Input>> {
    let (_, result) = all_consuming(document_node_all)(input)?;

    Ok(result)
}
/// Parses a template into an AST of the [SyntaxNode] type.
/// If it fails it will return a [TwigParseError] which contains a function
/// to generate a human readable error message [TwigParseError::pretty_helpful_error_string].
Parses a template into an AST of the [SyntaxNode] type.
If it fails it will return a [TwigParseError] which contains a function
to generate a human readable error message [TwigParseError::pretty_helpful_error_string].
Parses a template into an AST of the [ SyntaxNode ] type . If it fails it will return a [ TwigParseError ] which contains a function to generate a human readable error message [ TwigParseError :: pretty_helpful_error_string ] .
pub fn parse(input: Input) -> Result<SyntaxNode, TwigParseError<Input>> {
    let (_, result) = all_consuming(document_node_all)(input)?;
    Ok(result)
}
pub fn parse ( input : Input ) -> Result < SyntaxNode , TwigParseError < Input > > { let ( _ , result ) = all_consuming ( document_node_all ) ( input ) ? ; Ok ( result ) }
Parses a template into an AST of the [SyntaxNode] type.
Parses a template into an AST of the [ SyntaxNode ] type .
input
Input
input
Input