Home
last modified time | relevance | path

Searched refs:functionFlags (Results 1 – 6 of 6) sorted by relevance

/third_party/typescript/src/services/
DsuggestionDiagnostics.ts186 … const functionFlags = getFunctionFlags(arg as FunctionDeclaration | FunctionExpression); constant
187 if (functionFlags & FunctionFlags.Generator) {
/third_party/typescript/src/compiler/
Dchecker.ts27181 const functionFlags = getFunctionFlags(func); constant
27182 … if (functionFlags & FunctionFlags.Generator) { // Generator or AsyncGenerator function
27183 const isAsyncGenerator = (functionFlags & FunctionFlags.Async) !== 0;
27187 …orFunctionReturnType(IterationTypeKind.Return, contextualReturnType, (functionFlags & FunctionFlag…
27195 … if (functionFlags & FunctionFlags.Async) { // Async function or AsyncGenerator function
27219 const functionFlags = getFunctionFlags(func); constant
27222 const isAsyncGenerator = (functionFlags & FunctionFlags.Async) !== 0;
33584 const functionFlags = getFunctionFlags(func); constant
33585 const isAsync = (functionFlags & FunctionFlags.Async) !== 0;
33586 const isGenerator = (functionFlags & FunctionFlags.Generator) !== 0;
[all …]
/third_party/node/deps/acorn/acorn/dist/
Dacorn.js494 function functionFlags(async, generator) { function
1366 this.enterScope(functionFlags(node.async, node.generator));
3313 …this.enterScope(functionFlags(isAsync, node.generator) | SCOPE_SUPER | (allowDirectSuper ? SCOPE_D…
3331 this.enterScope(functionFlags(isAsync, false) | SCOPE_ARROW);
Dacorn.mjs488 function functionFlags(async, generator) { function
1360 this.enterScope(functionFlags(node.async, node.generator));
3307 …this.enterScope(functionFlags(isAsync, node.generator) | SCOPE_SUPER | (allowDirectSuper ? SCOPE_D…
3325 this.enterScope(functionFlags(isAsync, false) | SCOPE_ARROW);
/third_party/typescript/lib/
DtypingsInstaller.js75628 var functionFlags = ts.getFunctionFlags(func);
75629 … if (functionFlags & 1 /* FunctionFlags.Generator */) { // Generator or AsyncGenerator function
75630 … var isAsyncGenerator_1 = (functionFlags & 2 /* FunctionFlags.Async */) !== 0;
75634 …onReturnType(1 /* IterationTypeKind.Return */, contextualReturnType, (functionFlags & 2 /* Functio…
75641 … if (functionFlags & 2 /* FunctionFlags.Async */) { // Async function or AsyncGenerator function
75662 var functionFlags = ts.getFunctionFlags(func);
75665 var isAsyncGenerator_2 = (functionFlags & 2 /* FunctionFlags.Async */) !== 0;
81405 var functionFlags = ts.getFunctionFlags(func);
81406 var isAsync = (functionFlags & 2 /* FunctionFlags.Async */) !== 0;
81407 var isGenerator = (functionFlags & 1 /* FunctionFlags.Generator */) !== 0;
[all …]
Dtsc.js63397 var functionFlags = ts.getFunctionFlags(func);
63398 if (functionFlags & 1) {
63399 var isAsyncGenerator_1 = (functionFlags & 2) !== 0;
63403 … getIterationTypeOfGeneratorFunctionReturnType(1, contextualReturnType, (functionFlags & 2) !== 0);
63409 if (functionFlags & 2) {
63429 var functionFlags = ts.getFunctionFlags(func);
63432 var isAsyncGenerator_2 = (functionFlags & 2) !== 0;
68420 var functionFlags = ts.getFunctionFlags(func);
68421 var isAsync = (functionFlags & 2) !== 0;
68422 var isGenerator = (functionFlags & 1) !== 0;
[all …]