Home
last modified time | relevance | path

Searched refs:lastToken (Results 1 – 21 of 21) sorted by relevance

/third_party/parse5/scripts/generate-parser-feedback-test/
Dindex.ts48 const lastToken = tokens[tokens.length - 1]; constant
50 if (lastToken?.[0] === 'Character') {
51 lastToken[1] += token[1];
/third_party/node/deps/cjs-module-lexer/
Dlexer.js219 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]) ||
224lastToken === 125/*}*/ && (isExpressionTerminator(openTokenPosStack[openTokenDepth]) || openClassP…
225 lastToken === 47/*/*/ && lastSlashWasDivision ||
227 !lastToken) {
/third_party/typescript/src/services/
DpreProcess.ts16 let lastToken: SyntaxKind;
24 lastToken = currentToken;
84 if (lastToken === SyntaxKind.DotToken) {
DsmartSelection.ts241 const lastToken = last(children); constant
242 …const separateLastToken = separateTrailingSemicolon && lastToken.kind === SyntaxKind.SemicolonToke…
249 return separateLastToken ? result.concat(lastToken) : result;
Dutilities.ts2602 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/
Dkatex.js1212 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/
Dkatex.js1212 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/
Dkatex.js1212 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/
Dkatex.js1212 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/
DJsonParser.cs137 var lastToken = tokenizer.Next(); in Merge()
138 if (lastToken != JsonToken.EndDocument) in Merge()
/third_party/glslang/glslang/MachineIndependent/
DShaderLang.cpp1171 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/
Dkatex.js16706 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 …]
Dkatex.mjs16339 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/
Dparser.ts4530 const lastToken = token();
4532 …const body = (lastToken === SyntaxKind.EqualsGreaterThanToken || lastToken === SyntaxKind.OpenBrac…
/third_party/typescript/lib/
DtypescriptServices.js32144 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 …]
Dtsserverlibrary.js32144 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 …]
Dtsserver.js31950 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 …]
Dtypescript.js32144 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 …]
Dtsc.js25764 var lastToken = token();
25766 var body = (lastToken === 38 || lastToken === 18)
DtypingsInstaller.js31939 var lastToken = token();
31941 …var body = (lastToken === 38 /* EqualsGreaterThanToken */ || lastToken === 18 /* OpenBraceToken */)
/third_party/sqlite/src/
Dsqlite3.c172205 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 ){