sun::parsing::Parser::ParsedPattern

sun::parsing::Parser::ParsedPattern

struct · Source (opens in a new tab)

struct sun::parsing::Parser::ParsedPattern

Parsed match-arm pattern; body is attached later by parseMatchExpression.

Public Fields

bindingType

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

std::optional<sun::ast::TypeAnnotation> sun::parsing::Parser::ParsedPattern::bindingType

No documentation comment.

Related: sun::ast::TypeAnnotation

bindings

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

std::vector<sun::ast::PatternBinding> sun::parsing::Parser::ParsedPattern::bindings

No documentation comment.

Related: sun::ast::PatternBinding

hasPayloadParens

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

bool sun::parsing::Parser::ParsedPattern::hasPayloadParens = false

No documentation comment.

isWildcard

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

bool sun::parsing::Parser::ParsedPattern::isWildcard = false

No documentation comment.

ok

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

bool sun::parsing::Parser::ParsedPattern::ok = false

No documentation comment.

pattern

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

std::unique_ptr<ExprAST> sun::parsing::Parser::ParsedPattern::pattern

No documentation comment.

Related: ExprAST