Home
last modified time | relevance | path

Searched refs:asts (Results 1 - 5 of 5) sorted by relevance

/third_party/typescript/tests/baselines/reference/
H A DparserRealSource14.js25 public asts: TypeScript.AST[] = [];
34 clone.asts = this.asts.map((value) => { return value; });
43 while (this.asts.length > this.count()) {
44 this.asts.pop();
50 while (this.asts.length > this.count()) {
51 this.asts.pop();
53 this.top = this.asts.length;
54 this.asts.push(ast);
76 return <TypeScript.AST>AstPath.reverseIndexOf(this.asts, thi
[all...]
/third_party/rust/crates/regex/regex-syntax/src/ast/
H A Dvisitor.rs268 Ast::Concat(ref x) if x.asts.is_empty() => None, in induct()
270 Some(Frame::Concat { head: &x.asts[0], tail: &x.asts[1..] }) in induct()
272 Ast::Alternation(ref x) if x.asts.is_empty() => None, in induct()
274 head: &x.asts[0], in induct()
275 tail: &x.asts[1..], in induct()
H A Dparse.rs645 Ok(ast::Concat { span: self.span(), asts: vec![] }) in push_alternate()
655 alts.asts.push(concat.into_ast()); in push_or_add_alternation()
660 asts: vec![concat.into_ast()], in push_or_add_alternation()
687 concat.asts.push(Ast::Flags(set)); in push_group()
704 Ok(ast::Concat { span: self.span(), asts: vec![] }) in push_group()
753 alt.asts.push(group_concat.into_ast()); in pop_group()
760 prior_concat.asts.push(Ast::Group(group)); in pop_group()
778 alt.asts.push(concat.into_ast()); in pop_group_end()
960 let mut concat = ast::Concat { span: self.span(), asts: vec![] }; in parse_with_comments()
972 concat.asts in parse_with_comments()
[all...]
H A Dmod.rs557 pub asts: Vec<Ast>,
567 match self.asts.len() { in into_ast()
569 1 => self.asts.pop().unwrap(), in into_ast()
581 pub asts: Vec<Ast>,
591 match self.asts.len() { in into_ast()
593 1 => self.asts.pop().unwrap(), in into_ast()
1373 Ast::Alternation(ref x) if x.asts.is_empty() => return, in drop()
1374 Ast::Concat(ref x) if x.asts.is_empty() => return, in drop()
1397 stack.extend(x.asts.drain(..)); in drop()
1400 stack.extend(x.asts in drop()
[all...]
/third_party/rust/crates/regex/regex-syntax/src/hir/
H A Dtranslate.rs262 Ast::Concat(ref x) if x.asts.is_empty() => {} in visit_pre()
266 Ast::Alternation(ref x) if x.asts.is_empty() => {} in visit_pre()

Completed in 8 milliseconds