sa_statements.cc File Reference

SS statements creation called from parser.y. More...

#include <lestes/std/list.hh>
#include <lestes/std/source_location.hh>
#include <lestes/lang/cplus/sem/declaration_broadcasting.hh>
#include <lestes/lang/cplus/sem/sa_statements.g.hh>
#include <lestes/lang/cplus/sem/sa_context.g.hh>
#include <lestes/lang/cplus/sem/sa_decl_seq_compound_pair_creator.g.hh>
#include <lestes/lang/cplus/sem/sa_declaration_specifiers.g.hh>
#include <lestes/lang/cplus/sem/sa_deconstruct_spse.g.hh>
#include <lestes/lang/cplus/sem/as_expr.g.hh>
#include <lestes/lang/cplus/sem/as_decl.g.hh>
#include <lestes/lang/cplus/sem/as_other.g.hh>
#include <lestes/lang/cplus/sem/as_statements.g.hh>
#include <lestes/lang/cplus/sem/or_or.g.hh>
#include <lestes/lang/cplus/sem/or_ics.g.hh>
#include <lestes/lang/cplus/sem/ss_statement.g.hh>
#include <lestes/lang/cplus/sem/ss_declaration.g.hh>
#include <lestes/lang/cplus/sem/ss_decl_name.g.hh>
#include <lestes/lang/cplus/sem/ss_literal_info.g.hh>
#include <lestes/lang/cplus/sem/ss_type.g.hh>
#include <lestes/lang/cplus/sem/ss_type_builtin.g.hh>
#include <lestes/lang/cplus/sem/ss_misc.g.hh>
#include <lestes/lang/cplus/syn/token.hh>
#include <lestes/lang/cplus/syn/manager.hh>
#include <lestes/lang/cplus/sem/sa_loggers.hh>
#include <lestes/lang/cplus/sem/visitor.v.g.hh>
#include <lestes/msg/logger.hh>
#include <lestes/msg/logger_util.hh>
#include <lestes/lang/cplus/sem/sa_statements.m.hh>
#include <cstdlib>

Include dependency graph for sa_statements.cc:


Namespaces

namespace  lestes
namespace  lestes::lang
namespace  lestes::lang::cplus
namespace  lestes::lang::cplus::sem

Defines

#define current_context   sa_context_manager::instance()->current()
#define current_ss   current_context->ss_get()
#define current_as   current_context->as_get()
#define current_sa   current_context->sa_get()
#define current_decl_seq   current_ss->scope_get()
#define current_compound   current_decl_seq->compound_stmt_get()
#define current_statements   current_compound->statements_get()
#define current_psp   current_compound->destructor_sp_get()->psp_get()
#define current_nsp   current_compound->destructor_sp_get()
#define DISAMB   if (::lestes::lang::cplus::syn::manager::in_disambiguation()) return
#define ALPHABETASPS(loc)

Typedefs

typedef ::lestes::std::list<
srp< ss_sp > > 
lestes::lang::cplus::sem::sp_list
typedef ::lestes::std::list<
srp< ss_label > > 
lestes::lang::cplus::sem::label_list
typedef ::lestes::std::list<
srp< ss_expression > > 
lestes::lang::cplus::sem::expr_list
typedef ::lestes::std::list<
srp< ss_statement > > 
lestes::lang::cplus::sem::stmt_list
typedef ::lestes::std::list<
srp< ss_declaration > > 
lestes::lang::cplus::sem::decl_list
typedef ::lestes::std::source_location lestes::lang::cplus::sem::location

Detailed Description

SS statements creation called from parser.y.

Author:
egg

Define Documentation

#define ALPHABETASPS ( loc   ) 

Value:

ptr<ss_sp> alpha = ss_sp::create(loc,current_psp,NULL,0);\
        ptr<ss_sp> beta = ss_sp::create(loc,alpha,current_nsp,0);\
        alpha->nsp_set(beta);\
        current_psp->nsp_set(alpha);\
        current_nsp->psp_set(beta);\
        ptr<sp_list> sps = sp_list::create();\
        sps->push_back(alpha);\
        sps->push_back(beta);

#define current_as   current_context->as_get()

#define current_compound   current_decl_seq->compound_stmt_get()

#define current_context   sa_context_manager::instance()->current()

#define current_decl_seq   current_ss->scope_get()

#define current_nsp   current_compound->destructor_sp_get()

#define current_psp   current_compound->destructor_sp_get()->psp_get()

#define current_sa   current_context->sa_get()

#define current_ss   current_context->ss_get()

#define current_statements   current_compound->statements_get()

#define DISAMB   if (::lestes::lang::cplus::syn::manager::in_disambiguation()) return


Generated on Mon Feb 12 18:34:24 2007 for lestes by doxygen 1.5.1-20070107