ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
callingcontext.h
Go to the documentation of this file.
1 
2 
3 #ifndef BDWY_CALLINGCONTEXT_H
4 #define BDWY_CALLINGCONTEXT_H
5 
6 
8 {
9 private:
10 
13  procLocation * _where;
14 
17  operandNode * _call;
18 
21  propertyAnalyzer * _property_analyzer;
22 
26 
29  procedureInfo * _caller;
30 
34 
35 public:
36 
39  callingContext(procLocation * where,
40  operandNode * call,
41  propertyAnalyzer * property_analyzer,
43  procedureInfo * caller,
45 
48  inline procLocation * where() const { return _where; }
49 
52  inline operandNode * call() const { return _call; }
53 
56  inline propertyAnalyzer * property_analyzer() const { return _property_analyzer; }
57 
61  { return _procedure_annotations; }
62 
65  inline procedureInfo * caller() const { return _caller; }
66 
69  inline Annotations * annotations() const { return _annotations; }
70 
76  stmtLocation * def_use_location();
77 
85  stmtLocation * dealloc_location();
86 
92  void set_current_def_and_use(pointerValue & ptr);
93 
94 };
95 
96 #endif /* BDWY_CALLINGCONTEXT_H */
97