CBMC
cpp_parse_tree.h
Go to the documentation of this file.
1
/*******************************************************************\
2
3
Module: C++ Parser
4
5
Author: Daniel Kroening, kroening@cs.cmu.edu
6
7
\*******************************************************************/
8
11
12
#ifndef CPROVER_CPP_CPP_PARSE_TREE_H
13
#define CPROVER_CPP_CPP_PARSE_TREE_H
14
15
#include "
cpp_item.h
"
16
17
#include <list>
18
19
class
cpp_parse_treet
20
{
21
public
:
22
// the (top-level) declarations/definitions
23
24
typedef
std::list<cpp_itemt>
itemst
;
25
itemst
items
;
26
27
void
swap
(
cpp_parse_treet
&cpp_parse_tree);
28
void
clear
();
29
};
30
31
class
uninitialized_typet
:
public
typet
32
{
33
public
:
34
uninitialized_typet
() :
typet
(static_cast<const
typet
&>(
get_nil_irep
()))
35
{
36
}
37
};
38
39
#endif
// CPROVER_CPP_CPP_PARSE_TREE_H
cpp_parse_treet
Definition:
cpp_parse_tree.h:20
cpp_parse_treet::items
itemst items
Definition:
cpp_parse_tree.h:25
cpp_parse_treet::swap
void swap(cpp_parse_treet &cpp_parse_tree)
Definition:
cpp_parse_tree.cpp:14
cpp_parse_treet::clear
void clear()
Definition:
cpp_parse_tree.cpp:19
cpp_parse_treet::itemst
std::list< cpp_itemt > itemst
Definition:
cpp_parse_tree.h:24
typet
The type of an expression, extends irept.
Definition:
type.h:29
uninitialized_typet
Definition:
cpp_parse_tree.h:32
uninitialized_typet::uninitialized_typet
uninitialized_typet()
Definition:
cpp_parse_tree.h:34
cpp_item.h
C++ Language Type Checking.
get_nil_irep
const irept & get_nil_irep()
Definition:
irep.cpp:19
src
cpp
cpp_parse_tree.h
Generated by
1.9.1