parseAssignment method
Implementation
Expression parseAssignment({bool allowIn = true}) {
int? start = token!.startOffset;
Expression exp = parseConditional(allowIn);
if (token!.type == Token.ASSIGN) {
Token operator = next();
Expression right = parseAssignment(allowIn: allowIn);
exp = AssignmentExpression(exp, operator.text, right)
..start = start
..end = endOffset
..line = operator.line;
}
return exp;
}