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

#include <cppast.h>

Inheritance diagram for CppLabel:
Inheritance graph
Collaboration diagram for CppLabel:
Collaboration graph

Public Member Functions

 CppLabel (std::string label)
 
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 label_
 
- Public Attributes inherited from CppObj
CppObjType objType_
 
CppAccessType accessType_
 All objects do not need this. More...
 

Static Public Attributes

static constexpr CppObjType kObjectType = CppObjType::kLabel
 

Detailed Description

Definition at line 2185 of file cppast.h.

Constructor & Destructor Documentation

◆ CppLabel()

CppLabel::CppLabel ( std::string  label)
inline

Definition at line 2191 of file cppast.h.

Member Function Documentation

◆ accept()

void CppLabel::accept ( CppVisitorBase v)
inlineoverridevirtual

Implements CppObj.

Definition at line 2197 of file cppast.h.

Here is the call graph for this function:

Member Data Documentation

◆ kObjectType

constexpr CppObjType CppLabel::kObjectType = CppObjType::kLabel
staticconstexpr

Definition at line 2187 of file cppast.h.

◆ label_

std::string CppLabel::label_

Definition at line 2189 of file cppast.h.


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