~ubuntu-branches/ubuntu/wily/aspectc++/wily

« back to all changes in this revision

Viewing changes to AspectC++/ThisJoinPoint.h

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2009-06-15 10:17:02 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090615101702-qsr30iptwbxylmo2
Tags: 1.0pre4~svn.20090615-1
* New upstream release.
* don't ignore errors in the postrm script
* avoid spurious creation of empty dir ./usr/sbin/
* improve short descriptions of libpuma-doc and libpuma-dev
* bump Standards-Version to 3.8.1
* bump debhelper compat level to level 7 (latest in stable)

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 
29
29
class JoinPoint;
30
30
class Binding;
 
31
#ifdef ACMODEL
 
32
class ACM_Any;
 
33
class ACM_Code;
 
34
#else
31
35
class JoinPointLoc;
32
36
class JPL_Code;
 
37
#endif 
33
38
 
34
39
namespace Puma {
35
40
  class Token;
84
89
  bool wrapper() const { return (_used & WRAPPER); }
85
90
  bool proceed() const { return (_used & PROCEED); }
86
91
  
 
92
#ifdef ACMODEL
 
93
  void gen_tjp_struct (ostream &code, ACM_Code *loc,
 
94
                       BackEndProblems &bep, int depth) const;
 
95
  void gen_tjp_init (ostream &code, ACM_Code *loc,
 
96
                     BackEndProblems &bep, int depth) const;
 
97
#else
87
98
  void gen_tjp_struct (ostream &code, JPL_Code *loc,
88
99
                       BackEndProblems &bep, int depth) const;
89
100
  void gen_tjp_init (ostream &code, JPL_Code *loc,
90
101
                     BackEndProblems &bep, int depth) const;
 
102
#endif
91
103
  void dump (ostream &os) const;
92
104
  
93
105
  bool pointer_needed () const { return (_used & PTR_NEEDED); }
101
113
  void merge (const ThisJoinPoint &from) { _used |= from._used; }
102
114
  void clear () { _used = 0; }
103
115
  
 
116
#ifdef ACMODEL
 
117
  static string gen_result_type (ACM_Code *jpl);
 
118
#else
104
119
  static string gen_result_type (JPL_Code *jpl);
 
120
#endif
105
121
};
106
122
  
107
123
#endif // __ThisJoinPoint_h__