Info for preprocessor macros.
Declared in <mrdocs/Metadata/Symbol/Macro.hpp>
struct MacroSymbol final
: SymbolCommonBase<SymbolKind::Macro>
Covers both object-like and function-like macros.
| Name | Description |
|---|---|
SymbolCommonBase<SymbolKind::Macro> | Base class for providing variant discriminator functions. |
| Name | Description |
|---|---|
MacroSymbol [constructor] | Create a macro symbol bound to an ID. |
| Name |
|---|
isConcept |
isEnum |
isEnumConstant |
isFunction |
isGuide |
isMacro |
isNamespace |
isNamespaceAlias |
isOverloads |
isRecord |
isTypedef |
isUsing |
isVariable |
| Name | Description |
|---|---|
IsFunctionLike | Whether this is a function-like macro. |
IsVariadic | Whether the macro takes a variadic argument list. |
Parameters | The names of the macro's parameters. |
| Name | Description |
|---|---|
kind_id | The variant discriminator constant of the most-derived class. |
| Name | Description |
|---|---|
buildSymbolDom | Build the DOM value for a single symbol. |
canMerge | Check whether two symbols may be merged. |
getPrimaryLocation | Determine a location to use when none is explicitly chosen. |