parameters: (self)
return_statement: return slice(base_id, base_id + len(self.field_names()))
docstring: Returns a slice representing the range of field ids that belong to
          this field. This slice can be used to index a list of fields.
  
          E.g.:
  
          >>> s = Struct(
          >>>     ('a', Scalar()),
          >>>     ('b', Struct(
          >>>         ('b1', Scalar()),
          >>>         ('b2', Scalar()),
          >>>     )),
          >>>     ('c', Scalar()),
          >>> )
          >>> field_data = ['da', 'db1', 'db2', 'dc']
          >>> field_data[s.b.split()]
          ['db1', 'db2']
docstring_summary: Returns a slice representing the range of field ids that belong to
          this field. This slice can be used to index a list of fields.
docstring_tokens: Returns a slice representing the range of field ids that belong to this field . This slice can be used to index a list of fields .
function: def slice(self):
          """
          Returns a slice representing the range of field ids that belong to
          this field. This slice can be used to index a list of fields.
  
          E.g.:
  
          >>> s = Struct(
          >>>     ('a', Scalar()),
          >>>     ('b', Struct(
          >>>         ('b1', Scalar()),
          >>>         ('b2', Scalar()),
          >>>     )),
          >>>     ('c', Scalar()),
          >>> )
          >>> field_data = ['da', 'db1', 'db2', 'dc']
          >>> field_data[s.b.split()]
          ['db1', 'db2']
          """
          base_id = self._child_base_id()
          return slice(base_id, base_id + len(self.field_names()))
function_tokens: def slice ( self ) : base_id = self . _child_base_id ( ) return slice ( base_id , base_id + len ( self . field_names ( ) ) )