1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub use crate::parser::Ast;

pub struct Search {}

pub struct Match {
    pub position: (usize, usize),
    pub pattern: usize,
}

impl Search {
    pub fn new(_patterns: &[Ast]) -> Self {
        Self {}
    }

    pub fn next(_cont: &str) -> Vec<Match> {
        vec![]
    }
}