sun::semantic_analysis::SpecializedFunctionInfo

sun::semantic_analysis::SpecializedFunctionInfo

struct · Source (opens in a new tab)

struct sun::semantic_analysis::SpecializedFunctionInfo

Information about a specialized (monomorphized) generic function.

Public Functions

asFunctionInfo

public · function · Source (opens in a new tab)

FunctionInfo sun::semantic_analysis::SpecializedFunctionInfo::asFunctionInfo() const

The 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() const

Whether the specialization's signature carries 'throws IError'.

functionType

public · function · Source (opens in a new tab)

sun::types::TypePtr sun::semantic_analysis::SpecializedFunctionInfo::functionType() const

Type 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::captures

No documentation comment.

Related: sun::ast::Capture

paramTypes

public · variable · Source (opens in a new tab)

std::vector<sun::types::TypePtr> sun::semantic_analysis::SpecializedFunctionInfo::paramTypes

No documentation comment.

Related: sun::types::TypePtr

qualifiedName

public · variable · Source (opens in a new tab)

sun::semantic_analysis::QualifiedName sun::semantic_analysis::SpecializedFunctionInfo::qualifiedName

No documentation comment.

Related: sun::semantic_analysis::QualifiedName

returnType

public · variable · Source (opens in a new tab)

sun::types::TypePtr sun::semantic_analysis::SpecializedFunctionInfo::returnType

No documentation comment.

Related: sun::types::TypePtr

specializedAST

public · variable · Source (opens in a new tab)

std::shared_ptr<FunctionAST> sun::semantic_analysis::SpecializedFunctionInfo::specializedAST

No documentation comment.

Related: FunctionAST