Skip to content

Read a doxygen doc of a specific function #90

Description

@tdegeus

Problem description

Thanks for the module!!

Consider

namespace name {

/**
 * @brief My first function.
 * @param a This is a parameter.
 */
int foo(int a);

/**
 * This is a class
 */
class Bar
{
public:
    /**
     * @brief Some counter
     * @return integer
     */
    int count();
};

} // namespace name

What is the API to read the doxygen doc of name::foo, name::Bar, or name::Bar::count?

In trying to get the first I already got lost. This is up to where I have gotten:

data = parse_string(txt)
for i in data.namespace.namespaces["name"].functions:
    print(i.name)

whereby I get stuck as I don't know how to easily match the name.

Reproducible example code

-

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions