MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / simulateLetInits

Function simulateLetInits

src/ast/ast_simulate.cpp:332–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

330 }
331
332 vector<SimNode *> simulateLetInits ( Context & context, const ExprLet * pLet ) {
333 SimulateVisitor sv(context);
334 for ( auto & var : pLet->variables ) {
335 if ( var->init ) sv.simulateExpression(var->init);
336 }
337 return sv.sv_simulateLetInits(pLet);
338 }
339 // common for move and copy
340
341 SimNode_CallBase * getCallBase ( SimNode * node ) {

Callers

nothing calls this directly

Calls 2

simulateExpressionMethod · 0.80
sv_simulateLetInitsMethod · 0.80

Tested by

no test coverage detected