hoshi-lang dev
Yet another programming language
Loading...
Searching...
No Matches
visitor::OverloadResult Struct Reference

Public Member Functions

bool found () const
 

Public Attributes

yoi::indexT functionIndex = -1
 
bool isVariadic = false
 
bool isVirtual = false
 
bool isCastRequired = false
 
yoi::indexT fixedArgCount = 0
 
std::shared_ptr< IRValueTypevariadicElementType = nullptr
 
std::shared_ptr< IRFunctionDefinitionfunction = nullptr
 

Detailed Description

Definition at line 22 of file visitor.h.

Member Function Documentation

◆ found()

bool found ( ) const

Definition at line 4091 of file visitor.cpp.

Referenced by visitor::handleInvocationExtern(), visitor::handleSubscript(), and visitor::visit().

Here is the caller graph for this function:

Member Data Documentation

◆ fixedArgCount

◆ function

◆ functionIndex

◆ isCastRequired

◆ isVariadic

◆ isVirtual

bool isVirtual = false

Definition at line 25 of file visitor.h.

Referenced by visitor::resolveOverloadInterface().

◆ variadicElementType

std::shared_ptr<IRValueType> variadicElementType = nullptr

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