CppParser
|
#include <cppast.h>
Public Member Functions | |
CppFunction (CppAccessType accessType, std::string name, CppVarType *retType, CppParamVector *params, std::uint32_t attr) | |
void | accept (CppVisitorBase *v) override |
![]() | |
bool | hasParams () |
CppParamVector * | params () |
![]() | |
std::uint32_t | attr () |
void | addAttr (std::uint32_t _attr) |
bool | hasAttr (std::uint32_t _attr) |
std::string & | decor1 () |
void | decor1 (std::string _decor) |
std::string & | decor2 () |
void | decor2 (std::string _decor) |
CppTemplateParamList * | templateParamList () |
void | templateParamList (CppTemplateParamList *templParamList) |
![]() | |
CppFuncThrowSpec * | throwSpec () |
void | throwSpec (CppFuncThrowSpec *_throwSpec) |
CppCompound * | defn () |
void | defn (CppCompound *_defn) |
![]() | |
CppObj (CppObjType type, CppAccessType accessType) | |
CppCompound * | owner () |
void | owner (CppCompound *o) |
virtual void | accept (CppVisitorBase *v)=0 |
virtual | ~CppObj () |
Static Public Member Functions | |
static unsigned | findMainFunctionFromMembers (const CppObjPtrArray &members) |
Public Attributes | |
CppVarTypePtr | retType_ |
![]() | |
std::string | name_ |
![]() | |
CppObjType | objType_ |
CppAccessType | accessType_ |
All objects do not need this. More... | |
Static Public Attributes | |
static constexpr CppObjType | kObjectType = CppObjType::kFunction |
Protected Member Functions | |
CppFunction (CppObjType type, CppAccessType accessType, std::string name, CppVarType *retType, CppParamVector *params, std::uint32_t attr) | |
![]() | |
CppFuncCtorBase (CppObjType type, CppAccessType accessType, std::string name, CppParamVector *params, std::uint32_t attr) | |
![]() | |
CppFunctionBase (CppObjType type, CppAccessType accessType, std::string name, std::uint32_t attr) | |
![]() | |
CppFuncLikeBase (CppObjType type, CppAccessType accessType) | |
Additional Inherited Members | |
![]() | |
CppParamVectorPtr | params_ |
|
inline |
|
inlineprotected |
|
inlineoverridevirtual |
Implements CppObj.
Reimplemented in CppFunctionPointer.
Definition at line 1317 of file cppast.h.
|
inlinestatic |
|
staticconstexpr |
CppVarTypePtr CppFunction::retType_ |