sun::semantic_analysis::SpecializedFunctionInfo
struct · Source (opens in a new tab)
struct sun::semantic_analysis::SpecializedFunctionInfoInformation about a specialized (monomorphized) generic function.
Public Functions
asFunctionInfo
public · function · Source (opens in a new tab)
FunctionInfo sun::semantic_analysis::SpecializedFunctionInfo::asFunctionInfo() constThe specialization seen as an ordinary resolved function — what a call site that named the template ends up calling.
Related: FunctionInfo
canThrow
public · function · Source (opens in a new tab)
bool sun::semantic_analysis::SpecializedFunctionInfo::canThrow() constWhether the specialization's signature carries 'throws IError'.
functionType
public · function · Source (opens in a new tab)
sun::types::TypePtr sun::semantic_analysis::SpecializedFunctionInfo::functionType() constType of the call itself, for the callee expression.
Related: sun::types::TypePtr, Type
Public Fields
captures
public · variable · Source (opens in a new tab)
std::vector<sun::ast::Capture> sun::semantic_analysis::SpecializedFunctionInfo::capturesNo documentation comment.
Related: sun::ast::Capture
paramTypes
public · variable · Source (opens in a new tab)
std::vector<sun::types::TypePtr> sun::semantic_analysis::SpecializedFunctionInfo::paramTypesNo documentation comment.
Related: sun::types::TypePtr
qualifiedName
public · variable · Source (opens in a new tab)
sun::semantic_analysis::QualifiedName sun::semantic_analysis::SpecializedFunctionInfo::qualifiedNameNo documentation comment.
Related: sun::semantic_analysis::QualifiedName
returnType
public · variable · Source (opens in a new tab)
sun::types::TypePtr sun::semantic_analysis::SpecializedFunctionInfo::returnTypeNo documentation comment.
Related: sun::types::TypePtr
specializedAST
public · variable · Source (opens in a new tab)
std::shared_ptr<FunctionAST> sun::semantic_analysis::SpecializedFunctionInfo::specializedASTNo documentation comment.
Related: FunctionAST