Skip to content

Commit 08b3d7a

Browse files
committed
Rename Expression_Obj to ExpressionObj
1 parent 9961db7 commit 08b3d7a

25 files changed

+292
-292
lines changed

src/ast.cpp

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ namespace Sass {
212212
/////////////////////////////////////////////////////////////////////////
213213
/////////////////////////////////////////////////////////////////////////
214214

215-
Directive::Directive(ParserState pstate, sass::string kwd, SelectorListObj sel, Block_Obj b, Expression_Obj val)
215+
Directive::Directive(ParserState pstate, sass::string kwd, SelectorListObj sel, Block_Obj b, ExpressionObj val)
216216
: ParentStatement(pstate, b), keyword_(kwd), selector_(sel), value_(val) // set value manually if needed
217217
{ statement_type(DIRECTIVE); }
218218
Directive::Directive(const Directive* ptr)
@@ -250,7 +250,7 @@ namespace Sass {
250250
/////////////////////////////////////////////////////////////////////////
251251
/////////////////////////////////////////////////////////////////////////
252252

253-
Declaration::Declaration(ParserState pstate, String_Obj prop, Expression_Obj val, bool i, bool c, Block_Obj b)
253+
Declaration::Declaration(ParserState pstate, String_Obj prop, ExpressionObj val, bool i, bool c, Block_Obj b)
254254
: ParentStatement(pstate, b), property_(prop), value_(val), is_important_(i), is_custom_property_(c), is_indented_(false)
255255
{ statement_type(DECLARATION); }
256256
Declaration::Declaration(const Declaration* ptr)
@@ -271,7 +271,7 @@ namespace Sass {
271271
/////////////////////////////////////////////////////////////////////////
272272
/////////////////////////////////////////////////////////////////////////
273273

274-
Assignment::Assignment(ParserState pstate, sass::string var, Expression_Obj val, bool is_default, bool is_global)
274+
Assignment::Assignment(ParserState pstate, sass::string var, ExpressionObj val, bool is_default, bool is_global)
275275
: Statement(pstate), variable_(var), value_(val), is_default_(is_default), is_global_(is_global)
276276
{ statement_type(ASSIGNMENT); }
277277
Assignment::Assignment(const Assignment* ptr)
@@ -287,7 +287,7 @@ namespace Sass {
287287

288288
Import::Import(ParserState pstate)
289289
: Statement(pstate),
290-
urls_(sass::vector<Expression_Obj>()),
290+
urls_(sass::vector<ExpressionObj>()),
291291
incs_(sass::vector<Include>()),
292292
import_queries_()
293293
{ statement_type(IMPORT); }
@@ -299,7 +299,7 @@ namespace Sass {
299299
{ statement_type(IMPORT); }
300300

301301
sass::vector<Include>& Import::incs() { return incs_; }
302-
sass::vector<Expression_Obj>& Import::urls() { return urls_; }
302+
sass::vector<ExpressionObj>& Import::urls() { return urls_; }
303303

304304
/////////////////////////////////////////////////////////////////////////
305305
/////////////////////////////////////////////////////////////////////////
@@ -317,7 +317,7 @@ namespace Sass {
317317
/////////////////////////////////////////////////////////////////////////
318318
/////////////////////////////////////////////////////////////////////////
319319

320-
WarningRule::WarningRule(ParserState pstate, Expression_Obj msg)
320+
WarningRule::WarningRule(ParserState pstate, ExpressionObj msg)
321321
: Statement(pstate), message_(msg)
322322
{ statement_type(WARNING); }
323323
WarningRule::WarningRule(const WarningRule* ptr)
@@ -327,7 +327,7 @@ namespace Sass {
327327
/////////////////////////////////////////////////////////////////////////
328328
/////////////////////////////////////////////////////////////////////////
329329

330-
ErrorRule::ErrorRule(ParserState pstate, Expression_Obj msg)
330+
ErrorRule::ErrorRule(ParserState pstate, ExpressionObj msg)
331331
: Statement(pstate), message_(msg)
332332
{ statement_type(ERROR); }
333333
ErrorRule::ErrorRule(const ErrorRule* ptr)
@@ -337,7 +337,7 @@ namespace Sass {
337337
/////////////////////////////////////////////////////////////////////////
338338
/////////////////////////////////////////////////////////////////////////
339339

340-
DebugRule::DebugRule(ParserState pstate, Expression_Obj val)
340+
DebugRule::DebugRule(ParserState pstate, ExpressionObj val)
341341
: Statement(pstate), value_(val)
342342
{ statement_type(DEBUGSTMT); }
343343
DebugRule::DebugRule(const DebugRule* ptr)
@@ -364,7 +364,7 @@ namespace Sass {
364364
/////////////////////////////////////////////////////////////////////////
365365
/////////////////////////////////////////////////////////////////////////
366366

367-
If::If(ParserState pstate, Expression_Obj pred, Block_Obj con, Block_Obj alt)
367+
If::If(ParserState pstate, ExpressionObj pred, Block_Obj con, Block_Obj alt)
368368
: ParentStatement(pstate, con), predicate_(pred), alternative_(alt)
369369
{ statement_type(IF); }
370370
If::If(const If* ptr)
@@ -382,7 +382,7 @@ namespace Sass {
382382
/////////////////////////////////////////////////////////////////////////
383383

384384
ForRule::ForRule(ParserState pstate,
385-
sass::string var, Expression_Obj lo, Expression_Obj hi, Block_Obj b, bool inc)
385+
sass::string var, ExpressionObj lo, ExpressionObj hi, Block_Obj b, bool inc)
386386
: ParentStatement(pstate, b),
387387
variable_(var), lower_bound_(lo), upper_bound_(hi), is_inclusive_(inc)
388388
{ statement_type(FOR); }
@@ -397,7 +397,7 @@ namespace Sass {
397397
/////////////////////////////////////////////////////////////////////////
398398
/////////////////////////////////////////////////////////////////////////
399399

400-
EachRule::EachRule(ParserState pstate, sass::vector<sass::string> vars, Expression_Obj lst, Block_Obj b)
400+
EachRule::EachRule(ParserState pstate, sass::vector<sass::string> vars, ExpressionObj lst, Block_Obj b)
401401
: ParentStatement(pstate, b), variables_(vars), list_(lst)
402402
{ statement_type(EACH); }
403403
EachRule::EachRule(const EachRule* ptr)
@@ -407,7 +407,7 @@ namespace Sass {
407407
/////////////////////////////////////////////////////////////////////////
408408
/////////////////////////////////////////////////////////////////////////
409409

410-
WhileRule::WhileRule(ParserState pstate, Expression_Obj pred, Block_Obj b)
410+
WhileRule::WhileRule(ParserState pstate, ExpressionObj pred, Block_Obj b)
411411
: ParentStatement(pstate, b), predicate_(pred)
412412
{ statement_type(WHILE); }
413413
WhileRule::WhileRule(const WhileRule* ptr)
@@ -417,7 +417,7 @@ namespace Sass {
417417
/////////////////////////////////////////////////////////////////////////
418418
/////////////////////////////////////////////////////////////////////////
419419

420-
Return::Return(ParserState pstate, Expression_Obj val)
420+
Return::Return(ParserState pstate, ExpressionObj val)
421421
: Statement(pstate), value_(val)
422422
{ statement_type(RETURN); }
423423
Return::Return(const Return* ptr)
@@ -557,7 +557,7 @@ namespace Sass {
557557
/////////////////////////////////////////////////////////////////////////
558558
/////////////////////////////////////////////////////////////////////////
559559

560-
Unary_Expression::Unary_Expression(ParserState pstate, Type t, Expression_Obj o)
560+
Unary_Expression::Unary_Expression(ParserState pstate, Type t, ExpressionObj o)
561561
: Expression(pstate), optype_(t), operand_(o), hash_(0)
562562
{ }
563563
Unary_Expression::Unary_Expression(const Unary_Expression* ptr)
@@ -602,7 +602,7 @@ namespace Sass {
602602
/////////////////////////////////////////////////////////////////////////
603603
/////////////////////////////////////////////////////////////////////////
604604

605-
Argument::Argument(ParserState pstate, Expression_Obj val, sass::string n, bool rest, bool keyword)
605+
Argument::Argument(ParserState pstate, ExpressionObj val, sass::string n, bool rest, bool keyword)
606606
: Expression(pstate), value_(val), name_(n), is_rest_argument_(rest), is_keyword_argument_(keyword), hash_(0)
607607
{
608608
if (!name_.empty() && is_rest_argument_) {
@@ -739,12 +739,12 @@ namespace Sass {
739739
/////////////////////////////////////////////////////////////////////////
740740

741741
Media_Query::Media_Query(ParserState pstate, String_Obj t, size_t s, bool n, bool r)
742-
: Expression(pstate), Vectorized<Media_Query_Expression_Obj>(s),
742+
: Expression(pstate), Vectorized<Media_Query_ExpressionObj>(s),
743743
media_type_(t), is_negated_(n), is_restricted_(r)
744744
{ }
745745
Media_Query::Media_Query(const Media_Query* ptr)
746746
: Expression(ptr),
747-
Vectorized<Media_Query_Expression_Obj>(*ptr),
747+
Vectorized<Media_Query_ExpressionObj>(*ptr),
748748
media_type_(ptr->media_type_),
749749
is_negated_(ptr->is_negated_),
750750
is_restricted_(ptr->is_restricted_)
@@ -754,7 +754,7 @@ namespace Sass {
754754
/////////////////////////////////////////////////////////////////////////
755755

756756
Media_Query_Expression::Media_Query_Expression(ParserState pstate,
757-
Expression_Obj f, Expression_Obj v, bool i)
757+
ExpressionObj f, ExpressionObj v, bool i)
758758
: Expression(pstate), feature_(f), value_(v), is_interpolated_(i)
759759
{ }
760760
Media_Query_Expression::Media_Query_Expression(const Media_Query_Expression* ptr)
@@ -767,7 +767,7 @@ namespace Sass {
767767
/////////////////////////////////////////////////////////////////////////
768768
/////////////////////////////////////////////////////////////////////////
769769

770-
At_Root_Query::At_Root_Query(ParserState pstate, Expression_Obj f, Expression_Obj v, bool i)
770+
At_Root_Query::At_Root_Query(ParserState pstate, ExpressionObj f, ExpressionObj v, bool i)
771771
: Expression(pstate), feature_(f), value_(v)
772772
{ }
773773
At_Root_Query::At_Root_Query(const At_Root_Query* ptr)
@@ -855,7 +855,7 @@ namespace Sass {
855855
/////////////////////////////////////////////////////////////////////////
856856
/////////////////////////////////////////////////////////////////////////
857857

858-
Parameter::Parameter(ParserState pstate, sass::string n, Expression_Obj def, bool rest)
858+
Parameter::Parameter(ParserState pstate, sass::string n, ExpressionObj def, bool rest)
859859
: AST_Node(pstate), name_(n), default_value_(def), is_rest_parameter_(rest)
860860
{ }
861861
Parameter::Parameter(const Parameter* ptr)

0 commit comments

Comments
 (0)