Lines Matching defs:Ast
45 fn into_ast(self) -> Ast { in into_ast()
337 pub fn parse(&mut self, pattern: &str) -> Result<Ast> { in parse()
779 fn pop_group_end(&self, mut concat: ast::Concat) -> Result<Ast> { in pop_group_end()
963 fn parse(&self) -> Result<Ast> { in parse()
2422 fn lit(c: char, start: usize) -> Ast { in lit()
2427 fn punct_lit(c: char, span: Span) -> Ast { in punct_lit()
2436 fn lit_with(c: char, span: Span) -> Ast { in lit_with()
2445 fn concat(range: Range<usize>, asts: Vec<Ast>) -> Ast { in concat()
2450 fn concat_with(span: Span, asts: Vec<Ast>) -> Ast { in concat_with()
2455 fn alt(range: Range<usize>, asts: Vec<Ast>) -> Ast { in alt()
2460 fn group(range: Range<usize>, index: u32, ast: Ast) -> Ast { in group()
2480 ) -> Ast { in flag_set()