MCPcopy Create free account
hub / github.com/csyonghe/Spire / PrintImportInstr

Method PrintImportInstr

Source/SpireCore/CLikeCodeGen.cpp:603–611  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

601 }
602
603 void CLikeCodeGen::PrintImportInstr(CodeGenContext & ctx, ImportInstruction * importInstr)
604 {
605 currentImportInstr = importInstr;
606
607 ctx.DefineVariable(importInstr);
608 GenerateCode(ctx, importInstr->ImportOperator.Ptr());
609
610 currentImportInstr = nullptr;
611 }
612
613 void CLikeCodeGen::PrintImportInstrExpr(CodeGenContext & ctx, ImportInstruction * importInstr)
614 {

Callers

nothing calls this directly

Calls 2

DefineVariableMethod · 0.80
PtrMethod · 0.45

Tested by

no test coverage detected