Home
last modified time | relevance | path

Searched refs:asts (Results 1 – 9 of 9) sorted by relevance

/third_party/typescript/tests/baselines/reference/
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, this.asts.length - (this.top + 1));
80 return <TypeScript.AST>AstPath.reverseIndexOf(this.asts, this.asts.length - this.top);
[all …]
DparserRealSource14.types71 public asts: TypeScript.AST[] = [];
72 >asts : TypeScript.AST[]
118 clone.asts = this.asts.map((value) => { return value; });
119 >clone.asts = this.asts.map((value) => { return value; }) : TypeScript.AST[]
120 >clone.asts : TypeScript.AST[]
122 >asts : TypeScript.AST[]
123 >this.asts.map((value) => { return value; }) : TypeScript.AST[]
124 >this.asts.map : <U>(callbackfn: (value: TypeScript.AST, index: number, array: TypeScript.AST[]) =>…
125 >this.asts : TypeScript.AST[]
127 >asts : TypeScript.AST[]
[all …]
DparserRealSource14.symbols56 public asts: TypeScript.AST[] = [];
57 >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26))
90 clone.asts = this.asts.map((value) => { return value; });
91 >clone.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26))
93 >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26))
94 >this.asts.map : Symbol(Array.map, Decl(lib.es5.d.ts, --, --))
95 >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26))
97 >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26))
130 while (this.asts.length > this.count()) {
131 >this.asts.length : Symbol(Array.length, Decl(lib.es5.d.ts, --, --))
[all …]
DparserRealSource14.errors.txt189 public asts: TypeScript.AST[] = [];
200 clone.asts = this.asts.map((value) => { return value; });
211 while (this.asts.length > this.count()) {
212 this.asts.pop();
220 while (this.asts.length > this.count()) {
221 this.asts.pop();
223 this.top = this.asts.length;
224 this.asts.push(ast);
250 … return <TypeScript.AST>AstPath.reverseIndexOf(this.asts, this.asts.length - (this.top + 1));
256 … return <TypeScript.AST>AstPath.reverseIndexOf(this.asts, this.asts.length - this.top);
[all …]
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/
DparserRealSource14.ts24 public asts: TypeScript.AST[] = []; property in AstPath
33 clone.asts = this.asts.map((value) => { return value; });
42 while (this.asts.length > this.count()) {
43 this.asts.pop();
49 while (this.asts.length > this.count()) {
50 this.asts.pop();
52 this.top = this.asts.length;
53 this.asts.push(ast);
75 … return <TypeScript.AST>AstPath.reverseIndexOf(this.asts, this.asts.length - (this.top + 1));
79 return <TypeScript.AST>AstPath.reverseIndexOf(this.asts, this.asts.length - this.top);
[all …]
/third_party/rust/crates/regex/regex-syntax/src/ast/
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()
Dmod.rs557 pub asts: Vec<Ast>, field
567 match self.asts.len() { in into_ast()
569 1 => self.asts.pop().unwrap(), in into_ast()
581 pub asts: Vec<Ast>, field
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.drain(..)); in drop()
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.push(Ast::Class(class)); in parse_with_comments()
[all …]
/third_party/rust/crates/regex/regex-syntax/src/hir/
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()