sun::ast::PatternBinding

sun::ast::PatternBinding

struct · Source (opens in a new tab)

struct sun::ast::PatternBinding

A payload binding position in a destructuring pattern: Shape.Circle(r).

Public Fields

declaration

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

sun::semantic_analysis::DeclarationIdentity sun::ast::PatternBinding::declaration {}

No documentation comment.

Related: sun::semantic_analysis::DeclarationIdentity

isWildcard

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

bool sun::ast::PatternBinding::isWildcard = false

No documentation comment.

location

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

sun::support::Position sun::ast::PatternBinding::location

No documentation comment.

Related: sun::support::Position

name

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

std::string sun::ast::PatternBinding::name

No documentation comment.

resolvedType

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

sun::types::TypePtr sun::ast::PatternBinding::resolvedType

No documentation comment.

Related: sun::types::TypePtr