Home
last modified time | relevance | path

Searched refs:currentToken (Results 1 – 12 of 12) sorted by relevance

/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DTextFormat.java903 private String currentToken; field in TextFormat.Tokenizer
960 return currentToken.length() == 0; in atEnd()
982 currentToken = ""; in nextToken()
986 currentToken = matcher.group(); in nextToken()
990 currentToken = String.valueOf(text.charAt(pos)); in nextToken()
1011 if (currentToken.equals(token)) { in tryConsume()
1031 if (currentToken.length() == 0) { in lookingAtInteger()
1035 final char c = currentToken.charAt(0); in lookingAtInteger()
1041 return currentToken.equals(text); in lookingAt()
1049 for (int i = 0; i < currentToken.length(); i++) { in consumeIdentifier()
[all …]
/third_party/node/lib/
Dtls.js250 let currentToken = '';
257 currentToken += StringPrototypeSubstring(altNames, offset, nextQuote);
263 currentToken += JSONParse(match[0]);
267 currentToken += StringPrototypeSubstring(altNames, offset, nextSep);
268 ArrayPrototypePush(result, currentToken);
269 currentToken = '';
272 currentToken += StringPrototypeSubstring(altNames, offset);
276 ArrayPrototypePush(result, currentToken);
/third_party/parse5/packages/parse5/lib/tokenizer/
Dindex.ts277 private currentToken: Token | null = null; property in Tokenizer
415 this.currentToken = {
427 this.currentToken = {
439 this.currentToken = {
447 this.currentToken = {
475 const token = this.currentToken as TagToken;
503 this.currentToken = null;
515 const ct = this.currentToken as TagToken;
1249 const token = this.currentToken as TagToken;
1315 const token = this.currentToken as TagToken;
[all …]
/third_party/typescript/src/services/formatting/
DformattingScanner.ts179 let currentToken = getNextToken(n, expectedScanAction);
184 currentToken,
192 currentToken = scanner.scan();
193 if (!isTrivia(currentToken)) {
199 currentToken,
208 if (currentToken === SyntaxKind.NewLineTrivia) {
DsmartIndenter.ts58 const currentToken = getTokenAtPosition(sourceFile, position); constant
79 …const isObjectLiteral = currentToken.kind === SyntaxKind.OpenBraceToken && currentToken.parent.kin…
95 …n = [SyntaxKind.FunctionExpression, SyntaxKind.ArrowFunction].indexOf(currentToken.parent.kind) !=…
/third_party/typescript/src/services/
DpreProcess.ts17 let currentToken: SyntaxKind;
24 lastToken = currentToken;
25 currentToken = scanner.scan();
26 if (currentToken === SyntaxKind.OpenBraceToken) {
29 else if (currentToken === SyntaxKind.CloseBraceToken) {
32 return currentToken;
Dcompletions.ts1938 let currentToken = getTokenAtPosition(sourceFile, position); // TODO: GH#15853
1944 const insideComment = isInComment(sourceFile, position, currentToken);
1983 const tag = getJsDocTagAtPosition(currentToken, position);
1990 currentToken = getTokenAtPosition(sourceFile, position);
1991 if (!currentToken ||
1992 (!isDeclarationName(currentToken) &&
1993 (currentToken.parent.kind !== SyntaxKind.JSDocPropertyTag ||
1994 (currentToken.parent as JSDocPropertyTag).name !== currentToken))) {
2024 let node = currentToken;
2120 if (currentToken.parent === location) {
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/asciidoctor-chunker/
Dasciidoctor-chunker.js4currentToken=null}_setStartLocation(e){let t=null;this.lastStartTagToken&&(t=Object.assign({},this… property
/third_party/typescript/src/compiler/
Dparser.ts1071 let currentToken: SyntaxKind;
1857 return currentToken;
1861 return currentToken = scanner.scan();
1871 …if (isKeyword(currentToken) && (scanner.hasUnicodeEscape() || scanner.hasExtendedUnicodeEscape()))…
1879 return currentToken = scanner.scanJsDocToken();
1883 return currentToken = scanner.reScanGreaterToken();
1887 return currentToken = scanner.reScanSlashToken();
1891 return currentToken = scanner.reScanTemplateToken(isTaggedTemplate);
1895 return currentToken = scanner.reScanTemplateHeadOrNoSubstitutionTemplate();
1899 return currentToken = scanner.reScanLessThanToken();
[all …]
/third_party/parse5/packages/parse5/lib/parser/
Dindex.ts125 private currentToken: Token | null = null; property in Parser
264 this._setEndLocation(node, this.currentToken!);
292 currentToken: TagToken,
295 this._insertElement(currentToken, NS.HTML);
918 this.currentToken = token;
1017 this.currentToken = token;
/third_party/typescript/lib/
DtypingsInstaller.js32450 var currentToken;
33120 return currentToken;
33123 return currentToken = scanner.scan();
33131 …if (ts.isKeyword(currentToken) && (scanner.hasUnicodeEscape() || scanner.hasExtendedUnicodeEscape(…
33138 return currentToken = scanner.scanJsDocToken();
33141 return currentToken = scanner.reScanGreaterToken();
33144 return currentToken = scanner.reScanSlashToken();
33147 return currentToken = scanner.reScanTemplateToken(isTaggedTemplate);
33150 return currentToken = scanner.reScanTemplateHeadOrNoSubstitutionTemplate();
33153 return currentToken = scanner.reScanLessThanToken();
[all …]
Dtsc.js26299 var currentToken;
26836 return currentToken;
26839 return currentToken = scanner.scan();
26846 …if (ts.isKeyword(currentToken) && (scanner.hasUnicodeEscape() || scanner.hasExtendedUnicodeEscape(…
26852 return currentToken = scanner.scanJsDocToken();
26855 return currentToken = scanner.reScanGreaterToken();
26858 return currentToken = scanner.reScanSlashToken();
26861 return currentToken = scanner.reScanTemplateToken(isTaggedTemplate);
26864 return currentToken = scanner.reScanTemplateHeadOrNoSubstitutionTemplate();
26867 return currentToken = scanner.reScanLessThanToken();
[all …]