Pratt::PrefixOperatorParselet
Inherits Pratt::PrefixParselet < Reference < Object
Generic prefix parselet for an unary arithmetic operator. Parses prefix unary "-", "+", "~", and "!" expressions.
Constructors
new(m_precedence : Precedence)
SourceInstance methods
parse(parser : Parser, token : Token) : Expression
Source