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

#include <cppast.h>

Inheritance diagram for CppLambda:
Inheritance graph
Collaboration diagram for CppLambda:
Collaboration graph

Public Member Functions

 CppLambda (CppExpr *captures, CppParamVector *params, CppCompound *defn, CppVarType *retType=nullptr)
 
void accept (CppVisitorBase *v) override
 
- Public Member Functions inherited from CppFuncLikeBase
CppFuncThrowSpecthrowSpec ()
 
void throwSpec (CppFuncThrowSpec *_throwSpec)
 
CppCompounddefn ()
 
void defn (CppCompound *_defn)
 
- 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 captures_
 
CppParamVectorPtr params_
 
CppVarTypePtr retType_
 
CppCompoundPtr defn_
 
- Public Attributes inherited from CppObj
CppObjType objType_
 
CppAccessType accessType_
 All objects do not need this. More...
 

Static Public Attributes

static constexpr CppObjType kObjectType = CppObjType::kLambda
 

Additional Inherited Members

- Protected Member Functions inherited from CppFuncLikeBase
 CppFuncLikeBase (CppObjType type, CppAccessType accessType)
 

Detailed Description

Definition at line 1345 of file cppast.h.

Constructor & Destructor Documentation

◆ CppLambda()

CppLambda::CppLambda ( CppExpr captures,
CppParamVector params,
CppCompound defn,
CppVarType retType = nullptr 
)
inline

Definition at line 1354 of file cppast.h.

Member Function Documentation

◆ accept()

void CppLambda::accept ( CppVisitorBase v)
inlineoverridevirtual

Implements CppObj.

Definition at line 1363 of file cppast.h.

Here is the call graph for this function:

Member Data Documentation

◆ captures_

CppExprPtr CppLambda::captures_

Definition at line 1349 of file cppast.h.

◆ defn_

CppCompoundPtr CppLambda::defn_

Definition at line 1352 of file cppast.h.

◆ kObjectType

constexpr CppObjType CppLambda::kObjectType = CppObjType::kLambda
staticconstexpr

Definition at line 1347 of file cppast.h.

◆ params_

CppParamVectorPtr CppLambda::params_

Definition at line 1350 of file cppast.h.

◆ retType_

CppVarTypePtr CppLambda::retType_

Definition at line 1351 of file cppast.h.


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