parsePostfix method

Expression parsePostfix()

Implementation

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