def _is_value_literal(sqlparse_token):
  """Returns true if sqlparse_token represents a literal to copy from query."""
  return sqlparse_token.ttype in (sqlparse.tokens.Literal.String.Single,
                                  sqlparse.tokens.Literal.Number.Integer,
                                  sqlparse.tokens.Literal.String.Symbol,
                                  sqlparse.tokens.Literal.Number.Float)
Returns true if sqlparse_token represents a literal to copy from query.
language/xsp/data_preprocessing/abstract_sql.py