docstr: Return the text representation of the tokens between the given indices
  
  start_idx - index of first token in string
  end_idx - index of last token or -1 for all
docstr_tok: ["Return","the","text","representation","of","the","tokens","between","the","given","indices","start_idx","-","index","of","first","token","in","string","end_idx","-","index","of","last","token","or","-1","for","all"]
code: def get_text(self, start_idx=0, end_idx=None):
      """Return the text representation of the tokens between the given indices
  
      start_idx - index of first token in string
      end_idx - index of last token or -1 for all
      """
      value = ""
      if end_idx is None:
          end_idx = len(self.__tokens)
      for token in self.__tokens[start_idx:end_idx]:
          if isinstance(token, self.MetadataToken):
              value += token.value
          else:
              value += token
      return value
  
imports: import wx
  import wx.lib.masked
  from cellprofiler_core.constants.measurement import C_FRAME
  from cellprofiler_core.constants.measurement import C_METADATA
  from cellprofiler_core.constants.measurement import C_SERIES
  from cellprofiler_core.constants.measurement import IMAGE
  from cellprofiler_core.preferences import get_primary_outline_color
label_desc: Use image node_id 13 for calling the MetadataControl obj's underlying member method code with example usage: obj.get_text(start_idx, end_idx) and returns: value