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

Method VisitLiteralArray

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

Source from the content-addressed store, hash-verified

369
370
371void cDumpASTVisitor::VisitLiteralArray(cASTLiteralArray& node)
372{
373 indent();
374 if (node.IsMatrix()) cout << "$";
375 cout << "{" << endl;
376 m_depth++;
377
378 node.GetValues()->Accept(*this);
379
380 m_depth--;
381 indent();
382 cout << "}" << endl;
383}
384
385
386void cDumpASTVisitor::VisitLiteralDict(cASTLiteralDict& node)

Callers 1

AcceptMethod · 0.45

Calls 3

IsMatrixMethod · 0.80
AcceptMethod · 0.80
GetValuesMethod · 0.45

Tested by

no test coverage detected