header { package org.apache.directory.shared.ldap.schema; } class ObjectClassDescriptionParser extends LdapSchemaDefinitionsBaseParser; options { k=5; } objectClassDescription : LPAREN ( SPACE )* numericoid ( options { greedy=true; } : ( SPACE )+ ID_NAME ( SPACE )+ qdescr )? ( options { greedy=true; } : ( SPACE )+ ID_DESC ( SPACE )+ qdstring )? ( options { greedy=true; } : ( SPACE )+ ID_OBSOLUTE )? ( options { greedy=true; } : ( SPACE )+ ID_SUP ( SPACE )+ oids )? ( options { greedy=true; } : ( SPACE )+ kind )? ( options { greedy=true; } : ( SPACE )+ ID_MUST ( SPACE )+ oids )? ( options { greedy=true; } : ( SPACE )+ ID_MAY ( SPACE )+ oids )? extensions ( SPACE )* RPAREN ; kind : ( ID_ABSTRACT | ID_STRUCTURAL | ID_AUXILARY ) ; class ObjectClassDescriptionLexer extends LdapSchemaDefinitionsBaseLexer; ID_ABSRACT : "ABSTRACT"; ID_SRUCTURAL : "STRUCTURAL"; ID_AUXILARY : "AUXILARY";