fn parse_enum_type_extension(&mut self) -> ParseResult<EnumTypeExtension> {
        // `extend enum` was already parsed
        let name = self.parse_identifier()?;
        let directives = self.parse_constant_directives()?;
        let values = self.parse_enum_values_definition()?;
        Ok(EnumTypeExtension {
            name,
            directives,
            values,
        })
    }
/**
     * EnumTypeExtension :
     *   - extend enum Name Directives? EnumValuesDefinition
     *   - extend enum Name Directives
     */
EnumTypeExtension :
- extend enum Name Directives. EnumValuesDefinition
- extend enum Name Directives
EnumTypeExtension : - extend enum Name Directives . EnumValuesDefinition - extend enum Name Directives
fn parse_enum_type_extension(&mut self) -> ParseResult<EnumTypeExtension> {
        // `extend enum` was already parsed
        let name = self.parse_identifier()?;
        let directives = self.parse_constant_directives()?;
        let values = self.parse_enum_values_definition()?;
        Ok(EnumTypeExtension {
            name,
            directives,
            values,
        })
    }
fn parse_enum_type_extension ( & mut self ) -> ParseResult < EnumTypeExtension > { // `extend enum` was already parsed let name = self . parse_identifier ( ) ? ; let directives = self . parse_constant_directives ( ) ? ; let values = self . parse_enum_values_definition ( ) ? ; Ok ( EnumTypeExtension { name , directives , values , } ) }
EnumTypeExtension :
   - extend enum Name Directives?
EnumTypeExtension : - extend enum Name Directives?
&mut self
&mut self