parsePostfix method

Expression parsePostfix()

Implementation

Expression parsePostfix() {
  int start = token?.startOffset??0;
  Expression exp = parseLeftHandSide();
  if (token?.type == Token.UPDATE && !(null!=token&&token!.afterLinebreak)) {
    Token? operator = next();
    exp = new UpdateExpression.postfix(operator?.text??'', exp)
      ..start = start
      ..end = endOffset
      ..line = operator?.line??0;
  }
  return exp;
}