class_docstr: OLE2 Directory Entry
class_docstr_tok: ["OLE2","Directory","Entry"]
code: def build_sect_chain(self, olefile):
      if self.sect_chain:
          return
      if (
          self.entry_type not in (STGTY_ROOT, STGTY_STREAM)
          or self.size == 0
      ):
          return
  
      self.sect_chain = list()
  
      if self.is_minifat and not olefile.minifat:
          olefile.loadminifat()
  
      next_sect = self.isectStart
      while next_sect != ENDOFCHAIN:
          self.sect_chain.append(next_sect)
          if self.is_minifat:
              next_sect = olefile.minifat[next_sect]
          else:
              next_sect = olefile.fat[next_sect]
  
imports: from __future__ import print_function
  import io
  import sys
  import struct, array, os.path, datetime, logging
label_desc: Use image node_id 2 for calling the OleDirectoryEntry obj's underlying member method code with example usage: obj.build_sect_chain(olefile) without return types