Parse cpp_type_alias and simple cpp_type's
This commit is contained in:
parent
a38641ecb1
commit
b183513166
13 changed files with 533 additions and 13 deletions
|
|
@ -14,6 +14,8 @@
|
|||
|
||||
namespace cppast
|
||||
{
|
||||
class cpp_type;
|
||||
|
||||
namespace detail
|
||||
{
|
||||
cpp_entity_id get_entity_id(const CXCursor& cur);
|
||||
|
|
@ -26,6 +28,8 @@ namespace cppast
|
|||
type_safe::object_ref<const cpp_entity_index> idx;
|
||||
};
|
||||
|
||||
std::unique_ptr<cpp_type> parse_type(const parse_context& context, const CXType& type);
|
||||
|
||||
// parse_entity() dispatches on the cursor type
|
||||
// it calls one of the other parse functions defined elsewhere
|
||||
// try_parse_XXX are not exposed entities
|
||||
|
|
@ -43,6 +47,9 @@ namespace cppast
|
|||
std::unique_ptr<cpp_entity> parse_cpp_using_declaration(const parse_context& context,
|
||||
const CXCursor& cur);
|
||||
|
||||
std::unique_ptr<cpp_entity> parse_cpp_type_alias(const parse_context& context,
|
||||
const CXCursor& cur);
|
||||
|
||||
std::unique_ptr<cpp_entity> parse_entity(const parse_context& context, const CXCursor& cur);
|
||||
}
|
||||
} // namespace cppast::detail
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue