Function Parser.parseIndexExpression

Parses an IndexExpression

IndexExpression parseIndexExpression (
  UnaryExpression unaryExpression = null
);

indexExpression: unaryExpression '[' ']' | unaryExpression '[' index (',' index)* ']' ;