Home
last modified time | relevance | path

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

/third_party/typescript/src/compiler/transformers/
Des2018.ts61 let enclosingFunctionFlags: FunctionFlags;
271 …if (enclosingFunctionFlags & FunctionFlags.Async && enclosingFunctionFlags & FunctionFlags.Generat…
284 …if (enclosingFunctionFlags & FunctionFlags.Async && enclosingFunctionFlags & FunctionFlags.Generat…
334 …if (enclosingFunctionFlags & FunctionFlags.Async && enclosingFunctionFlags & FunctionFlags.Generat…
344 if (enclosingFunctionFlags & FunctionFlags.Async) {
701 return enclosingFunctionFlags & FunctionFlags.Generator
924 enclosingFunctionFlags & FunctionFlags.Generator
927 enclosingFunctionFlags & FunctionFlags.Async
935 … enclosingFunctionFlags & FunctionFlags.Async && enclosingFunctionFlags & FunctionFlags.Generator
951 enclosingFunctionFlags & FunctionFlags.Generator
[all …]
Des2017.ts311 getFunctionFlags(node) & FunctionFlags.Async
355 getFunctionFlags(node) & FunctionFlags.Async
378 getFunctionFlags(node) & FunctionFlags.Async
400 getFunctionFlags(node) & FunctionFlags.Async
497 …(getFunctionFlags(originalMethod) & FunctionFlags.AsyncGenerator) !== FunctionFlags.AsyncGenerator;
/third_party/typescript/src/services/
DsuggestionDiagnostics.ts187 if (functionFlags & FunctionFlags.Generator) {
/third_party/typescript/src/compiler/
Dchecker.ts18020 if ((getFunctionFlags(node) & FunctionFlags.Async) === 0
27182 … if (functionFlags & FunctionFlags.Generator) { // Generator or AsyncGenerator function
27183 const isAsyncGenerator = (functionFlags & FunctionFlags.Async) !== 0;
27187 …nType(IterationTypeKind.Return, contextualReturnType, (functionFlags & FunctionFlags.Async) !== 0);
27195 … if (functionFlags & FunctionFlags.Async) { // Async function or AsyncGenerator function
27222 const isAsyncGenerator = (functionFlags & FunctionFlags.Async) !== 0;
27252 const isAsync = !!(getFunctionFlags(functionDecl) & FunctionFlags.Async);
33585 const isAsync = (functionFlags & FunctionFlags.Async) !== 0;
33586 const isGenerator = (functionFlags & FunctionFlags.Generator) !== 0;
33618 return functionFlags & FunctionFlags.Async
[all …]
Dutilities.ts3412 export const enum FunctionFlags { enum
3422 return FunctionFlags.Invalid;
3425 let flags = FunctionFlags.Normal;
3431 flags |= FunctionFlags.Generator;
3437 flags |= FunctionFlags.Async;
3443 flags |= FunctionFlags.Invalid;
/third_party/typescript/lib/
DtypingsInstaller.js17797 var FunctionFlags;
17798 (function (FunctionFlags) { argument
17799 FunctionFlags[FunctionFlags["Normal"] = 0] = "Normal";
17800 FunctionFlags[FunctionFlags["Generator"] = 1] = "Generator";
17801 FunctionFlags[FunctionFlags["Async"] = 2] = "Async";
17802 FunctionFlags[FunctionFlags["Invalid"] = 4] = "Invalid";
17803 FunctionFlags[FunctionFlags["AsyncGenerator"] = 3] = "AsyncGenerator";
17804 })(FunctionFlags = ts.FunctionFlags || (ts.FunctionFlags = {}));