#include <template.h>
Collaboration diagram for Template_thing:
Public Methods | |
Template_thing () | |
void | add_args_from_ptree (Ptree *list, Abstract_scope *scope) |
void | add_type_arg (std::string name) |
int | get_num_args () const |
std::string | get_type_arg (int i) const |
void | set_tree (Ptree *tree) |
Ptree * | get_tree () const |
Private Attributes | |
std::vector< std::string > | arg_names |
Ptree * | tree |
|
Definition at line 12 of file template.cc. |
|
Definition at line 19 of file template.cc. References add_type_arg(), Ptree::Car(), Ptree::Cdr(), compile_error(), Ptree::Eq(), Ptree::IsLeaf(), Ptree::Second(), and Ptree::ToString(). Referenced by visit_template(). |
|
Definition at line 37 of file template.cc. References arg_names. Referenced by add_args_from_ptree(). |
|
Definition at line 45 of file template.cc. References arg_names. Referenced by Template_defn_scope::Template_defn_scope(). |
|
Definition at line 70 of file template.cc. References tree. Referenced by Template_class_symbol::get_specialisation(). |
|
Definition at line 53 of file template.cc. References arg_names. Referenced by Template_defn_scope::Template_defn_scope(). |
|
Definition at line 62 of file template.cc. Referenced by Template_visitor::declare_class(), and Template_visitor::declare_name(). |
|
Definition at line 24 of file template.h. Referenced by add_type_arg(), get_num_args(), and get_type_arg(). |
|
Definition at line 25 of file template.h. Referenced by get_tree(). |