Changeset 461046f for src/AST/Node.cpp


Ignore:
Timestamp:
May 22, 2019, 1:00:28 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, cleanup-dtors, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr
Children:
3f840e3
Parents:
ca8704f
Message:

Started implementing the print visitor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Node.cpp

    rca8704f r461046f  
    2626#include "Type.hpp"
    2727#include "TypeSubstitution.hpp"
     28
     29#include "Print.hpp"
    2830
    2931template< typename node_t, enum ast::Node::ref_type ref_t >
     
    4749
    4850std::ostream & ast::operator<< ( std::ostream & out, const ast::Node * node ) {
    49         (void)node;
    50         #warning unimplemented
    51         assertf(false, "Unimplemented");
     51        print(out, node);
    5252        return out;
    5353}
Note: See TracChangeset for help on using the changeset viewer.