CBMC
designator.cpp
Go to the documentation of this file.
1
/*******************************************************************\
2
3
Module: ANSI-C Language Type Checking
4
5
Author: Daniel Kroening, kroening@kroening.com
6
7
\*******************************************************************/
8
11
12
#include "
designator.h
"
13
14
#include <ostream>
15
16
void
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
}
designatort::print
void print(std::ostream &out) const
Definition:
designator.cpp:16
designatort::index_list
index_listt index_list
Definition:
designator.h:60
designator.h
ANSI-C Language Type Checking.
src
ansi-c
designator.cpp
Generated by
1.9.1