@@ -515,6 +515,7 @@ inline void debug_ast(AST_Node* node, std::string ind = "", Env* env = 0)
515
515
std::cerr << " [" << prettyprint (expression->value ()) << " ]" ;
516
516
if (expression->is_delayed ()) std::cerr << " [delayed]" ;
517
517
if (expression->sass_fix_1291 ()) std::cerr << " [sass_fix_1291]" ;
518
+ if (expression->is_interpolant ()) std::cerr << " [interpolant]" ;
518
519
if (expression->quote_mark ()) std::cerr << " [quote_mark: " << expression->quote_mark () << " ]" ;
519
520
std::cerr << " <" << prettyprint (expression->pstate ().token .ws_before ()) << " >" << std::endl;
520
521
} else if (dynamic_cast <String_Constant*>(node)) {
@@ -527,13 +528,15 @@ inline void debug_ast(AST_Node* node, std::string ind = "", Env* env = 0)
527
528
std::cerr << " [" << prettyprint (expression->value ()) << " ]" ;
528
529
if (expression->is_delayed ()) std::cerr << " [delayed]" ;
529
530
if (expression->sass_fix_1291 ()) std::cerr << " [sass_fix_1291]" ;
531
+ if (expression->is_interpolant ()) std::cerr << " [interpolant]" ;
530
532
std::cerr << " <" << prettyprint (expression->pstate ().token .ws_before ()) << " >" << std::endl;
531
533
} else if (dynamic_cast <String_Schema*>(node)) {
532
534
String_Schema* expression = dynamic_cast <String_Schema*>(node);
533
535
std::cerr << ind << " String_Schema " << expression;
534
536
std::cerr << " " << expression->concrete_type ();
535
537
if (expression->is_delayed ()) std::cerr << " [delayed]" ;
536
538
if (expression->has_interpolants ()) std::cerr << " [has_interpolants]" ;
539
+ if (expression->is_interpolant ()) std::cerr << " [interpolant]" ;
537
540
std::cerr << " <" << prettyprint (expression->pstate ().token .ws_before ()) << " >" << std::endl;
538
541
for (auto i : expression->elements ()) { debug_ast (i, ind + " " , env); }
539
542
} else if (dynamic_cast <String*>(node)) {
@@ -542,6 +545,7 @@ inline void debug_ast(AST_Node* node, std::string ind = "", Env* env = 0)
542
545
std::cerr << " " << expression->concrete_type ();
543
546
std::cerr << " (" << pstate_source_position (node) << " )" ;
544
547
if (expression->sass_fix_1291 ()) std::cerr << " [sass_fix_1291]" ;
548
+ if (expression->is_interpolant ()) std::cerr << " [interpolant]" ;
545
549
std::cerr << " <" << prettyprint (expression->pstate ().token .ws_before ()) << " >" << std::endl;
546
550
} else if (dynamic_cast <Expression*>(node)) {
547
551
Expression* expression = dynamic_cast <Expression*>(node);
0 commit comments