Pratt::ConditionalParselet
Inherits Pratt::InfixParselet < Reference < Object
Parselet for the condition or "ternary" operator, like "a ? b : c".
Instance methods
m_precedence
Sourceparse(parser : Parser, left : Expression, token : Token) : Expression
Source