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