code: def _add_example(self, example):
          
          if self.has_enumerated_subtypes():
              self._add_example_enumerated_subtypes_helper(example)
          else:
              self._add_example_helper(example)
docs: Adds a "raw example" for this type.
  
          This does basic sanity checking to ensure that the example is valid
          (required fields specified, no unknown fields, correct types, ...).
  
          The example is not available via :meth:`get_examples` until
          :meth:`_compute_examples` is called.
  
          Args:
              example (stone.frontend.ast.AstExample): An example of this type.