CppParser
|
Some blocks have common structure like if, while, and do-while. More...
#include <cppast.h>
Public Member Functions | |
CppCommonBlock (CppObj *cond, CppObj *body) | |
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 | |
CppObjPtr | cond_ |
CppObjPtr | body_ |
![]() | |
CppObjType | objType_ |
CppAccessType | accessType_ |
All objects do not need this. More... | |
Static Public Attributes | |
static constexpr CppObjType | kObjectType = _ObjType |
Some blocks have common structure like if, while, and do-while.
They all contain a body and an expression of condition.
|
inline |
|
inlineoverridevirtual |
CppObjPtr CppCommonBlock< _ObjType >::body_ |
CppObjPtr CppCommonBlock< _ObjType >::cond_ |
|
staticconstexpr |