/third_party/parse5/scripts/generate-parser-feedback-test/ |
D | index.ts | 48 const lastToken = tokens[tokens.length - 1]; constant 50 if (lastToken?.[0] === 'Character') { 51 lastToken[1] += token[1];
|
/third_party/node/deps/cjs-module-lexer/ |
D | lexer.js | 219 const lastToken = source.charCodeAt(lastTokenPos); 220 if (isExpressionPunctuator(lastToken) && 221 …!(lastToken === 46/*.*/ && (source.charCodeAt(lastTokenPos - 1) >= 48/*0*/ && source.charCodeAt(la… 222 …!(lastToken === 43/*+*/ && source.charCodeAt(lastTokenPos - 1) === 43/*+*/) && !(lastToken === 45/… 223 lastToken === 41/*)*/ && isParenKeyword(openTokenPosStack[openTokenDepth]) || 224 …lastToken === 125/*}*/ && (isExpressionTerminator(openTokenPosStack[openTokenDepth]) || openClassP… 225 lastToken === 47/*/*/ && lastSlashWasDivision || 227 !lastToken) {
|
/third_party/typescript/src/services/ |
D | preProcess.ts | 16 let lastToken: SyntaxKind; 24 lastToken = currentToken; 84 if (lastToken === SyntaxKind.DotToken) {
|
D | smartSelection.ts | 241 const lastToken = last(children); constant 242 …const separateLastToken = separateTrailingSemicolon && lastToken.kind === SyntaxKind.SemicolonToke… 249 return separateLastToken ? result.concat(lastToken) : result;
|
D | utilities.ts | 2602 const lastToken = node.getLastToken(sourceFile); constant 2603 if (lastToken && lastToken.kind === SyntaxKind.SemicolonToken) { 2608 if (lastToken && lastToken.kind === SyntaxKind.CommaToken) { 2661 const lastToken = node.getLastToken(sourceFile); constant 2662 if (lastToken && lastToken.kind === SyntaxKind.SemicolonToken) {
|
/third_party/openGLES/specs/katex/ |
D | katex.js | 1212 var lastToken = firstToken; 1219 lastToken = this.nextToken; 1220 str += lastToken.text; 1225 return firstToken.range(lastToken, str); 1240 var lastToken = firstToken; 1244 lastToken = this.nextToken; property 1245 str += lastToken.text; 1254 return firstToken.range(lastToken, str); 1322 var lastToken = this.nextToken; 1330 firstToken, lastToken), [all …]
|
/third_party/openGLES/specs/es/3.2/katex/ |
D | katex.js | 1212 var lastToken = firstToken; 1219 lastToken = this.nextToken; 1220 str += lastToken.text; 1225 return firstToken.range(lastToken, str); 1240 var lastToken = firstToken; 1244 lastToken = this.nextToken; property 1245 str += lastToken.text; 1254 return firstToken.range(lastToken, str); 1322 var lastToken = this.nextToken; 1330 firstToken, lastToken), [all …]
|
/third_party/openGLES/specs/gl/katex/ |
D | katex.js | 1212 var lastToken = firstToken; 1219 lastToken = this.nextToken; 1220 str += lastToken.text; 1225 return firstToken.range(lastToken, str); 1240 var lastToken = firstToken; 1244 lastToken = this.nextToken; property 1245 str += lastToken.text; 1254 return firstToken.range(lastToken, str); 1322 var lastToken = this.nextToken; 1330 firstToken, lastToken), [all …]
|
/third_party/openGLES/specs/es/katex/ |
D | katex.js | 1212 var lastToken = firstToken; 1219 lastToken = this.nextToken; 1220 str += lastToken.text; 1225 return firstToken.range(lastToken, str); 1240 var lastToken = firstToken; 1244 lastToken = this.nextToken; property 1245 str += lastToken.text; 1254 return firstToken.range(lastToken, str); 1322 var lastToken = this.nextToken; 1330 firstToken, lastToken), [all …]
|
/third_party/protobuf/csharp/src/Google.Protobuf/ |
D | JsonParser.cs | 137 var lastToken = tokenizer.Next(); in Merge() 138 if (lastToken != JsonToken.EndDocument) in Merge()
|
/third_party/glslang/glslang/MachineIndependent/ |
D | ShaderLang.cpp | 1171 int lastToken = EndOfInput; // lastToken records the last token processed. in operator ()() local 1190 if (!isNewString && !isNewLine && lastToken != EndOfInput && in operator ()() 1192 (unNeededSpaceTokens.find((char)lastToken) == std::string::npos) && in operator ()() 1196 lastToken = token; in operator ()()
|
/third_party/vk-gl-cts/external/vulkan-docs/src/katex/ |
D | katex.js | 16706 var lastToken = firstToken; 16712 …row new src_ParseError("Unexpected end of input in " + modeName, firstToken.range(lastToken, str)); 16723 lastToken = nextToken; 16724 str += lastToken.text; 16730 return firstToken.range(lastToken, str); 16743 var lastToken = firstToken; 16748 lastToken = nextToken; property 16749 str += lastToken.text; 16758 return firstToken.range(lastToken, str); 16913 var lastToken = this.fetch(); // Check that we got a matching closing brace [all …]
|
D | katex.mjs | 16339 let lastToken = firstToken; 16345 … throw new ParseError("Unexpected end of input in " + modeName, firstToken.range(lastToken, str)); 16356 lastToken = nextToken; 16357 str += lastToken.text; 16363 return firstToken.range(lastToken, str); 16376 let lastToken = firstToken; 16381 lastToken = nextToken; 16382 str += lastToken.text; 16391 return firstToken.range(lastToken, str); 16546 const lastToken = this.fetch(); // Check that we got a matching closing brace [all …]
|
/third_party/typescript/src/compiler/ |
D | parser.ts | 4530 const lastToken = token(); 4532 …const body = (lastToken === SyntaxKind.EqualsGreaterThanToken || lastToken === SyntaxKind.OpenBrac…
|
/third_party/typescript/lib/ |
D | typescriptServices.js | 32144 var lastToken = token(); 32146 …var body = (lastToken === 38 /* EqualsGreaterThanToken */ || lastToken === 18 /* OpenBraceToken */) 118264 var lastToken = node.getLastToken(sourceFile); 118265 if (lastToken && lastToken.kind === 26 /* SemicolonToken */) { 118269 if (lastToken && lastToken.kind === 27 /* CommaToken */) { 118317 var lastToken = node.getLastToken(sourceFile); 118318 if (lastToken && lastToken.kind === 26 /* SemicolonToken */) { 129759 var lastToken; 129766 lastToken = currentToken; 129818 if (lastToken === 24 /* DotToken */) { [all …]
|
D | tsserverlibrary.js | 32144 var lastToken = token(); 32146 …var body = (lastToken === 38 /* EqualsGreaterThanToken */ || lastToken === 18 /* OpenBraceToken */) 118264 var lastToken = node.getLastToken(sourceFile); 118265 if (lastToken && lastToken.kind === 26 /* SemicolonToken */) { 118269 if (lastToken && lastToken.kind === 27 /* CommaToken */) { 118317 var lastToken = node.getLastToken(sourceFile); 118318 if (lastToken && lastToken.kind === 26 /* SemicolonToken */) { 129759 var lastToken; 129766 lastToken = currentToken; 129818 if (lastToken === 24 /* DotToken */) { [all …]
|
D | tsserver.js | 31950 var lastToken = token(); 31952 …var body = (lastToken === 38 /* EqualsGreaterThanToken */ || lastToken === 18 /* OpenBraceToken */) 117695 var lastToken = node.getLastToken(sourceFile); 117696 if (lastToken && lastToken.kind === 26 /* SemicolonToken */) { 117700 if (lastToken && lastToken.kind === 27 /* CommaToken */) { 117748 var lastToken = node.getLastToken(sourceFile); 117749 if (lastToken && lastToken.kind === 26 /* SemicolonToken */) { 129190 var lastToken; 129197 lastToken = currentToken; 129249 if (lastToken === 24 /* DotToken */) { [all …]
|
D | typescript.js | 32144 var lastToken = token(); 32146 …var body = (lastToken === 38 /* EqualsGreaterThanToken */ || lastToken === 18 /* OpenBraceToken */) 118264 var lastToken = node.getLastToken(sourceFile); 118265 if (lastToken && lastToken.kind === 26 /* SemicolonToken */) { 118269 if (lastToken && lastToken.kind === 27 /* CommaToken */) { 118317 var lastToken = node.getLastToken(sourceFile); 118318 if (lastToken && lastToken.kind === 26 /* SemicolonToken */) { 129759 var lastToken; 129766 lastToken = currentToken; 129818 if (lastToken === 24 /* DotToken */) { [all …]
|
D | tsc.js | 25764 var lastToken = token(); 25766 var body = (lastToken === 38 || lastToken === 18)
|
D | typingsInstaller.js | 31939 var lastToken = token(); 31941 …var body = (lastToken === 38 /* EqualsGreaterThanToken */ || lastToken === 18 /* OpenBraceToken */)
|
/third_party/sqlite/src/ |
D | sqlite3.c | 172205 static int analyzeOverKeyword(const unsigned char *z, int lastToken){ 172206 if( lastToken==TK_RP ){ 172212 static int analyzeFilterKeyword(const unsigned char *z, int lastToken){ 172213 if( lastToken==TK_RP && getToken(&z)==TK_LP ){
|