CBMC
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
designator.cpp
Go to the documentation of this file.
1/*******************************************************************\
2
3Module: ANSI-C Language Type Checking
4
5Author: Daniel Kroening, kroening@kroening.com
6
7\*******************************************************************/
8
11
12#include "designator.h"
13
14#include <ostream>
15
16void designatort::print(std::ostream &out) const
17{
18 for(index_listt::const_iterator it=index_list.begin();
19 it!=index_list.end();
20 ++it)
21 {
22 if(it!=index_list.begin())
23 out << ", ";
24 out << it->type.id() << " " << it->index << "/" << it->size;
25 }
26}
void print(std::ostream &out) const
index_listt index_list
Definition designator.h:60
ANSI-C Language Type Checking.