Puma Reference Manual Puma::InstantiationBuilder Class Reference



Puma::InstantiationBuilder Class Reference

#include <InstantiationBuilder.h>

Inheritance diagram for Puma::InstantiationBuilder:
Inheritance graph

Public Member Functions

 InstantiationBuilder ()
 
- Public Member Functions inherited from Puma::CCBuilder
 CCBuilder ()
 
virtual CTree * namespace_name ()
 
virtual CTree * prim_expr ()
 
virtual CTree * id_expr ()
 
virtual CTree * unqual_id ()
 
virtual CTree * qual_id ()
 
virtual CTree * nested_name_spec ()
 
virtual CTree * nested_name_spec1 ()
 
virtual CTree * class_or_ns_name ()
 
virtual CTree * postfix_expr (CTree *=(CTree *) 0)
 
virtual CTree * postfix_expr2 ()
 
virtual CTree * construct_expr ()
 
virtual CTree * pseudo_dtor_name ()
 
virtual CTree * type_trait_expr ()
 
virtual CTree * new_expr ()
 
virtual CTree * new_placement ()
 
virtual CTree * direct_new_declarator ()
 
virtual CTree * direct_new_declarator1 ()
 
virtual CTree * new_init ()
 
virtual CTree * delete_expr ()
 
virtual CTree * pm_expr ()
 
virtual CTree * condition ()
 
virtual CTree * decl_stmt ()
 
virtual CTree * decl ()
 
virtual CTree * simple_type_spec ()
 
virtual CTree * elaborated_type_spec ()
 
virtual CTree * linkage_spec ()
 
virtual CTree * namespace_def ()
 
virtual CTree * named_ns_def ()
 
virtual CTree * orig_namespace_def ()
 
virtual CTree * orig_namespace_def1 ()
 
virtual CTree * namespace_body ()
 
virtual CTree * ns_alias_def ()
 
virtual CTree * qual_ns_spec ()
 
virtual CTree * using_decl ()
 
virtual CTree * using_directive ()
 
virtual CTree * declarator ()
 
virtual CTree * declarator_id ()
 
virtual CTree * param_init ()
 
virtual CTree * class_head ()
 
virtual CTree * class_head1 ()
 
virtual CTree * class_spec ()
 
virtual CTree * member_decl ()
 
virtual CTree * member_decl1 ()
 
virtual CTree * access_decl ()
 
virtual CTree * member_declarator ()
 
virtual CTree * pure_spec ()
 
virtual CTree * const_init ()
 
virtual CTree * base_clause ()
 
virtual CTree * base_spec_list ()
 
virtual CTree * base_spec ()
 
virtual CTree * access_spec ()
 
virtual CTree * conv_fct_id ()
 
virtual CTree * ctor_init ()
 
virtual CTree * mem_init_list ()
 
virtual CTree * mem_init ()
 
virtual CTree * mem_init_id ()
 
virtual CTree * oper_fct_id ()
 
virtual CTree * template_decl ()
 
virtual CTree * template_param_list ()
 
virtual CTree * template_param ()
 
virtual CTree * type_param ()
 
virtual CTree * non_type_param (CTree *=(CTree *) 0)
 
virtual CTree * template_id ()
 
virtual CTree * template_arg_list ()
 
virtual CTree * template_arg ()
 
virtual CTree * template_type_arg ()
 
virtual CTree * template_non_type_arg ()
 
virtual CTree * template_template_arg ()
 
virtual CTree * explicit_instantiation ()
 
virtual CTree * explicit_specialization ()
 
virtual CTree * try_block ()
 
virtual CTree * fct_try_block ()
 
virtual CTree * handler_seq ()
 
virtual CTree * handler ()
 
virtual CTree * exception_decl ()
 
virtual CTree * throw_expr ()
 
virtual CTree * exception_spec ()
 
virtual CTree * type_id_list ()
 
- Public Member Functions inherited from Puma::CBuilder
 CBuilder ()
 
virtual CTree * simple_name ()
 
virtual CTree * literal ()
 
virtual CTree * cmpd_str ()
 
virtual CTree * str_literal ()
 
virtual CTree * trans_unit ()
 
virtual CTree * cmpd_literal ()
 
virtual CTree * postfix_expr ()
 
virtual CTree * postfix_expr1 ()
 
virtual CTree * expr_list ()
 
virtual CTree * unary_expr ()
 
virtual CTree * unary_expr1 ()
 
virtual CTree * cast_expr ()
 
virtual CTree * cast_expr1 ()
 
virtual CTree * cast_expr2 ()
 
virtual CTree * offsetof_expr ()
 
virtual CTree * memb_designator ()
 
virtual CTree * mul_expr ()
 
virtual CTree * add_expr ()
 
virtual CTree * shift_expr ()
 
virtual CTree * rel_expr ()
 
virtual CTree * equ_expr ()
 
virtual CTree * and_expr ()
 
virtual CTree * excl_or_expr ()
 
virtual CTree * incl_or_expr ()
 
virtual CTree * log_and_expr ()
 
virtual CTree * log_or_expr ()
 
virtual CTree * cond_expr ()
 
virtual CTree * ass_expr ()
 
virtual CTree * ass_expr1 ()
 
virtual CTree * expr ()
 
virtual CTree * const_expr ()
 
virtual CTree * stmt ()
 
virtual CTree * label_stmt ()
 
virtual CTree * expr_stmt ()
 
virtual CTree * cmpd_stmt ()
 
virtual CTree * stmt_seq ()
 
virtual CTree * select_stmt ()
 
virtual CTree * sub_stmt ()
 
virtual CTree * condition (CTree *=(CTree *) 0)
 
virtual CTree * iter_stmt ()
 
virtual CTree * for_init_stmt ()
 
virtual CTree * jump_stmt ()
 
virtual CTree * decl_seq ()
 
virtual CTree * block_decl ()
 
virtual CTree * simple_decl ()
 
virtual CTree * decl_spec ()
 
virtual CTree * misc_spec ()
 
virtual CTree * decl_spec_seq ()
 
virtual CTree * decl_spec_seq1 ()
 
virtual CTree * storage_class_spec ()
 
virtual CTree * fct_spec ()
 
virtual CTree * type_spec ()
 
virtual CTree * type_name ()
 
virtual CTree * enum_key ()
 
virtual CTree * enum_spec ()
 
virtual CTree * enum_spec1 ()
 
virtual CTree * enumerator_list ()
 
virtual CTree * enumerator_def ()
 
virtual CTree * enumerator ()
 
virtual CTree * asm_def ()
 
virtual CTree * init_declarator_list ()
 
virtual CTree * init_declarator ()
 
virtual CTree * init_declarator1 ()
 
virtual CTree * direct_declarator ()
 
virtual CTree * direct_declarator1 ()
 
virtual CTree * identifier_list ()
 
virtual CTree * array_delim ()
 
virtual CTree * ptr_operator ()
 
virtual CTree * cv_qual_seq ()
 
virtual CTree * cv_qual ()
 
virtual CTree * type_id ()
 
virtual CTree * abst_declarator ()
 
virtual CTree * direct_abst_declarator ()
 
virtual CTree * direct_abst_declarator1 ()
 
virtual CTree * param_decl_clause ()
 
virtual CTree * param_decl_list ()
 
virtual CTree * param_decl ()
 
virtual CTree * param_decl1 ()
 
virtual CTree * fct_def ()
 
virtual CTree * arg_decl_seq ()
 
virtual CTree * fct_body ()
 
virtual CTree * init ()
 
virtual CTree * init_clause ()
 
virtual CTree * init_list ()
 
virtual CTree * init_list_item ()
 
virtual CTree * designation ()
 
virtual CTree * designator ()
 
virtual CTree * class_key ()
 
virtual CTree * member_spec ()
 
virtual CTree * member_declarator_list ()
 
- Public Member Functions inherited from Puma::Builder
virtual void destroyNode (CTree *node)
 Destroy the given syntax tree node. More...
 
void errors (ErrorSink &e)
 Print the collected error messages on the given error output stream. More...
 
ErrorSink & err () const
 Get the collected errors. More...
 
void save_state ()
 Save the current state. More...
 
void forget_state ()
 Discard the saved state. More...
 
void restore_state ()
 Restore the saved state. More...
 
CTree * token (Token *t)
 Create a new CT_Token object for the given token. More...
 
CTree * error ()
 Create a new CT_Error object. More...
 
int nodes () const
 Get the current number of nodes on the builder stack. More...
 
CTree * get_node (int n=0) const
 Get the n-th node from the builder stack. More...
 
void setTokenCounter (unsigned long v)
 Reset the token counter. More...
 
unsigned long getTokenCounter () const
 Get the current token count. More...
 
- Public Member Functions inherited from Puma::PtrStack< CTree >
 PtrStack (long=8192, long=8192)
 
virtual ~PtrStack ()
 
void Push (const CTree *)
 
void Pop ()
 
CTree * Top () const
 
long Length () const
 
CTree * Get (long) const
 
void New ()
 
void Forget ()
 
void Reject ()
 
void Destroy ()
 
long Stacks () const
 
void Reset ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Puma::Builder
static void destroy (CTree *tree, bool recursive=true)
 Destroy the given syntax tree recursively. More...
 
- Protected Member Functions inherited from Puma::CCBuilder
void cleanup (CTree *tree)
 
void Delete ()
 Destroy the top tree node of the builder stack. More...
 
- Protected Member Functions inherited from Puma::CBuilder
CTree * lr_bin_expr ()
 
CTree * prim_ds ()
 
- Protected Member Functions inherited from Puma::Builder
 Builder ()
 Constructor. More...
 
CTree * container () const
 Put all nodes on the builder stack into a Container object. More...
 
CTree * list (CT_List *l) const
 Add all nodes on the builder stack to the given list node. More...
 
CTree * copy_list (CT_List *l, Container *c) const
 Add all nodes of the given container to the given list node. More...
 
- Protected Member Functions inherited from Puma::PtrStack< CTree >
virtual void Remove ()
 
- Protected Attributes inherited from Puma::Builder
ErrorCollector ec
 The error collector object. More...
 
- Static Protected Attributes inherited from Puma::Builder
static unsigned long int token_counter
 Counter for the created CT_Token object. More...
 

Constructor & Destructor Documentation

Puma::InstantiationBuilder::InstantiationBuilder ( )
inline



Puma Reference Manual. Created on Fri Aug 28 2015.