private JmespathExpression parseDotRhs(int lbp) {
        Token token = iterator.expectPeek(
                TokenType.LBRACKET,
                TokenType.LBRACE,
                TokenType.STAR,
                TokenType.IDENTIFIER);

        if (token.type == TokenType.LBRACKET) {
            // Skip '[', parse the list.
            iterator.next();
            return parseMultiList();
        } else {
            return expression(lbp);
        }
    }
Tokens that can follow led tokens.
smithy-jmespath/src/main/java/software/amazon/smithy/jmespath/Parser.java