parameters: (self, doc)
docstring: Adds field info for a Document
docstring_summary: Adds field info for a Document
docstring_tokens: Adds field info for a Document
function: def add(self, doc):
          """Adds field info for a Document"""
          for field in doc.fields():
              self.addString(field.name(), field.isIndexed)
function_tokens: def add ( self , doc ) : for field in doc . fields ( ) : self . addString ( field . name ( ) , field . isIndexed )