def _add_example(self, example):
if self.has_enumerated_subtypes():<EOL><INDENT>self._add_example_enumerated_subtypes_helper(example)<EOL><DEDENT>else:<EOL><INDENT>self._add_example_helper(example)<EOL><DEDENT>
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.