Skip to content

Commit 24fd449

Browse files
committed
Rename Value_Obj to ValueObj
1 parent 08b3d7a commit 24fd449

File tree

9 files changed

+17
-17
lines changed

9 files changed

+17
-17
lines changed

src/ast_values.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -894,12 +894,12 @@ namespace Sass {
894894
/////////////////////////////////////////////////////////////////////////
895895

896896
String_Schema::String_Schema(ParserState pstate, size_t size, bool css)
897-
: String(pstate), Vectorized<PreValue_Obj>(size), css_(css), hash_(0)
897+
: String(pstate), Vectorized<PreValueObj>(size), css_(css), hash_(0)
898898
{ concrete_type(STRING); }
899899

900900
String_Schema::String_Schema(const String_Schema* ptr)
901901
: String(ptr),
902-
Vectorized<PreValue_Obj>(*ptr),
902+
Vectorized<PreValueObj>(*ptr),
903903
css_(ptr->css_),
904904
hash_(ptr->hash_)
905905
{ concrete_type(STRING); }

src/ast_values.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ namespace Sass {
389389
// Interpolated strings. Meant to be reduced to flat strings during the
390390
// evaluation phase.
391391
///////////////////////////////////////////////////////////////////////
392-
class String_Schema final : public String, public Vectorized<PreValue_Obj> {
392+
class String_Schema final : public String, public Vectorized<PreValueObj> {
393393
ADD_PROPERTY(bool, css)
394394
mutable size_t hash_;
395395
public:

src/eval.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -775,8 +775,8 @@ namespace Sass {
775775
}
776776

777777
To_Value to_value(ctx);
778-
Value_Obj v_l = Cast<Value>(lhs->perform(&to_value));
779-
Value_Obj v_r = Cast<Value>(rhs->perform(&to_value));
778+
ValueObj v_l = Cast<Value>(lhs->perform(&to_value));
779+
ValueObj v_r = Cast<Value>(rhs->perform(&to_value));
780780

781781
if (force_delay) {
782782
sass::string str("");
@@ -841,8 +841,8 @@ namespace Sass {
841841
else {
842842
To_Value to_value(ctx);
843843
// this will leak if perform does not return a value!
844-
Value_Obj v_l = Cast<Value>(lhs->perform(&to_value));
845-
Value_Obj v_r = Cast<Value>(rhs->perform(&to_value));
844+
ValueObj v_l = Cast<Value>(lhs->perform(&to_value));
845+
ValueObj v_r = Cast<Value>(rhs->perform(&to_value));
846846
bool interpolant = b->is_right_interpolant() ||
847847
b->is_left_interpolant() ||
848848
b->is_interpolant();

src/fn_lists.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ namespace Sass {
9292
return l.detach();
9393
}
9494
else {
95-
Value_Obj rv = l->value_at_index(static_cast<int>(index));
95+
ValueObj rv = l->value_at_index(static_cast<int>(index));
9696
rv->set_delayed(false);
9797
return rv.detach();
9898
}
@@ -275,7 +275,7 @@ namespace Sass {
275275
Signature is_bracketed_sig = "is-bracketed($list)";
276276
BUILT_IN(is_bracketed)
277277
{
278-
Value_Obj value = ARG("$list", Value);
278+
ValueObj value = ARG("$list", Value);
279279
List_Obj list = Cast<List>(value);
280280
return SASS_MEMORY_NEW(Boolean, pstate, list && list->is_bracketed());
281281
}

src/fn_maps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace Sass {
1818
Map_Obj m = ARGM("$map", Map);
1919
ExpressionObj v = ARG("$key", Expression);
2020
try {
21-
Value_Obj val = m->at(v);
21+
ValueObj val = m->at(v);
2222
if (!val) return SASS_MEMORY_NEW(Null, pstate);
2323
val->set_delayed(false);
2424
return val.detach();

src/fn_miscs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ namespace Sass {
160160
ExpressionObj cond = ARG("$condition", Expression)->perform(&expand.eval);
161161
bool is_true = !cond->is_false();
162162
ExpressionObj res = ARG(is_true ? "$if-true" : "$if-false", Expression);
163-
Value_Obj qwe = Cast<Value>(res->perform(&expand.eval));
163+
ValueObj qwe = Cast<Value>(res->perform(&expand.eval));
164164
// res = res->perform(&expand.eval.val_eval);
165165
qwe->set_delayed(false); // clone?
166166
return qwe.detach();

src/parser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1663,7 +1663,7 @@ namespace Sass {
16631663
return schema.detach();
16641664
}
16651665

1666-
Value_Obj Parser::parse_static_value()
1666+
ValueObj Parser::parse_static_value()
16671667
{
16681668
lex< static_value >();
16691669
Token str(lexed);

src/parser.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ namespace Sass {
294294
String_Obj parse_url_function_argument();
295295
String_Obj parse_interpolated_chunk(Token, bool constant = false, bool css = true);
296296
String_Obj parse_string();
297-
Value_Obj parse_static_value();
297+
ValueObj parse_static_value();
298298
String_Schema_Obj parse_css_variable_value();
299299
String_Obj parse_ie_property();
300300
String_Obj parse_ie_keyword_arg();

src/sass_values.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ extern "C" {
283283

284284
union Sass_Value* ADDCALL sass_value_stringify (const union Sass_Value* v, bool compressed, int precision)
285285
{
286-
Value_Obj val = sass_value_to_ast_node(v);
286+
ValueObj val = sass_value_to_ast_node(v);
287287
Sass_Inspect_Options options(compressed ? COMPRESSED : NESTED, precision);
288288
sass::string str(val->to_string(options));
289289
return sass_make_qstring(str.c_str());
@@ -292,12 +292,12 @@ extern "C" {
292292
union Sass_Value* ADDCALL sass_value_op (enum Sass_OP op, const union Sass_Value* a, const union Sass_Value* b)
293293
{
294294

295-
Sass::Value_Obj rv;
295+
Sass::ValueObj rv;
296296

297297
try {
298298

299-
Value_Obj lhs = sass_value_to_ast_node(a);
300-
Value_Obj rhs = sass_value_to_ast_node(b);
299+
ValueObj lhs = sass_value_to_ast_node(a);
300+
ValueObj rhs = sass_value_to_ast_node(b);
301301
struct Sass_Inspect_Options options(NESTED, 5);
302302

303303
// see if it's a relational expression

0 commit comments

Comments
 (0)