public Parser replaceStatement() {
        if (replaceStatementParser == null) {
           FutureParser future = scoped("replaceStatement");
           replaceStatementParser = future;
           future.setParser(
               sequence(
                   token("REPLACE"),
                   choice(
                       token("OFF"),
                       plus(
                           choice(
                               sequence(
                                   pseudoLiteral(),
                                   token("BY"),
                                   pseudoLiteral()
                               ),
                               sequence(
                                   choice(
                                       token("LEADING"),
                                       token("TRAILING")
                                   ),
                                   pseudoLiteral(),
                                   token("BY"),
                                   pseudoLiteral()
                               )
                           )
                       )
                   ),
                   optional(
                       token(".")
                   )
               )
           );
        }

        return replaceStatementParser;
    }