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

source ยท
pub fn greedy_match(
    segments: Vec<ErasedSegment>,
    parse_context: &mut ParseContext<'_>,
    matchers: Vec<Arc<dyn Matchable>>,
    include_terminator: bool
) -> Result<MatchResult, SQLParseError>
Expand description

Looks ahead to claim everything up to some future terminators.