parseArguments method

List<Expression> parseArguments()

Implementation

List<Expression> parseArguments() {
  consume(Token.LPAREN);
  List<Expression> list = <Expression>[];
  while (token?.type != Token.RPAREN) {
    if (list.length > 0) {
      consume(Token.COMMA);
    }
    list.add(parseAssignment());
  }
  consume(Token.RPAREN);
  return list;
}