Function sqruff_lib::core::parser::match_algorithms::greedy_match

source ยท
pub fn greedy_match(
    segments: &[ErasedSegment],
    idx: u32,
    parse_context: &mut ParseContext<'_>,
    matchers: &[Arc<dyn Matchable>],
    include_terminator: bool,
    nested_match: bool,
) -> Result<MatchResult, SQLParseError>