MCPcopy Index your code
hub / github.com/nodejs/node / build

Function build

test/fixtures/snapshot/typescript.js:103950–103969  ·  view source on GitHub ↗

* Builds the generator function body.

()

Source from the content-addressed store, hash-verified

103948 * Builds the generator function body.
103949 */
103950 function build() {
103951 blockIndex = 0;
103952 labelNumber = 0;
103953 labelNumbers = undefined;
103954 lastOperationWasAbrupt = false;
103955 lastOperationWasCompletion = false;
103956 clauses = undefined;
103957 statements = undefined;
103958 exceptionBlockStack = undefined;
103959 currentExceptionBlock = undefined;
103960 withBlockStack = undefined;
103961 var buildResult = buildStatements();
103962 return emitHelpers().createGeneratorHelper(ts.setEmitFlags(factory.createFunctionExpression(
103963 /*modifiers*/ undefined,
103964 /*asteriskToken*/ undefined,
103965 /*name*/ undefined,
103966 /*typeParameters*/ undefined, [factory.createParameterDeclaration(/*decorators*/ undefined, /*modifiers*/ undefined, /*dotDotDotToken*/ undefined, state)],
103967 /*type*/ undefined, factory.createBlock(buildResult,
103968 /*multiLine*/ buildResult.length > 0)), 524288 /* EmitFlags.ReuseTempVariableScope */));
103969 }
103970 /**
103971 * Builds the statements for the generator function body.
103972 */

Calls 13

buildStatementsFunction · 0.85
emitHelpersFunction · 0.85
getBuildOrderForFunction · 0.85
setupInitialBuildFunction · 0.85
disableCacheFunction · 0.85
reportErrorSummaryFunction · 0.85
startWatchingFunction · 0.85
isCircularBuildOrderFunction · 0.85
toResolvedConfigFilePathFunction · 0.85
someMethod · 0.80
hasMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…