CBMC
ansi_c_parse_tree.cpp
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module:
4 
5 Author: Daniel Kroening, kroening@kroening.com
6 
7 \*******************************************************************/
8 
9 #include "ansi_c_parse_tree.h"
10 
11 #include <ostream>
12 
14 {
15  ansi_c_parse_tree.items.swap(items);
16 }
17 
19 {
20  items.clear();
21 }
22 
23 void ansi_c_parse_treet::output(std::ostream &out) const
24 {
25  for(const auto &item : items)
26  {
27  item.output(out);
28  out << "\n";
29  }
30 }
void swap(ansi_c_parse_treet &other)
void output(std::ostream &out) const