/third_party/typescript/tests/baselines/reference/ |
D | parserRealSource6.js | 73 var limChar = (this.isMemberCompletion ? this.pos : this.pos + 1); 74 …ptFragment = TypeScript.quickParse(this.logger, ast, this.text, minChar, limChar, null/*errorCaptu… 82 …(hasFlag(ast.flags, memScope.matchFlag) && ((memScope.pos < 0) || (memScope.pos == ast.limChar))) { 117 var limChar = ast.limChar; 121 if (ast.nodeType == NodeType.Script && context.pos > limChar) 122 limChar = context.pos; 125 (limChar >= context.pos)) { 290 var limChar = (this.isMemberCompletion ? this.pos : this.pos + 1); 291 …ptFragment = TypeScript.quickParse(this.logger, ast, this.text, minChar, limChar, null /*errorCapt… 300 …(hasFlag(ast.flags, memScope.matchFlag) && ((memScope.pos < 0) || (memScope.pos == ast.limChar))) { [all …]
|
D | parserRealSource6.types | 191 var limChar = (this.isMemberCompletion ? this.pos : this.pos + 1); 192 >limChar : number 207 …ptFragment = TypeScript.quickParse(this.logger, ast, this.text, minChar, limChar, null/*errorCaptu… 208 >this.scriptFragment = TypeScript.quickParse(this.logger, ast, this.text, minChar, limChar, null/*e… 212 >TypeScript.quickParse(this.logger, ast, this.text, minChar, limChar, null/*errorCapture*/).Script … 213 >TypeScript.quickParse(this.logger, ast, this.text, minChar, limChar, null/*errorCapture*/) : any 225 >limChar : number 248 …(hasFlag(ast.flags, memScope.matchFlag) && ((memScope.pos < 0) || (memScope.pos == ast.limChar))) { 249 >hasFlag(ast.flags, memScope.matchFlag) && ((memScope.pos < 0) || (memScope.pos == ast.limChar)) : … 258 >((memScope.pos < 0) || (memScope.pos == ast.limChar)) : boolean [all …]
|
D | parserRealSource14.js | 437 if (ast.minChar === -1 || ast.limChar === -1) 468 var limChar = comments[i].limChar; variable 470 … limChar++; // For single line comments, include 1 more character (for the newline) 472 if (pos >= minChar && pos < limChar) { 492 pos === script.limChar; // Special "EOF" case 495 var limChar = cur.limChar + (inclusive ? 1 : 0) 496 if (pos >= minChar && pos < limChar) { 501 … if (previous == null || (cur.minChar >= previous.minChar && cur.limChar <= previous.limChar)) { 510 if (pos < limChar) { 519 walker.options.goChildren = (minChar <= pos && pos <= limChar); [all …]
|
D | parserRealSource6.symbols | 165 var limChar = (this.isMemberCompletion ? this.pos : this.pos + 1); 166 >limChar : Symbol(limChar, Decl(parserRealSource6.ts, 71, 19)) 177 …ptFragment = TypeScript.quickParse(this.logger, ast, this.text, minChar, limChar, null/*errorCaptu… 190 >limChar : Symbol(limChar, Decl(parserRealSource6.ts, 71, 19)) 210 …(hasFlag(ast.flags, memScope.matchFlag) && ((memScope.pos < 0) || (memScope.pos == ast.limChar))) { 353 var limChar = ast.limChar; 354 >limChar : Symbol(limChar, Decl(parserRealSource6.ts, 115, 11)) 359 if (ast.nodeType == NodeType.Script && context.pos > limChar) 364 >limChar : Symbol(limChar, Decl(parserRealSource6.ts, 115, 11)) 366 limChar = context.pos; [all …]
|
D | parserRealSource14.types | 3771 if (ast.minChar === -1 || ast.limChar === -1) 3772 >ast.minChar === -1 || ast.limChar === -1 : boolean 3779 >ast.limChar === -1 : boolean 3780 >ast.limChar : any 3782 >limChar : any 3818 … // inside a comment, because the "class" AST node has a limChar corresponding to the position of 3845 …limChar = comments[i].limChar; if (!comments[i].isBlockComment) { … 3877 var limChar = comments[i].limChar; 3878 >limChar : any 3879 >comments[i].limChar : any [all …]
|
D | parserharness.js | 1474 limChar: 0, property 1562 public editContent(minChar: number, limChar: number, newText: string) { 1566 var suffix = this.content.substring(limChar); 1572 … editRange: new TypeScript.ScriptEditRange(minChar, limChar, (limChar - minChar) + newText.length) 1598 …var minDistFromEnd = entries.map(x => x.length - x.editRange.limChar).reduce((prev, current) => Ma… 1636 public editScript(name: string, minChar: number, limChar: number, newText: string) { 1639 this.scripts[i].editContent(minChar, limChar, newText); 1699 var result = (range.minChar + "," + range.limChar + "," + range.delta); 1778 var suffix = result.substring(edit.limChar); 1816 var gap = nextEdit.minChar - currentEdit.limChar; [all …]
|
D | parserRealSource6.errors.txt | 183 var limChar = (this.isMemberCompletion ? this.pos : this.pos + 1); 184 …ptFragment = TypeScript.quickParse(this.logger, ast, this.text, minChar, limChar, null/*errorCaptu… 200 …(hasFlag(ast.flags, memScope.matchFlag) && ((memScope.pos < 0) || (memScope.pos == ast.limChar))) { 263 var limChar = ast.limChar; 267 if (ast.nodeType == NodeType.Script && context.pos > limChar) 270 limChar = context.pos; 273 (limChar >= context.pos)) {
|
D | parserRealSource14.errors.txt | 871 if (ast.minChar === -1 || ast.limChar === -1) 887 … // inside a comment, because the "class" AST node has a limChar corresponding to the position of 906 var limChar = comments[i].limChar; 908 … limChar++; // For single line comments, include 1 more character (for the newline) 910 if (pos >= minChar && pos < limChar) { 927 … // For "identifier" nodes, we need a special case: A position equal to "limChar" is 940 pos === script.limChar; // Special "EOF" case 943 var limChar = cur.limChar + (inclusive ? 1 : 0) 944 if (pos >= minChar && pos < limChar) { 949 … if (previous == null || (cur.minChar >= previous.minChar && cur.limChar <= previous.limChar)) { [all …]
|
D | parserharness.types | 5970 >ref : { minChar: number; limChar: number; startLine: number; startCol: number; path: string; isRes… 5971 …limChar: 0, startLine:0, startCol:0, … 5977 limChar: 0, 5978 >limChar : number 6006 >ref : { minChar: number; limChar: number; startLine: number; startCol: number; path: string; isRes… 6293 public editContent(minChar: number, limChar: number, newText: string) { 6294 >editContent : (minChar: number, limChar: number, newText: string) => void 6296 >limChar : number 6315 var suffix = this.content.substring(limChar); 6317 >this.content.substring(limChar) : string [all …]
|
D | parserRealSource14.symbols | 2150 if (ast.minChar === -1 || ast.limChar === -1) 2181 … // inside a comment, because the "class" AST node has a limChar corresponding to the position of 2228 var limChar = comments[i].limChar; 2229 >limChar : Symbol(limChar, Decl(parserRealSource14.ts, 466, 23)) 2237 … limChar++; // For single line comments, include 1 more character (for the newline) 2238 >limChar : Symbol(limChar, Decl(parserRealSource14.ts, 466, 23)) 2240 if (pos >= minChar && pos < limChar) { 2244 >limChar : Symbol(limChar, Decl(parserRealSource14.ts, 466, 23)) 2272 // For "identifier" nodes, we need a special case: A position equal to "limChar" is 2291 pos === script.limChar; // Special "EOF" case [all …]
|
D | parserharness.errors.txt | 1756 limChar: 0, 1848 public editContent(minChar: number, limChar: number, newText: string) { 1852 var suffix = this.content.substring(limChar); 1858 … editRange: new TypeScript.ScriptEditRange(minChar, limChar, (limChar - minChar) + newText.length) 1890 …var minDistFromEnd = entries.map(x => x.length - x.editRange.limChar).reduce((prev, current) => Ma… 1934 public editScript(name: string, minChar: number, limChar: number, newText: string) { 1937 this.scripts[i].editContent(minChar, limChar, newText); 1997 var result = (range.minChar + "," + range.limChar + "," + range.delta); 2098 var suffix = result.substring(edit.limChar); 2146 var gap = nextEdit.minChar - currentEdit.limChar; [all …]
|
D | parserindenter.types | 240 …this.logger.log("edit: minChar=" + edit.position + ", limChar=" + (edit.position + edit.length) + … 241 >this.logger.log("edit: minChar=" + edit.position + ", limChar=" + (edit.position + edit.length) + … 247 >"edit: minChar=" + edit.position + ", limChar=" + (edit.position + edit.length) + ", text=\"" + Ty… 248 >"edit: minChar=" + edit.position + ", limChar=" + (edit.position + edit.length) + ", text=\"" + Ty… 249 >"edit: minChar=" + edit.position + ", limChar=" + (edit.position + edit.length) + ", text=\"" : st… 250 >"edit: minChar=" + edit.position + ", limChar=" + (edit.position + edit.length) : string 251 >"edit: minChar=" + edit.position + ", limChar=" : string 257 >", limChar=" : ", limChar="
|
D | parserharness.symbols | 4314 limChar: 0, 4315 >limChar : Symbol(limChar, Decl(parserharness.ts, 1471, 39)) 4547 public editContent(minChar: number, limChar: number, newText: string) { 4550 >limChar : Symbol(limChar, Decl(parserharness.ts, 1560, 43)) 4567 var suffix = this.content.substring(limChar); 4574 >limChar : Symbol(limChar, Decl(parserharness.ts, 1560, 43)) 4600 … editRange: new TypeScript.ScriptEditRange(minChar, limChar, (limChar - minChar) + newText.length) 4603 >limChar : Symbol(limChar, Decl(parserharness.ts, 1560, 43)) 4604 >limChar : Symbol(limChar, Decl(parserharness.ts, 1560, 43)) 4712 …var minDistFromEnd = entries.map(x => x.length - x.editRange.limChar).reduce((prev, current) => Ma… [all …]
|
D | parserRealSource10.js | 330 constructor (public tok: Token, public minChar: number, public limChar: number) { } 797 function SavedToken(tok, minChar, limChar) { argument 800 this.limChar = limChar;
|
D | parserRealSource11.js | 10 public limChar: number = -1; // -1 = "undefined" or "compiler generated" 126 context.parser.getSourceLineCol(limLineCol, this.limChar); 188 this.limChar = lim; 2391 this.limChar = -1; // -1 = "undefined" or "compiler generated" 2500 context.parser.getSourceLineCol(limLineCol, this.limChar); 2558 _this.limChar = lim;
|
D | parserRealSource11.symbols | 16 public limChar: number = -1; // -1 = "undefined" or "compiler generated" 17 >limChar : Symbol(ASTSpan.limChar, Decl(parserRealSource11.ts, 7, 36)) 289 context.parser.getSourceLineCol(limLineCol, this.limChar); 292 >this.limChar : Symbol(ASTSpan.limChar, Decl(parserRealSource11.ts, 7, 36)) 294 >limChar : Symbol(ASTSpan.limChar, Decl(parserRealSource11.ts, 7, 36)) 482 this.limChar = lim; 483 >this.limChar : Symbol(ASTSpan.limChar, Decl(parserRealSource11.ts, 7, 36)) 485 >limChar : Symbol(ASTSpan.limChar, Decl(parserRealSource11.ts, 7, 36))
|
D | parserRealSource11.types | 18 public limChar: number = -1; // -1 = "undefined" or "compiler generated" 19 >limChar : number 528 context.parser.getSourceLineCol(limLineCol, this.limChar); 529 >context.parser.getSourceLineCol(limLineCol, this.limChar) : any 536 >this.limChar : number 538 >limChar : number 821 this.limChar = lim; 822 >this.limChar = lim : number 823 >this.limChar : number 825 >limChar : number
|
D | parserRealSource10.symbols | 2291 constructor (public tok: Token, public minChar: number, public limChar: number) { } 2295 >limChar : Symbol(SavedToken.limChar, Decl(parserRealSource10.ts, 328, 63))
|
D | parserindenter.errors.txt | 221 …this.logger.log("edit: minChar=" + edit.position + ", limChar=" + (edit.position + edit.length) + …
|
D | parserRealSource11.errors.txt | 525 public limChar: number = -1; // -1 = "undefined" or "compiler generated" 701 context.parser.getSourceLineCol(limLineCol, this.limChar); 781 this.limChar = lim;
|
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/ |
D | parserRealSource6.ts | 72 var limChar = (this.isMemberCompletion ? this.pos : this.pos + 1); 73 …ptFragment = TypeScript.quickParse(this.logger, ast, this.text, minChar, limChar, null/*errorCaptu… 81 …(hasFlag(ast.flags, memScope.matchFlag) && ((memScope.pos < 0) || (memScope.pos == ast.limChar))) { 116 var limChar = ast.limChar; 120 if (ast.nodeType == NodeType.Script && context.pos > limChar) 121 limChar = context.pos; 124 (limChar >= context.pos)) {
|
D | parserRealSource14.ts | 436 if (ast.minChar === -1 || ast.limChar === -1) 467 var limChar = comments[i].limChar; 469 … limChar++; // For single line comments, include 1 more character (for the newline) 471 if (pos >= minChar && pos < limChar) { 491 pos === script.limChar; // Special "EOF" case 494 var limChar = cur.limChar + (inclusive ? 1 : 0) 495 if (pos >= minChar && pos < limChar) { 500 … if (previous == null || (cur.minChar >= previous.minChar && cur.limChar <= previous.limChar)) { 509 if (pos < limChar) { 518 walker.options.goChildren = (minChar <= pos && pos <= limChar); [all …]
|
D | parserRealSource11.ts | 9 public limChar: number = -1; // -1 = "undefined" or "compiler generated" property in ASTSpan 125 context.parser.getSourceLineCol(limLineCol, this.limChar); 187 this.limChar = lim;
|
D | parserRealSource10.ts | 329 constructor (public tok: Token, public minChar: number, public limChar: number) { } property in SavedToken
|
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/RealWorld/ |
D | parserharness.ts | 1474 limChar: 0, 1562 public editContent(minChar: number, limChar: number, newText: string) { 1566 var suffix = this.content.substring(limChar); 1572 … editRange: new TypeScript.ScriptEditRange(minChar, limChar, (limChar - minChar) + newText.length) 1598 …var minDistFromEnd = entries.map(x => x.length - x.editRange.limChar).reduce((prev, current) => Ma… 1636 public editScript(name: string, minChar: number, limChar: number, newText: string) { 1639 this.scripts[i].editContent(minChar, limChar, newText); 1699 var result = (range.minChar + "," + range.limChar + "," + range.delta); 1778 var suffix = result.substring(edit.limChar); 1816 var gap = nextEdit.minChar - currentEdit.limChar; [all …]
|