public Parser entryStatement() {
        if (entryStatementParser == null) {
           FutureParser future = scoped("entryStatement");
           entryStatementParser = future;
           future.setParser(
               sequence(
                   token("ENTRY"),
                   literal(),
                   optional(
                       mnemonicName()
                   ),
                   optional(
                       sequence(
                           token("USING"),
                           plus(
                               sequence(
                                   optional(
                                       sequence(
                                           optional(
                                               token("BY")
                                           ),
                                           choice(
                                               token("REFERENCE"),
                                               token("VALUE")
                                           )
                                       )
                                   ),
                                   choice(
                                       token("ANY"),
                                       sequence(
                                           dataName(),
                                           optional(
                                               sequence(
                                                   token("DELIMITED"),
                                                   optional(
                                                       sequence(
                                                           token("BY"),
                                                           token("SIZE")
                                                       )
                                                   )
                                               )
                                           )
                                       )
                                   )
                               )
                           ),
                           optional(
                               sequence(
                                   token("REPEATED"),
                                   optional(
                                       sequence(
                                           integer(),
                                           token("TO"),
                                           integer()
                                       )
                                   )
                               )
                           )
                       )
                   ),
                   optional(
                       sequence(
                           choice(
                               token("GIVING"),
                               token("RETURNING")
                           ),
                           dataName()
                       )
                   )
               )
           );
        }

        return entryStatementParser;
    }