Home
last modified time | relevance | path

Searched defs:Ast (Results 1 – 5 of 5) sorted by relevance

/third_party/rust/crates/regex/regex-syntax/src/ast/
Dvisitor.rs119 pub fn visit<V: Visitor>(ast: &Ast, visitor: V) -> Result<V::Output, V::Err> { in visit()
208 mut ast: &'a Ast, in visit()
258 ast: &'a Ast, in induct()
438 fn child(&self) -> &'a Ast { in child()
Dparse.rs45 fn into_ast(self) -> Ast { in into_ast()
337 pub fn parse(&mut self, pattern: &str) -> Result<Ast> { in parse()
771 fn pop_group_end(&self, mut concat: ast::Concat) -> Result<Ast> { in pop_group_end()
951 fn parse(&self) -> Result<Ast> { in parse()
2413 fn lit(c: char, start: usize) -> Ast { in lit()
2418 fn punct_lit(c: char, span: Span) -> Ast { in punct_lit()
2427 fn lit_with(c: char, span: Span) -> Ast { in lit_with()
2436 fn concat(range: Range<usize>, asts: Vec<Ast>) -> Ast { in concat()
2441 fn concat_with(span: Span, asts: Vec<Ast>) -> Ast { in concat_with()
2446 fn alt(range: Range<usize>, asts: Vec<Ast>) -> Ast { in alt()
[all …]
Dmod.rs469 pub enum Ast { enum
493 impl Ast { implementation
544 impl fmt::Display for Ast { implementation
566 pub fn into_ast(mut self) -> Ast { in into_ast()
590 pub fn into_ast(mut self) -> Ast { in into_ast()
1359 impl Drop for Ast { implementation
Dprint.rs59 pub fn print<W: fmt::Write>(&mut self, ast: &Ast, wtr: W) -> fmt::Result { in print()
/third_party/rust/crates/regex/regex-syntax/src/hir/
Dtranslate.rs1152 fn parse(pattern: &str) -> Ast { in parse()