Lines Matching defs:fqn
10800 /// @param fqn the fully qualified name of the type to consider.
10809 find_next_delim_in_cplus_type(const string& fqn,
10816 for (; i < fqn.size(); ++i)
10818 if (fqn[i] == '<')
10820 else if (fqn[i] == '>')
10822 else if (i + 1 < fqn.size()
10824 && fqn[i] == ':'
10825 && fqn[i+1] == ':')
10837 /// @param fqn the fully qualified name to decompose.
10841 fqn_to_components(const string& fqn,
10844 string::size_type fqn_size = fqn.size(), comp_begin = 0, comp_end = fqn_size;
10847 if (!find_next_delim_in_cplus_type(fqn, comp_begin, comp_end))
10850 string comp = fqn.substr(comp_begin, comp_end - comp_begin);
11009 /// @param fqn the fully qualified name of the class type node to look
11017 lookup_class_type(const string& fqn, const translation_unit& tu)
11020 interned_string s = env.intern(fqn);
11066 /// @param fqn the fully qualified name of the type to lookup.
11072 lookup_union_type(const string& fqn, const translation_unit& tu)
11075 interned_string s = env.intern(fqn);
11417 /// @param fqn the fully qualified name of the type to lookup.
11423 lookup_type(const interned_string& fqn,
11427 ((result = lookup_typedef_type(fqn, tu))
11428 || (result = lookup_class_type(fqn, tu))
11429 || (result = lookup_union_type(fqn, tu))
11430 || (result = lookup_enum_type(fqn, tu))
11431 || (result = lookup_qualified_type(fqn, tu))
11432 || (result = lookup_pointer_type(fqn, tu))
11433 || (result = lookup_reference_type(fqn, tu))
11434 || (result = lookup_array_type(fqn, tu))
11435 || (result = lookup_function_type(fqn, tu))
11436 || (result = lookup_basic_type(fqn, tu)));
11444 /// @param fqn the fully qualified name of the type to lookup.
11450 lookup_type(const string& fqn, const translation_unit& tu)
11453 interned_string ifqn = env.intern(fqn);
11459 /// @param fqn the components of the fully qualified name of the node
11484 /// @param fqn the fully qualified name of the type to lookup.
11490 lookup_type_in_scope(const string& fqn,
11494 fqn_to_components(fqn, comps);
11500 /// @param fqn the fuly qualified name of the @var_decl to lookup.
11507 lookup_var_decl_in_scope(const string& fqn,
11511 fqn_to_components(fqn, comps);
11575 /// @param fqn the components of the fully qualified name of the node
11584 lookup_node_in_scope(const list<string>& fqn,
11592 for (list<string>::const_iterator c = fqn.begin(); c != fqn.end(); ++c)
11595 it_is_last = iterator_is_last(fqn, c);
11777 /// maps is thus much faster. @param fqn the components of the fully
11808 /// @param fqn the components of the fully qualified name of the node
11816 lookup_node_in_translation_unit(const list<string>& fqn,
11818 {return lookup_node_in_scope<NodeKind>(fqn, tu.get_global_scope());}
11825 /// @param fqn the components of the fully qualified name of the node
11832 lookup_type_through_scopes(const list<string>& fqn,
11834 {return is_type(lookup_node_in_translation_unit<type_base>(fqn, tu));}
11844 /// @param fqn the components of the fully qualified name of the class
11852 lookup_class_type_through_scopes(const list<string>& fqn,
11854 {return is_class_type(lookup_node_in_translation_unit<class_decl>(fqn, tu));}
11859 /// @param fqn the components of the fully qualified name of the basic
11885 /// @param fqn the components of the fully qualified name of the union
11911 /// @param fqn the components of the fully qualified name of the enum