def field_or_value(clause):
if hasattr(clause, "<STR_LIT>") and clause.getName() != "<STR_LIT>":<EOL><INDENT>if clause.getName() == "<STR_LIT>":<EOL><INDENT>return SetFunction.from_clause(clause)<EOL><DEDENT>else:<EOL><INDENT>return Value(resolve(clause))<EOL><DEDENT><DEDENT>else:<EOL><INDENT>return Field(clause)<EOL><DEDENT>
For a clause that could be a field or value,
create the right one and return it