ROSE
0.9.6a
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
pointerrule.h
Go to the documentation of this file.
1
2
#ifndef BDWY_POINTERRULE_H
3
#define BDWY_POINTERRULE_H
4
5
typedef
std::list< pointerRuleAnn * >
pointerrule_list
;
6
typedef
pointerrule_list::iterator
pointerrule_list_p
;
7
typedef
pointerrule_list::const_iterator
pointerrule_list_cp
;
8
9
14
class
pointerRuleAnn
:
public
Ann
15
{
16
private
:
17
22
exprAnn
*
_condition
;
23
28
bool
_is_condition_true
;
29
36
structuretree_list
*
_effects_tree
;
37
42
TREE
structure_list
_effects
;
43
44
public
:
45
50
pointerRuleAnn
(
exprAnn
*
condition
,
structuretree_list
*
effects_tree
,
int
line
);
51
54
~pointerRuleAnn
();
55
58
inline
bool
has_condition
()
const
{
return
_condition
!= 0; }
59
62
inline
exprAnn
*
condition
()
const
{
return
_condition
; }
63
66
inline
structuretree_list
*
effects_tree
()
const
{
return
_effects_tree
; }
67
72
inline
structure_list
&
effects
() {
return
_effects
; }
73
79
#ifdef __PROCLOCATION
80
void
test
(procLocation * where,
81
propertyAnalyzer * property_analyzer);
82
#endif
83
85
bool
is_condition_true
()
const
{
return
_is_condition_true
; }
86
89
void
lookup
(
procedureAnn
* procedure,
90
Annotations
* annotations);
91
92
private
:
93
// DQ (9/13/2011): This copy constructor was built because static analysis tools (made it private to force compile time error if used).
95
pointerRuleAnn
(
const
pointerRuleAnn
& X);
96
97
};
98
99
#endif
/* BDWY_POINTERRULE_H */
rose-edg4x
src
midend
programAnalysis
annotationLanguageParser
pointerrule.h
Generated on Mon May 5 2014 17:29:25 for ROSE by
1.8.4