clang::mrdocs::doc::visit

Visit a node.

Synopsis

Declared in <mrdocs/Metadata/Javadoc.hpp>
template<
    class NodeTy,
    class Fn,
    class... Args>
requires std::derived_from<NodeTy, Node>
decltype(auto)
visit(
    NodeTy& node,
    Fn&& fn,
    Args...&&... args);


Return Value

The result of calling the function.

Parameters

Name Description
node The node to visit.
fn The function to call for each node.
args Additional arguments to pass to the function.

Created with MrDocs