Pratt::AssignParselet
Inherits Pratt::InfixParselet < Reference < Object
Parses assignment expressions like "a = b". The left side of an assignment expression must be a simple name like "a", and expressions are right-associative. (In other words, "a = b = c" is parsed as "a = (b = c)").
Instance methods
m_precedence
Sourceparse(parser : Parser, left : Expression, token : Token) : Expression
Source