sun::parsing::Parser::ParsedPattern
struct · Source (opens in a new tab)
struct sun::parsing::Parser::ParsedPatternParsed 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::bindingTypeNo documentation comment.
Related: sun::ast::TypeAnnotation
bindings
public · variable · Source (opens in a new tab)
std::vector<sun::ast::PatternBinding> sun::parsing::Parser::ParsedPattern::bindingsNo documentation comment.
Related: sun::ast::PatternBinding
hasPayloadParens
public · variable · Source (opens in a new tab)
bool sun::parsing::Parser::ParsedPattern::hasPayloadParens = falseNo documentation comment.
isWildcard
public · variable · Source (opens in a new tab)
bool sun::parsing::Parser::ParsedPattern::isWildcard = falseNo documentation comment.
ok
public · variable · Source (opens in a new tab)
bool sun::parsing::Parser::ParsedPattern::ok = falseNo documentation comment.
pattern
public · variable · Source (opens in a new tab)
std::unique_ptr<ExprAST> sun::parsing::Parser::ParsedPattern::patternNo documentation comment.
Related: ExprAST