CppParser
|
Represents all variants of #if preprocessors. More...
#include <cppast.h>
Public Types | |
enum | CondType { kIf , kIfDef , kIfNDef , kElse , kElIf , kEndIf } |
Public Member Functions | |
CppHashIf (CondType condType, std::string cond=std::string()) | |
void | accept (CppVisitorBase *v) override |
![]() | |
CppObj (CppObjType type, CppAccessType accessType) | |
CppCompound * | owner () |
void | owner (CppCompound *o) |
virtual void | accept (CppVisitorBase *v)=0 |
virtual | ~CppObj () |
Public Attributes | |
CondType | condType_ |
std::string | cond_ |
![]() | |
CppObjType | objType_ |
CppAccessType | accessType_ |
All objects do not need this. More... | |
Static Public Attributes | |
static constexpr CppObjType | kObjectType = CppObjType::kHashIf |
Represents all variants of #if preprocessors.
It includes #if, #ifdef, #ifndef. It also includes #else, #elif, and #endif.
enum CppHashIf::CondType |
|
inline |
|
inlineoverridevirtual |
|
staticconstexpr |