MCPcopy Create free account
hub / github.com/devosoft/avida / VisitWhileBlock

Method VisitWhileBlock

avida-core/source/script/cDirectInterpretASTVisitor.cc:286–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284
285
286void cDirectInterpretASTVisitor::VisitWhileBlock(cASTWhileBlock& node)
287{
288 node.GetCondition()->Accept(*this);
289 while (asBool(m_rtype, m_rvalue, node)) {
290 node.GetCode()->Accept(*this);
291 node.GetCondition()->Accept(*this);
292 }
293}
294
295
296

Callers

nothing calls this directly

Calls 3

AcceptMethod · 0.80
GetConditionMethod · 0.45
GetCodeMethod · 0.45

Tested by

no test coverage detected