@@ -58,7 +58,7 @@ namespace Sass {
58
58
pstate_.offset += pstate - pstate_ + pstate.offset ;
59
59
}
60
60
61
- std ::string AST_Node::to_string (Sass_Inspect_Options opt) const
61
+ sass ::string AST_Node::to_string (Sass_Inspect_Options opt) const
62
62
{
63
63
Sass_Output_Options out (opt);
64
64
Emitter emitter (out);
@@ -69,7 +69,7 @@ namespace Sass {
69
69
return i.get_buffer ();
70
70
}
71
71
72
- std ::string AST_Node::to_css (Sass_Inspect_Options opt) const
72
+ sass ::string AST_Node::to_css (Sass_Inspect_Options opt) const
73
73
{
74
74
opt.output_style = TO_CSS;
75
75
Sass_Output_Options out (opt);
@@ -81,7 +81,7 @@ namespace Sass {
81
81
return i.get_buffer ();
82
82
}
83
83
84
- std ::string AST_Node::to_string () const
84
+ sass ::string AST_Node::to_string () const
85
85
{
86
86
return to_string ({ NESTED, 5 });
87
87
}
@@ -200,7 +200,7 @@ namespace Sass {
200
200
// ///////////////////////////////////////////////////////////////////////
201
201
// ///////////////////////////////////////////////////////////////////////
202
202
203
- Trace::Trace (ParserState pstate, std ::string n, Block_Obj b, char type)
203
+ Trace::Trace (ParserState pstate, sass ::string n, Block_Obj b, char type)
204
204
: Has_Block(pstate, b), type_(type), name_(n)
205
205
{ }
206
206
Trace::Trace (const Trace* ptr)
@@ -212,7 +212,7 @@ namespace Sass {
212
212
// ///////////////////////////////////////////////////////////////////////
213
213
// ///////////////////////////////////////////////////////////////////////
214
214
215
- Directive::Directive (ParserState pstate, std ::string kwd, SelectorListObj sel, Block_Obj b, Expression_Obj val)
215
+ Directive::Directive (ParserState pstate, sass ::string kwd, SelectorListObj sel, Block_Obj b, Expression_Obj val)
216
216
: Has_Block(pstate, b), keyword_(kwd), selector_(sel), value_(val) // set value manually if needed
217
217
{ statement_type (DIRECTIVE); }
218
218
Directive::Directive (const Directive* ptr)
@@ -271,7 +271,7 @@ namespace Sass {
271
271
// ///////////////////////////////////////////////////////////////////////
272
272
// ///////////////////////////////////////////////////////////////////////
273
273
274
- Assignment::Assignment (ParserState pstate, std ::string var, Expression_Obj val, bool is_default, bool is_global)
274
+ Assignment::Assignment (ParserState pstate, sass ::string var, Expression_Obj val, bool is_default, bool is_global)
275
275
: Statement(pstate), variable_(var), value_(val), is_default_(is_default), is_global_(is_global)
276
276
{ statement_type (ASSIGNMENT); }
277
277
Assignment::Assignment (const Assignment* ptr)
@@ -287,8 +287,8 @@ namespace Sass {
287
287
288
288
Import::Import (ParserState pstate)
289
289
: Statement(pstate),
290
- urls_(std ::vector<Expression_Obj>()),
291
- incs_(std ::vector<Include>()),
290
+ urls_(sass ::vector<Expression_Obj>()),
291
+ incs_(sass ::vector<Include>()),
292
292
import_queries_()
293
293
{ statement_type (IMPORT); }
294
294
Import::Import (const Import* ptr)
@@ -298,8 +298,8 @@ namespace Sass {
298
298
import_queries_(ptr->import_queries_)
299
299
{ statement_type (IMPORT); }
300
300
301
- std ::vector<Include>& Import::incs () { return incs_; }
302
- std ::vector<Expression_Obj>& Import::urls () { return urls_; }
301
+ sass ::vector<Include>& Import::incs () { return incs_; }
302
+ sass ::vector<Expression_Obj>& Import::urls () { return urls_; }
303
303
304
304
// ///////////////////////////////////////////////////////////////////////
305
305
// ///////////////////////////////////////////////////////////////////////
@@ -311,8 +311,8 @@ namespace Sass {
311
311
: Statement(ptr), resource_(ptr->resource_)
312
312
{ statement_type (IMPORT_STUB); }
313
313
Include Import_Stub::resource () { return resource_; };
314
- std ::string Import_Stub::imp_path () { return resource_.imp_path ; };
315
- std ::string Import_Stub::abs_path () { return resource_.abs_path ; };
314
+ sass ::string Import_Stub::imp_path () { return resource_.imp_path ; };
315
+ sass ::string Import_Stub::abs_path () { return resource_.abs_path ; };
316
316
317
317
// ///////////////////////////////////////////////////////////////////////
318
318
// ///////////////////////////////////////////////////////////////////////
@@ -382,7 +382,7 @@ namespace Sass {
382
382
// ///////////////////////////////////////////////////////////////////////
383
383
384
384
For::For (ParserState pstate,
385
- std ::string var, Expression_Obj lo, Expression_Obj hi, Block_Obj b, bool inc)
385
+ sass ::string var, Expression_Obj lo, Expression_Obj hi, Block_Obj b, bool inc)
386
386
: Has_Block(pstate, b),
387
387
variable_(var), lower_bound_(lo), upper_bound_(hi), is_inclusive_(inc)
388
388
{ statement_type (FOR); }
@@ -397,7 +397,7 @@ namespace Sass {
397
397
// ///////////////////////////////////////////////////////////////////////
398
398
// ///////////////////////////////////////////////////////////////////////
399
399
400
- Each::Each (ParserState pstate, std ::vector<std ::string> vars, Expression_Obj lst, Block_Obj b)
400
+ Each::Each (ParserState pstate, sass ::vector<sass ::string> vars, Expression_Obj lst, Block_Obj b)
401
401
: Has_Block(pstate, b), variables_(vars), list_(lst)
402
402
{ statement_type (EACH); }
403
403
Each::Each (const Each* ptr)
@@ -459,7 +459,7 @@ namespace Sass {
459
459
{ }
460
460
461
461
Definition::Definition (ParserState pstate,
462
- std ::string n,
462
+ sass ::string n,
463
463
Parameters_Obj params,
464
464
Block_Obj b,
465
465
Type t)
@@ -477,7 +477,7 @@ namespace Sass {
477
477
478
478
Definition::Definition (ParserState pstate,
479
479
Signature sig,
480
- std ::string n,
480
+ sass ::string n,
481
481
Parameters_Obj params,
482
482
Native_Function func_ptr,
483
483
bool overload_stub)
@@ -495,7 +495,7 @@ namespace Sass {
495
495
496
496
Definition::Definition (ParserState pstate,
497
497
Signature sig,
498
- std ::string n,
498
+ sass ::string n,
499
499
Parameters_Obj params,
500
500
Sass_Function_Entry c_func)
501
501
: Has_Block(pstate, {}),
@@ -513,7 +513,7 @@ namespace Sass {
513
513
// ///////////////////////////////////////////////////////////////////////
514
514
// ///////////////////////////////////////////////////////////////////////
515
515
516
- Mixin_Call::Mixin_Call (ParserState pstate, std ::string n, Arguments_Obj args, Parameters_Obj b_params, Block_Obj b)
516
+ Mixin_Call::Mixin_Call (ParserState pstate, sass ::string n, Arguments_Obj args, Parameters_Obj b_params, Block_Obj b)
517
517
: Has_Block(pstate, b), name_(n), arguments_(args), block_parameters_(b_params)
518
518
{ }
519
519
Mixin_Call::Mixin_Call (const Mixin_Call* ptr)
@@ -566,7 +566,7 @@ namespace Sass {
566
566
operand_(ptr->operand_),
567
567
hash_(ptr->hash_)
568
568
{ }
569
- const std ::string Unary_Expression::type_name () {
569
+ const sass ::string Unary_Expression::type_name () {
570
570
switch (optype_) {
571
571
case PLUS: return " plus" ;
572
572
case MINUS: return " minus" ;
@@ -602,7 +602,7 @@ namespace Sass {
602
602
// ///////////////////////////////////////////////////////////////////////
603
603
// ///////////////////////////////////////////////////////////////////////
604
604
605
- Argument::Argument (ParserState pstate, Expression_Obj val, std ::string n, bool rest, bool keyword)
605
+ Argument::Argument (ParserState pstate, Expression_Obj val, sass ::string n, bool rest, bool keyword)
606
606
: Expression(pstate), value_(val), name_(n), is_rest_argument_(rest), is_keyword_argument_(keyword), hash_(0 )
607
607
{
608
608
if (!name_.empty () && is_rest_argument_) {
@@ -646,7 +646,7 @@ namespace Sass {
646
646
size_t Argument::hash () const
647
647
{
648
648
if (hash_ == 0 ) {
649
- hash_ = std::hash<std ::string>()(name ());
649
+ hash_ = std::hash<sass ::string>()(name ());
650
650
hash_combine (hash_, value ()->hash ());
651
651
}
652
652
return hash_;
@@ -776,11 +776,11 @@ namespace Sass {
776
776
value_(ptr->value_)
777
777
{ }
778
778
779
- bool At_Root_Query::exclude (std ::string str)
779
+ bool At_Root_Query::exclude (sass ::string str)
780
780
{
781
781
bool with = feature () && unquote (feature ()->to_string ()).compare (" with" ) == 0 ;
782
782
List* l = static_cast <List*>(value ().ptr ());
783
- std ::string v;
783
+ sass ::string v;
784
784
785
785
if (with)
786
786
{
@@ -828,7 +828,7 @@ namespace Sass {
828
828
{
829
829
if (Directive_Obj dir = Cast<Directive>(s))
830
830
{
831
- std ::string keyword (dir->keyword ());
831
+ sass ::string keyword (dir->keyword ());
832
832
if (keyword.length () > 0 ) keyword.erase (0 , 1 );
833
833
return expression ()->exclude (keyword);
834
834
}
@@ -855,7 +855,7 @@ namespace Sass {
855
855
// ///////////////////////////////////////////////////////////////////////
856
856
// ///////////////////////////////////////////////////////////////////////
857
857
858
- Parameter::Parameter (ParserState pstate, std ::string n, Expression_Obj def, bool rest)
858
+ Parameter::Parameter (ParserState pstate, sass ::string n, Expression_Obj def, bool rest)
859
859
: AST_Node(pstate), name_(n), default_value_(def), is_rest_parameter_(rest)
860
860
{ }
861
861
Parameter::Parameter (const Parameter* ptr)
0 commit comments