MCPcopy Create free account
hub / github.com/Snapchat/Valdi / processBlock

Method processBlock

compiler/companion/src/native/NativeCompiler.ts:2153–2157  ·  view source on GitHub ↗
(context: NativeCompilerContext, builder: INativeCompilerBlockBuilder, node: ts.Block)

Source from the content-addressed store, hash-verified

2151 }
2152
2153 processBlock(context: NativeCompilerContext, builder: INativeCompilerBlockBuilder, node: ts.Block) {
2154 const subBuilder = builder.buildSubBuilder(true);
2155
2156 this.processStatementsInBlock(context, subBuilder, node.statements);
2157 }
2158
2159 processSourceFile(initFunctionName: string, node: ts.SourceFile) {
2160 const functionBuilder = this.moduleBuilder.buildFunction(initFunctionName, undefined, true, false, false);

Callers 4

processFunctionBodyMethod · 0.95
processGeneratorMethod · 0.95
processTryStatementMethod · 0.95
processStatementMethod · 0.95

Calls 2

buildSubBuilderMethod · 0.65

Tested by

no test coverage detected