sun::semantic_analysis::FunctionScope

sun::semantic_analysis::FunctionScope

struct · Source (opens in a new tab)

struct sun::semantic_analysis::FunctionScope : public sun::semantic_analysis::SemanticScopeBase

FunctionScope - Function or lambda body scope

Inherits

Public Functions

getType

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

ScopeType sun::semantic_analysis::FunctionScope::getType() const override

Returns the lexical scope category used for scope-specific lookup.

Related: ScopeType

Public Fields

functionCanThrow

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

bool sun::semantic_analysis::FunctionScope::functionCanThrow = false

No documentation comment.

functionName

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

sun::semantic_analysis::QualifiedName sun::semantic_analysis::FunctionScope::functionName

No documentation comment.

Related: sun::semantic_analysis::QualifiedName

functionReturnType

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

sun::types::TypePtr sun::semantic_analysis::FunctionScope::functionReturnType

No documentation comment.

Related: sun::types::TypePtr

functionSignature

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

std::string sun::semantic_analysis::FunctionScope::functionSignature

No documentation comment.

variadicParam

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

std::optional<std::pair<std::string, std::vector<sun::types::TypePtr> > > sun::semantic_analysis::FunctionScope::variadicParam

No documentation comment.

Related: sun::types::TypePtr