CppParser
|
#include "cppconst.h"
#include "cppeasyptr.h"
#include "cppvisitorbase.h"
#include "typemodifier.h"
#include "string-utils.h"
#include <cassert>
#include <cstdint>
#include <iostream>
#include <list>
#include <memory>
#include <string>
#include <utility>
#include <vector>
Go to the source code of this file.
Classes | |
struct | CppObj |
An abstract class that is used as base class of all other classes. More... | |
struct | CppBlob |
A stream of text that represents some content in a C++ program. More... | |
struct | CppDefine |
struct | CppUndef |
struct | CppInclude |
struct | CppImport |
struct | CppHashIf |
Represents all variants of #if preprocessors. More... | |
struct | CppPragma |
struct | CppHashError |
struct | CppHashWarning |
struct | CppUnRecogPrePro |
Any other C/C++ preprocessor for which there is no class defined. More... | |
struct | AttribSpecified |
A mixin class to allow objects to have attribute specifier sequence as described at https://en.cppreference.com/w/cpp/language/attributes. More... | |
struct | CppVarType |
struct | CppVarDecl |
struct | CppVar |
Class to represent C++ variable definition. More... | |
struct | CppVarDeclInList |
struct | CppVarList |
List of variables declared in a line without repeating its type, e.g. More... | |
struct | CppTypedefName |
struct | CppTypedefList |
struct | CppMacroCall |
struct | CppInheritInfo |
struct | CppTemplateParam |
Parameter types that are used to define a template class or function. More... | |
struct | CppFwdClsDecl |
struct | CppCompound |
All classes, structs, unions, and namespaces can be classified as a Compound object. More... | |
struct | CppFuncLikeBase |
struct | CppFunctionBase |
Base class of constructor, destructor, and functions. More... | |
struct | CppFuncCtorBase |
struct | CppFunction |
struct | CppLambda |
struct | CppFunctionPointer |
Function pointer type definition using typedef, e.g. More... | |
struct | CppMemInits |
Entire member initialization list. More... | |
struct | CppConstructor |
struct | CppDestructor |
struct | CppTypeConverter |
struct | CppUsingNamespaceDecl |
struct | CppUsingDecl |
struct | CppNamespaceAlias |
struct | CppDocComment |
struct | CppExprAtom |
An individual expression. More... | |
struct | CppExpr |
An expression in a C/C++ program. More... | |
struct | CppEnumItem |
struct | CppEnum |
struct | CppCommonBlock< _ObjType > |
Some blocks have common structure like if, while, and do-while. More... | |
struct | CppIfBlock |
struct | CppForBlock |
struct | CppRangeForBlock |
struct | CppCase |
struct | CppSwitchBlock |
struct | CppCatchBlock |
struct | CppTryBlock |
struct | CppAsmBlock |
struct | CppLabel |
Macros | |
#define | VISIT_COND(CALL) |
Functions | |
CppMemInits | makeEmptyCppMemInitList () |
CppMemInits | makeCppMemInitList (std::list< CppMemInit > *memInitList) |
CppMemInits | makeCppMemInitList (CppBlob *blob) |
bool | operator== (const CppExpr &expr1, const CppExpr &expr2) |
bool | operator!= (const CppExpr &expr1, const CppExpr &expr2) |
bool | operator== (const CppExprAtom &exprAtom1, const CppExprAtom &exprAtom2) |
bool | operator!= (const CppExprAtom &exprAtom1, const CppExprAtom &exprAtom2) |
using AttribSpecifier = CppExprPtr |
using AttribSpecifierArray = std::vector<AttribSpecifier> |
using AttribSpecifierSequence = std::unique_ptr<AttribSpecifierArray> |
using CppArraySizes = std::vector<CppExprPtr> |
using CppCatchBlockPtr = std::unique_ptr<CppCatchBlock> |
using CppCatchBlocks = std::vector<CppCatchBlockPtr> |
using CppCompoundEPtr = CppEasyPtr<CppCompound> |
typedef std::unique_ptr< CppCompound > CppCompoundPtr |
using CppConstructorEPtr = CppEasyPtr<CppConstructor> |
using CppDefineEPtr = CppEasyPtr<CppDefine> |
using CppDestructorEPtr = CppEasyPtr<CppDestructor> |
using CppDocCommentEPtr = CppEasyPtr<CppDocComment> |
using CppDoWhileBlockEPtr = CppEasyPtr<CppDoWhileBlock> |
using CppEnumEPtr = CppEasyPtr<CppEnum> |
using CppEnumItemList = std::list<CppEnumItem*> |
using CppEnumItemListPtr = std::unique_ptr<CppEnumItemList> |
using CppExprEPtr = CppEasyPtr<CppExpr> |
using CppExprPtr = std::unique_ptr<CppExpr> |
using CppForBlockEPtr = CppEasyPtr<CppForBlock> |
using CppFuncThrowSpec = CppIdentifierList |
using CppFuncThrowSpecPtr = std::unique_ptr<CppFuncThrowSpec> |
using CppFunctionEPtr = CppEasyPtr<CppFunction> |
using CppFwdClsDeclEPtr = CppEasyPtr<CppFwdClsDecl> |
using CppHashErrorEPtr = CppEasyPtr<CppHashError> |
using CppHashIfEPtr = CppEasyPtr<CppHashIf> |
using CppHashWarningEPtr = CppEasyPtr<CppHashWarning> |
using CppIdentifierList = std::vector<std::string> |
using CppIfBlockEPtr = CppEasyPtr<CppIfBlock> |
using CppIncludeEPtr = CppEasyPtr<CppInclude> |
using CppInheritanceList = std::list<CppInheritInfo> |
using CppInheritanceListPtr = std::unique_ptr<CppInheritanceList> |
using CppLabelEPtr = CppEasyPtr<CppLabel> |
using CppMacroCallEPtr = CppEasyPtr<CppMacroCall> |
using CppMemInit = std::pair<std::string, CppExpr*> |
using CppObjPtrArray = std::vector<std::unique_ptr<CppObj> > |
using CppParamVector = std::vector<CppObjPtr> |
using CppParamVectorPtr = std::unique_ptr<CppParamVector> |
using CppPragmaEPtr = CppEasyPtr<CppPragma> |
using CppSwitchBlockEPtr = CppEasyPtr<CppSwitchBlock> |
using CppSwitchBody = std::vector<CppCase> |
using CppSwitchBodyPtr = std::unique_ptr<CppSwitchBody> |
using CppTemplateParamList = std::vector<std::unique_ptr<CppTemplateParam> > |
using CppTemplateParamListPtr = std::unique_ptr<CppTemplateParamList> |
using CppTypedefListEPtr = CppEasyPtr<CppTypedefList> |
using CppTypedefNameEPtr = CppEasyPtr<CppTypedefName> |
using CppUndefEPtr = CppEasyPtr<CppUndef> |
using CppUsingDeclEPtr = CppEasyPtr<CppUsingDecl> |
using CppVarDeclList = std::vector<CppVarDeclInList> |
using CppVarEPtr = CppEasyPtr<CppVar> |
using CppVarListEPtr = CppEasyPtr<CppVarList> |
using CppVarListPtr = std::unique_ptr<CppVarList> |
typedef CppEasyPtr< CppVarType > CppVarTypeEPtr |
typedef std::unique_ptr< CppVarType > CppVarTypePtr |
using CppWhileBlockEPtr = CppEasyPtr<CppWhileBlock> |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 194 of file cppast.cpp.
|
inline |