| Puma Reference Manual | Puma::CBuilder Class Reference |
#include <CBuilder.h>

Public Member Functions | |
| CBuilder () | |
| virtual CTree * | simple_name () |
| virtual CTree * | literal () |
| virtual CTree * | cmpd_str () |
| virtual CTree * | str_literal () |
| virtual CTree * | trans_unit () |
| virtual CTree * | prim_expr () |
| 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 * | decl () |
| 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 * | simple_type_spec () |
| virtual CTree * | type_name () |
| virtual CTree * | elaborated_type_spec () |
| 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 * | declarator () |
| 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 * | declarator_id () |
| 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_spec () |
| virtual CTree * | class_head () |
| virtual CTree * | class_key () |
| virtual CTree * | member_spec () |
| virtual CTree * | member_decl () |
| virtual CTree * | member_declarator_list () |
| virtual CTree * | member_declarator () |
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 () |
Protected Member Functions | |
| CTree * | lr_bin_expr () |
| CTree * | prim_ds () |
Protected Member Functions inherited from Puma::Builder | |
| Builder () | |
| Constructor. More... | |
| void | Delete () |
| Destroy the top tree node of the builder stack. 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 () |
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 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... | |
|
inline |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Reimplemented in Puma::CCBuilder.
|
virtual |
|
virtual |
Reimplemented in Puma::CCBuilder.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Reimplemented in Puma::CCBuilder.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Reimplemented in Puma::CCBuilder.
|
virtual |
Reimplemented in Puma::CCBuilder.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Reimplemented in Puma::CCBuilder.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
virtual |
|
virtual |
Reimplemented in Puma::CCBuilder.
|
virtual |
Reimplemented in Puma::CCBuilder.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
virtual |
Reimplemented in Puma::CCBuilder.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Reimplemented in Puma::CCBuilder.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |