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

Method VisitObjectReference

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

Source from the content-addressed store, hash-verified

436}
437
438void cDumpASTVisitor::VisitObjectReference(cASTObjectReference& node)
439{
440 m_depth++;
441 node.GetObject()->Accept(*this);
442 m_depth--;
443
444 indent();
445 cout << mapToken(AS_TOKEN_DOT) << endl;
446
447 m_depth++;
448 indent();
449 cout << node.GetName() << endl;
450 m_depth--;
451}
452
453void cDumpASTVisitor::VisitVariableReference(cASTVariableReference& node)
454{

Callers 1

AcceptMethod · 0.45

Calls 3

AcceptMethod · 0.80
GetObjectMethod · 0.45
GetNameMethod · 0.45

Tested by

no test coverage detected