code: def _populate_examples(self):
          
          for namespace in self.api.namespaces.values():
              for data_type in namespace.data_types:
                  for example in data_type._ast_node.examples.values():
                      data_type._add_example(example)
  
          for namespace in self.api.namespaces.values():
              for data_type in namespace.data_types:
                  data_type._compute_examples()
docs: Construct every possible example for every type.
  
          This is done in two passes. The first pass assigns examples to their
          associated types, but does not resolve references between examples for
          different types. This is because the referenced examples may not yet
          exist. The second pass resolves references.