Searched refs:tokenInfo (Results 1 – 7 of 7) sorted by relevance
/third_party/typescript/src/services/formatting/ |
D | formatting.ts | 454 const tokenInfo = constant 459 if (tokenInfo && tokenInfo.pos === previousRangeTriviaEnd!) { 470 …const parent = findPrecedingToken(tokenInfo.end, sourceFile, enclosingNode)?.parent || previousPar… 472 tokenInfo, 473 sourceFile.getLineAndCharacterOfPosition(tokenInfo.pos).line, 701 const tokenInfo = formattingScanner.readTokenInfo(node); 702 if (tokenInfo.token.end > Math.min(node.end, originalRange.end)) { 705 consumeTokenAndAdvanceScanner(tokenInfo, node, nodeDynamicIndentation, node); 756 const tokenInfo = formattingScanner.readTokenInfo(node); 757 if (tokenInfo.token.end > originalRange.end) { [all …]
|
D | formattingScanner.ts | 282 function fixTokenKind(tokenInfo: TokenInfo, container: Node): TokenInfo { 283 if (isToken(container) && tokenInfo.token.kind !== container.kind) { 284 tokenInfo.token.kind = container.kind; 286 return tokenInfo;
|
/third_party/typescript/tests/baselines/reference/ |
D | parserRealSource10.js | 354 var tokenInfo = lookupToken(this.tokenId); variable 355 if (tokenInfo != undefined) { 356 if ((tokenInfo.unopNodeType != NodeType.None) || 357 (tokenInfo.binopNodeType != NodeType.None)) { 823 var tokenInfo = lookupToken(this.tokenId); 824 if (tokenInfo != undefined) { 825 if ((tokenInfo.unopNodeType != NodeType.None) || 826 (tokenInfo.binopNodeType != NodeType.None)) {
|
D | parserRealSource10.types | 3659 var tokenInfo = lookupToken(this.tokenId); 3660 >tokenInfo : TokenInfo 3667 if (tokenInfo != undefined) { 3668 >tokenInfo != undefined : boolean 3669 >tokenInfo : TokenInfo 3672 if ((tokenInfo.unopNodeType != NodeType.None) || 3673 >(tokenInfo.unopNodeType != NodeType.None) || (tokenInfo.binopNodeType != No… 3674 >(tokenInfo.unopNodeType != NodeType.None) : boolean 3675 >tokenInfo.unopNodeType != NodeType.None : boolean 3676 >tokenInfo.unopNodeType : number [all …]
|
D | parserRealSource10.symbols | 2365 var tokenInfo = lookupToken(this.tokenId); 2366 >tokenInfo : Symbol(tokenInfo, Decl(parserRealSource10.ts, 352, 19)) 2372 if (tokenInfo != undefined) { 2373 >tokenInfo : Symbol(tokenInfo, Decl(parserRealSource10.ts, 352, 19)) 2376 if ((tokenInfo.unopNodeType != NodeType.None) || 2377 >tokenInfo.unopNodeType : Symbol(TokenInfo.unopNodeType, Decl(parserRealSource10.ts, 177, 50)) 2378 >tokenInfo : Symbol(tokenInfo, Decl(parserRealSource10.ts, 352, 19)) 2381 (tokenInfo.binopNodeType != NodeType.None)) { 2382 >tokenInfo.binopNodeType : Symbol(TokenInfo.binopNodeType, Decl(parserRealSource10.ts, 176, 51)) 2383 >tokenInfo : Symbol(tokenInfo, Decl(parserRealSource10.ts, 352, 19))
|
D | parserRealSource10.errors.txt | 1380 var tokenInfo = lookupToken(this.tokenId); 1381 if (tokenInfo != undefined) { 1382 if ((tokenInfo.unopNodeType != NodeType.None) || 1385 (tokenInfo.binopNodeType != NodeType.None)) {
|
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/ |
D | parserRealSource10.ts | 353 var tokenInfo = lookupToken(this.tokenId); 354 if (tokenInfo != undefined) { 355 if ((tokenInfo.unopNodeType != NodeType.None) || 356 (tokenInfo.binopNodeType != NodeType.None)) {
|