mrdocs::getParents

Return the parents of the specified symbol

Synopsis

Declared in <mrdocs/Corpus.hpp>

std::vector<SymbolID>
getParents(
    Corpus const& C,
    Symbol const& I);

Description

The parents are returned in order from the root to the immediate parent.

Return Value

A vector of SymbolIDs representing the parents of I.

Parameters

Name

Description

C

The corpus containing the symbol.

I

The symbol to get the parents of.

Created with MrDocs