@property<EOL><INDENT>def names(self):<DEDENT>
if is_term(self.terms):<EOL><INDENT>return frozenset([self.terms.name])<EOL><DEDENT>return frozenset(term.name for term in com.flatten(self.terms))<EOL>
Get the names in an expression