|
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 |
Public Member Functions inherited from CppObj | |
| 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_ |
Public Attributes inherited from CppObj | |
| 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 |