class

Pratt::ConditionalParselet

Inherits Pratt::InfixParselet < Reference < Object

Parselet for the condition or "ternary" operator, like "a ? b : c".

Instance methods

m_precedence
Source
parse(parser : Parser, left : Expression, token : Token) : Expression
Source