Home
last modified time | relevance | path

Searched refs:nextToken (Results 1 – 25 of 84) sorted by relevance

1234

/third_party/typescript/src/services/
DpreProcess.ts23 function nextToken() {
67 token = nextToken();
69 token = nextToken();
89 token = nextToken();
91 token = nextToken();
115 token = nextToken();
120 token = nextToken();
122 token = nextToken();
136 token = nextToken();
145 token = nextToken();
[all …]
/third_party/typescript_eslint/packages/eslint-plugin/src/rules/
Dcomma-spacing.ts109 nextToken: TSESTree.Token | TSESTree.Comment | null,
132 if (nextToken && isClosingParenToken(nextToken)) {
136 if (!spaceAfter && nextToken && nextToken.type === AST_TOKEN_TYPES.Line) {
141 nextToken &&
142 isTokenOnSameLine(commaToken, nextToken) &&
143 spaceAfter !== sourceCode.isSpaceBetweenTokens(commaToken, nextToken)
155 [commaToken.range[1], nextToken.range[0]],
174 const nextToken = tokensAndComments[i + 1]; constant
181 isCommaToken(nextToken) || ignoredTokens.has(token)
183 : nextToken,
Dtype-annotation-spacing.ts167 const nextToken = typeAnnotation; constant
168 const punctuatorTokenEnd = sourceCode.getTokenBefore(nextToken)!;
195 const nextDelta = nextToken.range[0] - punctuatorTokenEnd.range[1];
218 nextToken.range[0],
Dmethod-signature-style.ts171 const nextToken = sourceCode.getTokenAfter(lastToken); constant
172 if (nextToken) {
175 [lastToken.range[1], nextToken.range[0]],
Dreturn-await.ts137 const nextToken = sourceCode.getTokenAfter(awaitToken, { constant
140 if (nextToken) {
141 endAt = nextToken.range[0];
/third_party/flutter/skia/src/sksl/
DSkSLParser.cpp186 Token Parser::nextToken() { in nextToken() function in SkSL::Parser
202 fPushback = this->nextToken(); in peek()
211 Token next = this->nextToken(); in checkNext()
223 Token next = this->nextToken(); in expect()
288 this->nextToken(); in section()
409 this->nextToken(); in declaration()
724 Token t = this->nextToken(); in layoutCType()
780 Token t = this->nextToken(); in layout()
933 this->nextToken(); in modifiers()
937 this->nextToken(); in modifiers()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dnumber_affixutils.cpp167 tag = nextToken(tag, affixPattern, status); in unescape()
191 tag = nextToken(tag, affixPattern, status); in unescapedCodePointCount()
211 tag = nextToken(tag, affixPattern, status); in containsType()
226 tag = nextToken(tag, affixPattern, status); in hasCurrencySymbols()
243 tag = nextToken(tag, affixPattern, status); in replaceType()
259 tag = nextToken(tag, affixPattern, status); in containsOnlySymbolsAndIgnorables()
275 tag = nextToken(tag, affixPattern, status); in iterateWithConsumer()
282 AffixTag AffixUtils::nextToken(AffixTag tag, const UnicodeString &patternString, UErrorCode &status… in nextToken() function in AffixUtils
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_affixutils.cpp164 tag = nextToken(tag, affixPattern, status); in unescape()
188 tag = nextToken(tag, affixPattern, status); in unescapedCodePointCount()
208 tag = nextToken(tag, affixPattern, status); in containsType()
223 tag = nextToken(tag, affixPattern, status); in hasCurrencySymbols()
240 tag = nextToken(tag, affixPattern, status); in replaceType()
256 tag = nextToken(tag, affixPattern, status); in containsOnlySymbolsAndIgnorables()
272 tag = nextToken(tag, affixPattern, status); in iterateWithConsumer()
279 AffixTag AffixUtils::nextToken(AffixTag tag, const UnicodeString &patternString, UErrorCode &status… in nextToken() function in AffixUtils
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DAffixUtils.java327 tag = nextToken(tag, affixPattern); in unescape()
362 tag = nextToken(tag, affixPattern); in unescapedCount()
394 tag = nextToken(tag, affixPattern); in containsType()
414 tag = nextToken(tag, affixPattern); in hasCurrencySymbols()
440 tag = nextToken(tag, affixPattern); in replaceType()
461 tag = nextToken(tag, affixPattern); in containsOnlySymbolsAndIgnorables()
477 tag = nextToken(tag, affixPattern); in iterateWithConsumer()
495 private static long nextToken(long tag, CharSequence patternString) { in nextToken() method in AffixUtils
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumber_affixutils.cpp165 tag = nextToken(tag, affixPattern, status); in unescape()
185 tag = nextToken(tag, affixPattern, status); in unescapedCodePointCount()
205 tag = nextToken(tag, affixPattern, status); in containsType()
220 tag = nextToken(tag, affixPattern, status); in hasCurrencySymbols()
237 tag = nextToken(tag, affixPattern, status); in replaceType()
253 tag = nextToken(tag, affixPattern, status); in containsOnlySymbolsAndIgnorables()
269 tag = nextToken(tag, affixPattern, status); in iterateWithConsumer()
276 AffixTag AffixUtils::nextToken(AffixTag tag, const UnicodeString &patternString, UErrorCode &status… in nextToken() function in AffixUtils
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DAffixUtils.java319 tag = nextToken(tag, affixPattern); in unescape()
354 tag = nextToken(tag, affixPattern); in unescapedCount()
386 tag = nextToken(tag, affixPattern); in containsType()
406 tag = nextToken(tag, affixPattern); in hasCurrencySymbols()
432 tag = nextToken(tag, affixPattern); in replaceType()
453 tag = nextToken(tag, affixPattern); in containsOnlySymbolsAndIgnorables()
469 tag = nextToken(tag, affixPattern); in iterateWithConsumer()
487 private static long nextToken(long tag, CharSequence patternString) { in nextToken() method in AffixUtils
/third_party/icu/icu4c/source/i18n/
Dnumber_affixutils.cpp164 tag = nextToken(tag, affixPattern, status); in unescape()
188 tag = nextToken(tag, affixPattern, status); in unescapedCodePointCount()
208 tag = nextToken(tag, affixPattern, status); in containsType()
223 tag = nextToken(tag, affixPattern, status); in hasCurrencySymbols()
240 tag = nextToken(tag, affixPattern, status); in replaceType()
256 tag = nextToken(tag, affixPattern, status); in containsOnlySymbolsAndIgnorables()
272 tag = nextToken(tag, affixPattern, status); in iterateWithConsumer()
279 AffixTag AffixUtils::nextToken(AffixTag tag, const UnicodeString &patternString, UErrorCode &status… in nextToken() function in AffixUtils
/third_party/skia/src/sksl/
DSkSLDSLParser.cpp125 Token DSLParser::nextToken() { in nextToken() function in SkSL::DSLParser
152 fPushback = this->nextToken(); in peek()
161 Token next = this->nextToken(); in checkNext()
173 Token next = this->nextToken(); in expect()
262 this->nextToken(); in declarations()
314 this->nextToken(); in declaration()
327 this->nextToken(); in declaration()
361 this->nextToken(); in functionDeclarationEnd()
524 Token nextToken = this->peek(); in varDeclarationsOrExpressionStatement() local
525 if (nextToken.fKind == Token::Kind::TK_CONST) { in varDeclarationsOrExpressionStatement()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DStringTokenizer.java312 public String nextToken() in nextToken() method in StringTokenizer
397 public String nextToken(String delim)
404 return nextToken(m_delimiters_);
421 public String nextToken(UnicodeSet delim)
430 return nextToken();
460 return nextToken();
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DStringTokenizer.java306 public String nextToken() in nextToken() method in StringTokenizer
390 public String nextToken(String delim)
397 return nextToken(m_delimiters_);
413 public String nextToken(UnicodeSet delim)
422 return nextToken();
450 return nextToken();
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DStringTokenizerTest.java317 assertEquals("[" + String.valueOf(n++) + "]", jt.nextToken(), it.nextToken()); in TestNoCoalesce()
324 assertEquals("sur1", it.nextToken(), "Even"); in TestNoCoalesce()
325 assertEquals("sur2", it.nextToken(), "\ud800\udc00"); in TestNoCoalesce()
326 assertEquals("sur3", it.nextToken(), " "); in TestNoCoalesce()
327 assertEquals("sur4", it.nextToken(), "works."); in TestNoCoalesce()
328 assertEquals("sur5", it.nextToken(), "\n"); in TestNoCoalesce()
329 assertEquals("sur6", it.nextToken(), "\n"); in TestNoCoalesce()
454 if (!st.nextToken(delimiter[j]).equals(expected[j][i])) { in TestNextNewDelimiters()
468 if (!st.nextToken(delimiter1[i % delimiter1.length]).equals( in TestNextNewDelimiters()
489 String tok = tzr.nextToken(); in TestBug4423()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DStringTokenizerTest.java314 assertEquals("[" + String.valueOf(n++) + "]", jt.nextToken(), it.nextToken()); in TestNoCoalesce()
321 assertEquals("sur1", it.nextToken(), "Even"); in TestNoCoalesce()
322 assertEquals("sur2", it.nextToken(), "\ud800\udc00"); in TestNoCoalesce()
323 assertEquals("sur3", it.nextToken(), " "); in TestNoCoalesce()
324 assertEquals("sur4", it.nextToken(), "works."); in TestNoCoalesce()
325 assertEquals("sur5", it.nextToken(), "\n"); in TestNoCoalesce()
326 assertEquals("sur6", it.nextToken(), "\n"); in TestNoCoalesce()
451 if (!st.nextToken(delimiter[j]).equals(expected[j][i])) { in TestNextNewDelimiters()
465 if (!st.nextToken(delimiter1[i % delimiter1.length]).equals( in TestNextNewDelimiters()
486 String tok = tzr.nextToken(); in TestBug4423()
[all …]
/third_party/typescript/tests/baselines/reference/
Dparserindenter.types121 …public GetIndentationEdits(token: TokenSpan, nextToken: TokenSpan, node: ParseNode, sameLineIndent…
122 >GetIndentationEdits : (token: any, nextToken: any, node: any, sameLineIndent: boolean) => any
124 >nextToken : any
137 …"], " + "t2=[" + (nextToken == null ? "null" : (nextToken.Span.startPosition() …
143 …"], " + "t2=[" + (nextToken == null ? "null" : (nextToken.Span.startPosition() …
144 …"], " + "t2=[" + (nextToken == null ? "null" : (nextToken.Span.startPosition() …
145 …"], " + "t2=[" + (nextToken == null ? "null" : (nextToken.Span.startPosition() …
171 …"t2=[" + (nextToken == null ? "null" : (nextToken.Span.startPosition() + "," + nextToken.Span.endP…
173 >(nextToken == null ? "null" : (nextToken.Span.startPosition() + "," + nextToken.Span.endPosition()…
174 >nextToken == null ? "null" : (nextToken.Span.startPosition() + "," + nextToken.Span.endPosition())…
[all …]
Dparserindenter.js48 …public GetIndentationEdits(token: TokenSpan, nextToken: TokenSpan, node: ParseNode, sameLineIndent…
52 …"t2=[" + (nextToken == null ? "null" : (nextToken.Span.startPosition() + "," + nextToken.Span.endP…
56 var result = this.GetIndentationEditsWorker(token, nextToken, node, sameLineIndent);
68 …public GetIndentationEditsWorker(token: TokenSpan, nextToken: TokenSpan, node: ParseNode, sameLine…
111 …if (token.Token == AuthorTokenKind.atkIdentifier && nextToken != null && nextToken.Token == Author…
779 Indenter.prototype.GetIndentationEdits = function (token, nextToken, node, sameLineIndent) { argument
783 …"t2=[" + (nextToken == null ? "null" : (nextToken.Span.startPosition() + "," + nextToken.Span.endP…
786 var result = this.GetIndentationEditsWorker(token, nextToken, node, sameLineIndent);
795 … Indenter.prototype.GetIndentationEditsWorker = function (token, nextToken, node, sameLineIndent) { argument
831 …if (token.Token == AuthorTokenKind.atkIdentifier && nextToken != null && nextToken.Token == Author…
/third_party/typescript/src/compiler/
Dparser.ts869 nextToken();
881 nextToken();
900 …if (lookAhead(() => nextToken() === SyntaxKind.NumericLiteral && nextToken() !== SyntaxKind.ColonT…
909 if (lookAhead(() => nextToken() !== SyntaxKind.ColonToken)) {
1030 nextToken();
1109 nextToken();
1116 nextToken();
1480 nextToken();
1484 function nextToken(): SyntaxKind {
1612 nextToken();
[all …]
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/RealWorld/
Dparserindenter.ts47 …public GetIndentationEdits(token: TokenSpan, nextToken: TokenSpan, node: ParseNode, sameLineIndent…
51 …"t2=[" + (nextToken == null ? "null" : (nextToken.Span.startPosition() + "," + nextToken.Span.endP…
55 var result = this.GetIndentationEditsWorker(token, nextToken, node, sameLineIndent);
67 …public GetIndentationEditsWorker(token: TokenSpan, nextToken: TokenSpan, node: ParseNode, sameLine…
110 …if (token.Token == AuthorTokenKind.atkIdentifier && nextToken != null && nextToken.Token == Author…
/third_party/ejdb/src/bindings/ejdb2_jni/src/main/java/com/softmotions/ejdb2/
DJSON.java417 byte c = nextToken(); in readObject()
419 c = nextToken(); in readObject()
423 if (nextToken() != ':') { in readObject()
427 while (nextToken() == ',') { in readObject()
429 if (nextToken() != ':') { in readObject()
449 byte c = nextToken(); in readArray()
451 c = nextToken(); in readArray()
455 while (nextToken() == ',') { in readArray()
469 byte c = nextToken(); in readBoolean()
550 byte c = nextToken(); in readString()
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dtokiter.cpp43 if (!nextToken(token, ec)) { in next()
67 UBool TokenIterator::nextToken(UnicodeString& token, UErrorCode& ec) { in nextToken() function in TokenIterator
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/data/
DTokenIterator.java72 pos = nextToken(pos); in next()
111 private int nextToken(int position) { in nextToken() method in TokenIterator
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/data/
DTokenIterator.java74 pos = nextToken(pos); in next()
113 private int nextToken(int position) { in nextToken() method in TokenIterator

1234