public Parser atEnd() {
        if (atEndParser == null) {
           FutureParser future = scoped("atEnd");
           atEndParser = future;
           future.setParser(
               sequence(
                   optional(
                       token("AT")
                   ),
                   token("END"),
                   nestedStatements()
               )
           );
        }

        return atEndParser;
    }