#ifndef SASS_LISTIZE_H #define SASS_LISTIZE_H #include #include #include "ast.hpp" #include "context.hpp" #include "operation.hpp" #include "environment.hpp" namespace Sass { typedef Environment Env; struct Backtrace; class Listize : public Operation_CRTP { Context& ctx; Expression* fallback_impl(AST_Node* n); public: Listize(Context&); virtual ~Listize() { } using Operation::operator(); Expression* operator()(Selector_List*); Expression* operator()(Complex_Selector*); Expression* operator()(Compound_Selector*); template Expression* fallback(U x) { return fallback_impl(x); } }; } #endif