*/
public class BracketInfixParser implements InfixParser {
@Override
public Expr parse(MagpieParser parser, Expr left, Token token) {
// Parse the argument, if any.
Expr arg = parser.groupExpression(TokenType.RIGHT_BRACKET);
return Expr.call(token.getPosition(), left, "[]", arg);
}