LLZK 0.1.0
Veridise's ZK Language IR
Loading...
Searching...
No Matches
ExtraMethod Struct Reference

Structure to represent a parsed method signature from an extraClassDeclaration More...

#include <CommonCAPIGen.h>

Public Attributes

std::string returnType
 The C++ return type of the method.
std::string methodName
 The name of the method.
std::string documentation
 Documentation comment (if any)
bool isConst = false
 Whether the method is const-qualified.
bool hasParameters = false
 Whether the method has parameters (unsupported for now)
std::vector< MethodParameterparameters
 The parameters of the method.

Detailed Description

Structure to represent a parsed method signature from an extraClassDeclaration

This structure holds information extracted from parsing C++ method declarations. It is used to generate corresponding C API wrapper functions.

Definition at line 260 of file CommonCAPIGen.h.

Member Data Documentation

◆ documentation

std::string ExtraMethod::documentation

Documentation comment (if any)

Definition at line 266 of file CommonCAPIGen.h.

◆ hasParameters

bool ExtraMethod::hasParameters = false

Whether the method has parameters (unsupported for now)

Definition at line 270 of file CommonCAPIGen.h.

◆ isConst

bool ExtraMethod::isConst = false

Whether the method is const-qualified.

Definition at line 268 of file CommonCAPIGen.h.

◆ methodName

std::string ExtraMethod::methodName

The name of the method.

Definition at line 264 of file CommonCAPIGen.h.

◆ parameters

std::vector<MethodParameter> ExtraMethod::parameters

The parameters of the method.

Definition at line 272 of file CommonCAPIGen.h.

◆ returnType

std::string ExtraMethod::returnType

The C++ return type of the method.

Definition at line 262 of file CommonCAPIGen.h.


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