CppParser
|
#include <cppvisitorprinter.h>
Public Member Functions | |
~CppVisitorPrinter () override=default | |
bool | visit (CppVarType *p) override |
The visitor pattern's visit methods for the given types. More... | |
bool | visit (CppCompound *p) override |
bool | visit (CppUnRecogPrePro *p) override |
bool | visit (CppUndef *p) override |
bool | visit (CppUsingDecl *p) override |
bool | visit (CppUsingNamespaceDecl *p) override |
bool | visit (CppVar *p) override |
bool | visit (CppVarList *p) override |
bool | visit (CppCommonBlock< CppObjType::kIfBlock > *p) override |
bool | visit (CppCommonBlock< CppObjType::kWhileBlock > *p) override |
bool | visit (CppCommonBlock< CppObjType::kDoWhileBlock > *p) override |
bool | visit (CppAsmBlock *p) override |
bool | visit (CppBlob *p) override |
bool | visit (CppDefine *p) override |
bool | visit (CppDocComment *p) override |
bool | visit (CppEnum *p) override |
bool | visit (CppExpr *p) override |
bool | visit (CppForBlock *p) override |
bool | visit (CppLambda *p) override |
bool | visit (CppDestructor *p) override |
bool | visit (CppConstructor *p) override |
bool | visit (CppFunction *p) override |
bool | visit (CppFunctionPointer *p) override |
bool | visit (CppTypeConverter *p) override |
bool | visit (CppFwdClsDecl *p) override |
bool | visit (CppHashError *p) override |
bool | visit (CppHashIf *p) override |
bool | visit (CppHashWarning *p) override |
bool | visit (CppImport *p) override |
bool | visit (CppInclude *p) override |
bool | visit (CppLabel *p) override |
bool | visit (CppMacroCall *p) override |
bool | visit (CppNamespaceAlias *p) override |
bool | visit (CppPragma *p) override |
bool | visit (CppRangeForBlock *p) override |
bool | visit (CppSwitchBlock *p) override |
bool | visit (CppTryBlock *p) override |
bool | visit (CppTypedefList *p) override |
bool | visit (CppTypedefName *p) override |
![]() | |
virtual | ~CppVisitorBase ()=default |
virtual bool | visit (CppVarType *p)=0 |
The visitor pattern's visit methods for the given types. More... | |
virtual bool | visit (CppCompound *p)=0 |
virtual bool | visit (CppUnRecogPrePro *p)=0 |
virtual bool | visit (CppUndef *p)=0 |
virtual bool | visit (CppUsingDecl *p)=0 |
virtual bool | visit (CppUsingNamespaceDecl *p)=0 |
virtual bool | visit (CppVar *p)=0 |
virtual bool | visit (CppVarList *p)=0 |
virtual bool | visit (CppCommonBlock< CppObjType::kIfBlock > *p)=0 |
virtual bool | visit (CppCommonBlock< CppObjType::kWhileBlock > *p)=0 |
virtual bool | visit (CppCommonBlock< CppObjType::kDoWhileBlock > *p)=0 |
virtual bool | visit (CppAsmBlock *p)=0 |
virtual bool | visit (CppBlob *p)=0 |
virtual bool | visit (CppDefine *p)=0 |
virtual bool | visit (CppDocComment *p)=0 |
virtual bool | visit (CppEnum *p)=0 |
virtual bool | visit (CppExpr *p)=0 |
virtual bool | visit (CppForBlock *p)=0 |
virtual bool | visit (CppLambda *p)=0 |
virtual bool | visit (CppDestructor *p)=0 |
virtual bool | visit (CppConstructor *p)=0 |
virtual bool | visit (CppFunction *p)=0 |
virtual bool | visit (CppFunctionPointer *p)=0 |
virtual bool | visit (CppTypeConverter *p)=0 |
virtual bool | visit (CppFwdClsDecl *p)=0 |
virtual bool | visit (CppHashError *p)=0 |
virtual bool | visit (CppHashIf *p)=0 |
virtual bool | visit (CppHashWarning *p)=0 |
virtual bool | visit (CppImport *p)=0 |
virtual bool | visit (CppInclude *p)=0 |
virtual bool | visit (CppLabel *p)=0 |
virtual bool | visit (CppMacroCall *p)=0 |
virtual bool | visit (CppNamespaceAlias *p)=0 |
virtual bool | visit (CppPragma *p)=0 |
virtual bool | visit (CppRangeForBlock *p)=0 |
virtual bool | visit (CppSwitchBlock *p)=0 |
virtual bool | visit (CppTryBlock *p)=0 |
virtual bool | visit (CppTypedefList *p)=0 |
virtual bool | visit (CppTypedefName *p)=0 |
Static Public Member Functions | |
static std::string | astToString (CppObj *p) |
Converts the given pointer to an AST node to its equivalent string of code using CppWriter class. More... | |
Definition at line 29 of file cppvisitorprinter.h.
|
overridedefault |
|
inlinestatic |
Converts the given pointer to an AST node to its equivalent string of code using CppWriter
class.
p | A pointer to an AST tree node. |
Definition at line 39 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 103 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 108 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 98 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 88 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 93 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 53 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 148 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 113 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 143 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 118 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 123 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 128 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 133 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 153 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 158 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 168 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 173 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 178 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 183 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 188 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 193 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 198 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 138 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 203 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 208 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 213 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 218 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 223 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 228 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 163 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 233 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 238 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 63 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 58 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 68 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 73 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 78 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
Implements CppVisitorBase.
Definition at line 83 of file cppvisitorprinter.h.
|
inlineoverridevirtual |
The visitor pattern's visit
methods for the given types.
p | A pointer to the matched AST node. |
Implements CppVisitorBase.
Definition at line 48 of file cppvisitorprinter.h.