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

Method VisitExpressionBinary

avida-core/source/script/cDumpASTVisitor.cc:282–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280
281
282void cDumpASTVisitor::VisitExpressionBinary(cASTExpressionBinary& node)
283{
284 m_depth++;
285 node.GetLeft()->Accept(*this);
286 m_depth--;
287
288 indent();
289 cout << mapToken(node.GetOperator());
290 cout << endl;
291
292 m_depth++;
293 node.GetRight()->Accept(*this);
294 m_depth--;
295}
296
297
298void cDumpASTVisitor::VisitExpressionUnary(cASTExpressionUnary& node)

Callers 1

AcceptMethod · 0.45

Calls 4

AcceptMethod · 0.80
GetLeftMethod · 0.80
GetRightMethod · 0.80
GetOperatorMethod · 0.45

Tested by

no test coverage detected