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

#include <cppast.h>

Inheritance diagram for CppRangeForBlock:
Inheritance graph
Collaboration diagram for CppRangeForBlock:
Collaboration graph

Public Member Functions

 CppRangeForBlock (CppVar *var, CppExpr *expr, CppObj *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

CppVarPtr var_
 
CppExprPtr expr_
 
CppObjPtr 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::kRangeForBlock
 

Detailed Description

Definition at line 2017 of file cppast.h.

Constructor & Destructor Documentation

◆ CppRangeForBlock()

CppRangeForBlock::CppRangeForBlock ( CppVar var,
CppExpr expr,
CppObj body 
)
inline

Definition at line 2025 of file cppast.h.

Member Function Documentation

◆ accept()

void CppRangeForBlock::accept ( CppVisitorBase v)
inlineoverridevirtual

Implements CppObj.

Definition at line 2033 of file cppast.h.

Here is the call graph for this function:

Member Data Documentation

◆ body_

CppObjPtr CppRangeForBlock::body_

Definition at line 2023 of file cppast.h.

◆ expr_

CppExprPtr CppRangeForBlock::expr_

Definition at line 2022 of file cppast.h.

◆ kObjectType

constexpr CppObjType CppRangeForBlock::kObjectType = CppObjType::kRangeForBlock
staticconstexpr

Definition at line 2019 of file cppast.h.

◆ var_

CppVarPtr CppRangeForBlock::var_

Definition at line 2021 of file cppast.h.


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