CppParser
Loading...
Searching...
No Matches
CppDocComment Struct Reference

#include <cppast.h>

Inheritance diagram for CppDocComment:
Inheritance graph
Collaboration diagram for CppDocComment:
Collaboration graph

Public Member Functions

 CppDocComment (std::string doc, CppAccessType objAccessType=CppAccessType::kUnknown)
 
void accept (CppVisitorBase *v) override
 
- Public Member Functions inherited from CppObj
 CppObj (CppObjType type, CppAccessType accessType)
 
CppCompoundowner ()
 
void owner (CppCompound *o)
 
virtual void accept (CppVisitorBase *v)=0
 
virtual ~CppObj ()
 

Public Attributes

std::string doc_
 Entire comment text. More...
 
- Public Attributes inherited from CppObj
CppObjType objType_
 
CppAccessType accessType_
 All objects do not need this. More...
 

Static Public Attributes

static constexpr CppObjType kObjectType = CppObjType::kDocComment
 

Detailed Description

Definition at line 1646 of file cppast.h.

Constructor & Destructor Documentation

◆ CppDocComment()

CppDocComment::CppDocComment ( std::string  doc,
CppAccessType  objAccessType = CppAccessType::kUnknown 
)
inline

Definition at line 1652 of file cppast.h.

Member Function Documentation

◆ accept()

void CppDocComment::accept ( CppVisitorBase v)
inlineoverridevirtual

Implements CppObj.

Definition at line 1658 of file cppast.h.

Here is the call graph for this function:

Member Data Documentation

◆ doc_

std::string CppDocComment::doc_

Entire comment text.

Definition at line 1650 of file cppast.h.

◆ kObjectType

constexpr CppObjType CppDocComment::kObjectType = CppObjType::kDocComment
staticconstexpr

Definition at line 1648 of file cppast.h.


The documentation for this struct was generated from the following file: