Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

except.h File Reference

#include <exception>
#include <stdexcept>
#include <string>
#include <iosfwd>

Include dependency graph for except.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

class  Compile_error

Functions

void compile_error (const char *str)
void compile_error (std::string str)
void bogus_ptree_error (const char *str, Ptree *tree)
void bogus_ptree_error (std::string str, Ptree *tree)
void expect_ptree (Ptree *p, const char *str)
void expect_ptree (Ptree *p, char c)
void compile_warning (const char *str, Ptree *tree)
void compile_warning (std::string str, Ptree *tree)


Function Documentation

void bogus_ptree_error std::string    str,
Ptree   tree
 

Definition at line 54 of file except.cc.

References Ptree::Display2(), and printBacktrace.

Referenced by bogus_ptree_error(), Paranoid_visitor< T >::default_action(), expect_ptree(), Symbol_name::init_name(), parse_class(), Declaration_reader::parse_declarator_get_name(), Declaration_reader::parse_declarator_internal(), Expr_annotator::process_binary_operator(), Init_handler::process_initializer(), Expr_annotator::process_unary_operator(), Expr_annotator::visit_assign(), Expr_annotator::visit_leaf(), Expr_annotator::visit_pm(), Expr_annotator::visit_postfix(), Expr_annotator::visit_sizeof(), Template_visitor::visit_type_declaration(), Annotator::visit_type_declaration(), and Annotator::visit_using().

void bogus_ptree_error const char *    str,
Ptree   tree
 

void compile_error std::string    str
 

Definition at line 38 of file except.cc.

Referenced by Template_thing::add_args_from_ptree(), Class_symbol::add_base_class(), Function_declaration_reader::add_ellipsis(), Namespace_scope::add_function_decl(), Class_scope::add_function_decl(), Block_scope::add_function_decl(), Block_scope::add_function_implementation(), Function_symbol::add_signature(), Symbol_table::add_symbol(), Namespace_scope::add_variable(), Class_scope::add_variable(), Block_scope::add_variable(), check_ptr_arith(), convert_decl_to_expr(), Expr_result::convert_to_bool(), Expr_result::convert_to_fpointer(), Expr_result::convert_to_pointer(), Expr_result::convert_to_rvalue(), Template_visitor::declare_class(), Template_visitor::declare_name(), Function_declaration_reader::declare_variable(), Typedef_declaration_reader::declare_variable(), Simple_declaration_reader::declare_variable(), Expr_annotator::do_ccast(), Expr_annotator::do_const_cast(), Expr_annotator::do_dynamic_cast(), Expr_annotator::do_funcall(), Expr_annotator::do_reinterpret_cast(), Expr_annotator::do_static_cast(), Type::eat_type(), enumerate_conversion_ops(), Overload_candidate::fill_in_tree(), Expr_annotator::get_cast_expr(), Expr_annotator::get_cast_type(), get_composite_mptr_type(), get_composite_pointer_type(), Init_handler::get_default_initializer_for_type(), get_merged_cv_type(), Class_name_lookup_helper::get_result(), Template_class_symbol::get_specialisation(), Symbol_name::init_name(), Symbol_name::lookup_for_use(), Symbol_name::lookup_symbol_in_scope(), Init_handler::make_constructor_call(), make_sizeof_expr(), Implicit_conversion::make_tree(), Class_symbol::maybe_add_vbc(), Function_signature::merge_fspec(), parse_class(), Declaration_reader::parse_declarator_internal(), parse_enum(), parse_qualifier(), parse_specifier(), parse_specifiers(), parse_template_arg_list(), process_base_classes(), Expr_annotator::process_binary_operator(), Init_handler::process_brace(), Init_handler::process_initializer(), process_initializers(), Expr_annotator::process_member_access(), Expr_annotator::process_pm_expr(), Expr_annotator::process_unary_operator(), Enum_symbol::process_value(), Program_from_fd::Program_from_fd(), Type_reader::read_type(), Symbol_name::Symbol_name(), Type_reader::Type_reader(), Expr_annotator::visit_array(), Expr_annotator::visit_arrowmember(), Expr_annotator::visit_assign(), Expr_annotator::visit_brace(), Annotator::visit_case(), Expr_annotator::visit_cast(), Expr_annotator::visit_comma(), Expr_annotator::visit_cond(), Expr_annotator::visit_delete(), Annotator::visit_do(), Expr_annotator::visit_dotmember(), Annotator::visit_exprstatement(), Annotator::visit_for(), Expr_annotator::visit_funcall(), Template_visitor::visit_function(), Annotator::visit_if(), Expr_annotator::visit_infix(), Expr_annotator::visit_name(), Template_visitor::visit_name_declaration(), Annotator::visit_namespacespec(), Expr_annotator::visit_new(), Expr_annotator::visit_pm(), Expr_annotator::visit_postfix(), Annotator::visit_return(), Expr_annotator::visit_sizeof(), Annotator::visit_switch(), Expr_annotator::visit_this(), Expr_annotator::visit_throw(), Expr_annotator::visit_unary(), and Annotator::visit_while().

void compile_error const char *    str
 

void compile_warning std::string    str,
Ptree   tree
 

Definition at line 162 of file except.cc.

References print_location().

Referenced by Expr_annotator::do_funcall(), Init_handler::get_default_initializer_for_type(), Annotated_funcall_maker::make_funcall(), Implicit_conversion::make_tree(), Init_handler::process_array(), Expr_annotator::process_binary_operator(), Init_handler::process_brace(), process_initializers(), Expr_annotator::process_member_access(), Expr_annotator::visit_array(), Expr_annotator::visit_arrowmember(), Expr_annotator::visit_cast(), Template_visitor::visit_type_declaration(), and Annotator::visit_type_declaration().

void compile_warning const char *    str,
Ptree   tree
 

void expect_ptree Ptree   p,
char    c
 

Definition at line 79 of file except.cc.

References bogus_ptree_error(), and Ptree::Eq().

Referenced by Expr_annotator::add_parms_from_arglist(), convert_decl_to_expr(), Template_visitor::declare_name(), Expr_annotator::get_cast_type(), parse_class(), Declaration_reader::parse_declarator_list(), parse_enum(), parse_template_arg_list(), process_base_classes(), Init_handler::process_initializer(), process_initializers(), Enum_symbol::process_value(), Symbol_name::Symbol_name(), Expr_annotator::visit_array(), Expr_annotator::visit_arrowmember(), Annotator::visit_block(), Annotator::visit_brace(), Annotator::visit_break(), Annotator::visit_case(), Expr_annotator::visit_cast(), Expr_annotator::visit_comma(), Expr_annotator::visit_cond(), Annotator::visit_continue(), Annotator::visit_default(), Expr_annotator::visit_delete(), Annotator::visit_do(), Expr_annotator::visit_dotmember(), Annotator::visit_exprstatement(), Annotator::visit_for(), Expr_annotator::visit_fstylecastexpr(), Expr_annotator::visit_funcall(), Annotator::visit_goto(), Annotator::visit_if(), Annotator::visit_label(), Annotator::visit_linkagespec(), Annotator::visit_namespacespec(), Expr_annotator::visit_new(), Expr_annotator::visit_paren(), Annotator::visit_return(), Expr_annotator::visit_sizeof(), Annotator::visit_switch(), Annotator::visit_templatedecl(), Expr_annotator::visit_this(), Expr_annotator::visit_throw(), and Annotator::visit_while().

void expect_ptree Ptree   p,
const char *    str
 


Generated on Mon Feb 10 17:33:38 2003 for VFiasco Semantics Compiler by doxygen1.2.15