source: src/SynTree/BaseSyntaxNode.cc @ dbc2c2c

new-envwith_gc
Last change on this file since dbc2c2c was dbc2c2c, checked in by Aaron Moss <a3moss@…>, 6 years ago

Fix previous commit

  • Property mode set to 100644
File size: 739 bytes
Line 
1//
2// Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo
3//
4// The contents of this file are covered under the licence agreement in the
5// file "LICENCE" distributed with Cforall.
6//
7// BaseSyntaxNode.cc --
8//
9// Author           : Aaron B. Moss
10// Created On       : Thr Mar 22 14:10:00 2018
11// Last Modified By : Aaron B. Moss
12// Last Modified On : Thr Mar 22 14:10:00 2018
13// Update Count     : 1
14//
15
16#include "BaseSyntaxNode.h"
17
18#include <iostream>
19
20std::ostream & operator<<( std::ostream & out, const BaseSyntaxNode * node ) {
21        if ( node ) {
22                node->print( out );
23        } else {
24                out << "nullptr";
25        }
26        return out;
27}
28
29// Local Variables: //
30// tab-width: 4 //
31// mode: c++ //
32// compile-command: "make install" //
33// End: //
Note: See TracBrowser for help on using the repository browser.