parameters: (self, index, name, deprecated)
return_statement: return self._extend([5, index], 'enum', name, deprecated)
docstring: Extend type context with an enum.
  
          Args:
              index: enum index in file.
              name: enum name.
              deprecated: is the message depreacted?
docstring_summary: Extend type context with an enum.
docstring_tokens: Extend type context with an enum .
function: def extend_enum(self, index, name, deprecated):
          """Extend type context with an enum.
  
          Args:
              index: enum index in file.
              name: enum name.
              deprecated: is the message depreacted?
          """
          return self._extend([5, index], 'enum', name, deprecated)
function_tokens: def extend_enum ( self , index , name , deprecated ) : return self . _extend ( [ 5 , index ] , 'enum' , name , deprecated )