CBMC
ansi_c_scope.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_scope.h
"
10
11
#include <ostream>
12
13
void
ansi_c_scopet::print
(std::ostream &out)
const
14
{
15
out <<
"Prefix: "
<<
prefix
<<
"\n"
;
16
17
for
(
const
auto
&name :
name_map
)
18
{
19
out <<
" ID: "
<< name.first
20
<<
" CLASS: "
<<
static_cast<
int
>
(name.second.id_class)
21
<<
"\n"
;
22
}
23
}
ansi_c_scope.h
ansi_c_scopet::print
void print(std::ostream &out) const
Definition:
ansi_c_scope.cpp:13
ansi_c_scopet::prefix
std::string prefix
Definition:
ansi_c_scope.h:47
ansi_c_scopet::name_map
name_mapt name_map
Definition:
ansi_c_scope.h:45
src
ansi-c
ansi_c_scope.cpp
Generated by
1.9.1