sun::semantic_analysis::BlockScope

sun::semantic_analysis::BlockScope

struct · Source (opens in a new tab)

struct sun::semantic_analysis::BlockScope : public sun::semantic_analysis::SemanticScopeBase

BlockScope - Block scope (if, while, for, etc.)

Inherits

Public Functions

getType

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

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

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

Related: ScopeType