<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def types(self):
 """Return the list of type terms in the conjunction."""

        return [term for term in self._terms
                if isinstance(term, (TypeIdentifier, String, Regex))]