mrdocs::FunctionSymbol
Metadata for a function or method.
Synopsis
Declared in <mrdocs/Metadata/Symbol/Function.hpp>
struct FunctionSymbol final
: SymbolCommonBase<SymbolKind::Function>
Member Functions
Name |
Description |
|
Construct a function symbol with its ID. |
Compare functions by signature, qualifiers, and metadata. |
Data Members
Name |
Description |
Collected attributes attached to the declaration. |
|
The class of function this is |
|
constexpr/consteval specifier. |
|
explicit‐specifier information. |
|
True when annotated with override. |
|
True when using a trailing return type. |
|
True when qualified const. |
|
True when this declaration is implicitly defaulted. |
|
True when this declaration is deleted. |
|
True when deleted as written (vs deduced). |
|
True when explicit object parameter syntax is used. |
|
True when explicitly defaulted with |
|
True when final‐qualified. |
|
True when marked [[noreturn]]or equivalent. |
|
True when declared [[nodiscard]]. |
|
True when the function is pure virtual. |
|
True when this is a non‐static member function. |
|
True when the function is variadic. |
|
True when declared virtual (after overrides). |
|
True when explicitly written virtual. |
|
True when qualified volatile. |
|
Exception specification for the function. |
|
Overloaded operator kind, if any. |
|
List of parameters. |
|
Reference qualifier on the member function, if any. |
|
Constrained requires‐clause if present. |
|
Info about the return type of this function. |
|
Storage class specifier. |
|
When present, this function is a template or specialization. |
Non-Member Functions
Name |
Description |
Check whether two symbols may be merged. |
|
Determine a location to use when none is explicitly chosen. |
|
Merges two Symbol objects. |
|
Merge metadata from another function symbol. |
|
Determine if one function would override the other |
Created with MrDocs