#include <string>
#include <vector>
Include dependency graph for type_rep.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
|
Definition at line 66 of file type_rep.h. Referenced by Template_defn_scope::add_function_decl(), Namespace_scope::add_function_decl(), Class_scope::add_function_decl(), Block_scope::add_function_decl(), Function_symbol::add_signature(), Simple_declaration_reader::declare_variable(), Function_signature::Function_signature(), get_function_specifier_name(), Function_signature::merge_fspec(), parse_specifier(), and parse_specifiers(). |
|
Definition at line 301 of file type_rep.h. Referenced by Symbol_name::get_mangled_template_name(), Template_class_symbol::get_specialisation(), Template_class_symbol::get_specialisation_from_ptree(), Symbol_name::lookup_for_use(), Template_spec::matches(), parse_template_arg_list(), Template_defn_scope::Template_defn_scope(), and Template_spec::Template_spec(). |
|
Definition at line 59 of file type_rep.h. Referenced by parse_specifier(). |
|
|
Convert Function_specifier_set to string.
Definition at line 1101 of file type_rep.cc. References f_Abstract, f_Explicit, f_Inline, f_Virtual, and Function_specifier_set. Referenced by Function_signature::dump(). |
|
Get name of a Storage_class_specifier.
Definition at line 1082 of file type_rep.cc. References Storage_class_specifier. Referenced by Variable_symbol::dump(), and Function_signature::dump(). |
|
Definition at line 1133 of file type_rep.cc. References Function_type_maker::add_parameter(), and Function_type_maker::make_function_type(). Referenced by binary_addeq_predicate(), binary_inteq_predicate(), binary_multeq_predicate(), and index_predicate(). |
|
Handy helper: make an unary function type (function-taking-ARG-and-returning-RET).
Definition at line 1123 of file type_rep.cc. References Function_type_maker::add_parameter(), and Function_type_maker::make_function_type(). Referenced by Function_symbol::add_signature(), Class_symbol::finish_definition(), init_default_symbols(), unary_bitnot_predicate(), unary_delete_or_arrow_predicate(), unary_deref_predicate(), unary_minus_predicate(), unary_plus_predicate(), and Expr_annotator::visit_unary(). |
|
Attempt to parse /tree/ as a type-qualifier. Modifies /type/ accordingly. Returns true iff it actually was a type-qualifier. Definition at line 683 of file type_rep.cc. References Type::add_qualifier(), compile_error(), CONST, Type::is_qualified(), Type::q_Const, Type::q_Restrict, Type::q_Volatile, RESTRICT, VOLATILE, and Ptree::What(). Referenced by Declaration_reader::parse_declarator_get_name(), Declaration_reader::parse_declarator_internal(), and Type_reader::read_type(). |
|
Parse a type-specifier.
Definition at line 1003 of file type_rep.cc. References AUTO, compile_error(), Ptree::Eq(), EXPLICIT, EXTERN, f_Explicit, f_Inline, f_None, f_Virtual, Function_specifier, Function_specifier_set, INLINE, MUTABLE, REGISTER, s_Auto, s_Extern, s_Mutable, s_None, s_Register, s_Static, STATIC, Storage_class_specifier, VIRTUAL, and Ptree::What(). Referenced by parse_specifiers(). |
|
Parse a list of storage class/function specifiers into their representation.
Definition at line 1063 of file type_rep.cc. References Ptree::Car(), Ptree::Cdr(), compile_error(), Function_specifier_set, Ptree::IsLeaf(), parse_specifier(), Storage_class_specifier, and Ptree::ToString(). |
|
Parse a type.
type-specifier ::= simple-type-specifier | class-specifier | enum-specifier | elaborated-type-specifier | cv-qualifier Definition at line 927 of file type_rep.cc. References ctor_type(), and Type_reader::get_result(). Referenced by Expr_annotator::get_cast_type(), Symbol_name::init_name(), Declaration_reader::parse_declarator_internal(), parse_template_arg_list(), Expr_annotator::visit_cast(), Expr_annotator::visit_fstylecastexpr(), Annotator::visit_function(), Annotator::visit_name_declaration(), Expr_annotator::visit_new(), Expr_annotator::visit_sizeof(), Annotator::visit_type_declaration(), and Annotator::visit_typedef(). |
|
Definition at line 293 of file type_rep.h. |
|
Definition at line 293 of file type_rep.h. |
|
Definition at line 293 of file type_rep.h. |
|
Definition at line 293 of file type_rep.h. |
|
Definition at line 293 of file type_rep.h. |
|
Definition at line 293 of file type_rep.h. |
|
Definition at line 293 of file type_rep.h. |
|
Definition at line 293 of file type_rep.h. |
|
Definition at line 293 of file type_rep.h. |
|
Definition at line 299 of file type_rep.h. |
|
Definition at line 293 of file type_rep.h. |
|
Definition at line 293 of file type_rep.h. |
|
Definition at line 299 of file type_rep.h. |
|
Definition at line 293 of file type_rep.h. |
|
Definition at line 293 of file type_rep.h. |
|
Definition at line 293 of file type_rep.h. |
|
Definition at line 293 of file type_rep.h. |
|
Definition at line 293 of file type_rep.h. |
|
Definition at line 293 of file type_rep.h. |
|
Definition at line 293 of file type_rep.h. |