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

Method processThis

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

Source from the content-addressed store, hash-verified

677 }
678
679 processThis(
680 context: NativeCompilerContext,
681 builder: INativeCompilerBlockBuilder,
682 node: ts.Node,
683 ): NativeCompilerBuilderVariableID {
684 // the name 'this' is registered by buildFunction()
685 const valueDelegate = this.resolveValueDelegate(context, builder, 'this', node);
686 return valueDelegate.getValue().variable;
687 }
688
689 processNullKeyword(builder: INativeCompilerBlockBuilder, node: ts.Node): NativeCompilerBuilderVariableID {
690 return builder.buildNull();

Callers 5

doProcessCallMethod · 0.95
processExpressionMethod · 0.95

Calls 2

resolveValueDelegateMethod · 0.95
getValueMethod · 0.65

Tested by

no test coverage detected