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

« back to all changes in this revision

Viewing changes to Puma/src/parser/ccparser/CCInstantiation.h

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2009-09-18 10:46:03 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090918104603-fjfrjm7cze5w2kz5
Tags: 1.0pre4~svn.20090918-1
* New snapshot
* include patch from "Michael Bienia" <geser@ubuntu.com> to fix FTBFS
  with g++-4.4. Thanks! (Closes: #546175)

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
class CTypeInfo;
35
35
class CConstant;
36
36
class CStructure;
 
37
class CT_Program;
37
38
class CT_ExprList;
38
39
class CObjectInfo;
39
40
class CT_SimpleName;
56
57
  InstantiationCandidate  *base_candidate;
57
58
 
58
59
public:
59
 
  CCInstantiation (ErrorSink &, bool = true);
 
60
  CCInstantiation (ErrorSink &, bool = true); 
60
61
  ~CCInstantiation ();
61
62
 
62
63
  CObjectInfo *instantiate (CTree *, CObjectInfo *, bool = true, CStructure * = 0, bool inst_immediately = false);
64
65
  bool instantiate (CTemplateInstance *pseudo_instance, CStructure* scope);
65
66
 
66
67
  CObjectInfo *ObjectInfo ();
 
68
  CStructure *InstanceScope ();
67
69
  CObjectInfo *Instance () const;
68
70
  CStructure *Scope () const;
69
71
  void addArgument (CTree *);
98
100
  void copyTree (CUnit &, CTree *, CTree *, const char *, bool make_const = false);
99
101
  void replaceName (CUnit &, CT_SimpleName *, Token *end_token);
100
102
  void extendTemplateName (CUnit &, CT_TemplateName *);
101
 
  void fillUnit (CUnit &);
 
103
  void addDeclarations(CT_Program* p, CTree* decls);
102
104
  CStructure *makeScope ();
103
 
  CT_SimpleName *findPrivateName (CTree *) const;
104
 
  CT_SimpleName *findName (CTree *) const;
105
 
  void listParameters (CUnit &, CTemplateInfo *);
106
105
 
107
106
  bool maxInstDepthReached ();
108
107
};
118
117
 { return First ().ObjectInfo (); }
119
118
inline CTemplateInfo *CCInstantiation::TemplateInfo ()
120
119
 { return First ().TemplateInfo (); }
 
120
inline CStructure *CCInstantiation::InstanceScope ()
 
121
 { return First ().InstanceScope (); }
121
122
inline CTree *CCInstantiation::PointOfInstantiation ()
122
123
 { return First ().PointOfInstantiation (); }
123
124