public Parser valuetypeIdParagraph() {
        if (valuetypeIdParagraphParser == null) {
           FutureParser future = scoped("valuetypeIdParagraph");
           valuetypeIdParagraphParser = future;
           future.setParser(
               sequence(
                   token("VALUETYPE-ID"),
                   optional(
                       token(".")
                   ),
                   valuetypeName(),
                   optional(
                       sequence(
                           token("AS"),
                           literal()
                       )
                   ),
                   optional(
                       sequence(
                           optional(
                               token("IS")
                           ),
                           choice(
                               token("FINAL"),
                               token("PARTIAL"),
                               token("ABSTRACT")
                           )
                       )
                   ),
                   optional(
                       sequence(
                           optional(
                               token("IS")
                           ),
                           choice(
                               token("PUBLIC"),
                               token("INTERNAL")
                           )
                       )
                   ),
                   optional(
                       attributeClause()
                   ),
                   optional(
                       sequence(
                           token("IMPLEMENTS"),
                           plus(
                               interfaceName()
                           )
                       )
                   ),
                   optional(
                       token(".")
                   )
               )
           );
        }

        return valuetypeIdParagraphParser;
    }