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

#include <cppast.h>

Inheritance diagram for CppSwitchBlock:
Inheritance graph
Collaboration diagram for CppSwitchBlock:
Collaboration graph

Public Member Functions

 CppSwitchBlock (CppExpr *cond, CppSwitchBody *body)
 
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

CppExprPtr cond_
 
CppSwitchBodyPtr body_
 
- Public Attributes inherited from CppObj
CppObjType objType_
 
CppAccessType accessType_
 All objects do not need this. More...
 

Static Public Attributes

static constexpr CppObjType kObjectType = CppObjType::kSwitchBlock
 

Detailed Description

Definition at line 2062 of file cppast.h.

Constructor & Destructor Documentation

◆ CppSwitchBlock()

CppSwitchBlock::CppSwitchBlock ( CppExpr cond,
CppSwitchBody body 
)
inline

Definition at line 2069 of file cppast.h.

Member Function Documentation

◆ accept()

void CppSwitchBlock::accept ( CppVisitorBase v)
inlineoverridevirtual

Implements CppObj.

Definition at line 2076 of file cppast.h.

Here is the call graph for this function:

Member Data Documentation

◆ body_

CppSwitchBodyPtr CppSwitchBlock::body_

Definition at line 2067 of file cppast.h.

◆ cond_

CppExprPtr CppSwitchBlock::cond_

Definition at line 2066 of file cppast.h.

◆ kObjectType

constexpr CppObjType CppSwitchBlock::kObjectType = CppObjType::kSwitchBlock
staticconstexpr

Definition at line 2064 of file cppast.h.


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