mrdocs::Attribute
A C++ attribute attached to a symbol.
Description
This base class stores the information common to every attribute: the kind, the spelling name, and the raw balanced‐token sequence written between the parentheses. Derived classes add the evaluated arguments for the attributes that take them.
Data Members
Name |
Description |
The kind of attribute. |
|
The attribute name as it appears in the standard form. |
|
The attribute arguments as a balanced‐token sequence. |
Protected Member Functions
Name |
Description |
|
Construct with a concrete attribute kind. |
|
Virtual destructor for polymorphic base. |
Derived Classes
Name |
Description |
CRTP base that ties a concrete attribute to a fixed AttributeKind. |
Created with MrDocs