Sha256: 309c68bcc99ad411daaf61be402bd1177628c13c65e8d2104e479d7179955795

Contents?: true

Size: 735 Bytes

Versions: 3

Compression:

Stored size: 735 Bytes

Contents

#ifndef SASS_REMOVE_PLACEHOLDERS_H
#define SASS_REMOVE_PLACEHOLDERS_H

#pragma once

#include "ast.hpp"
#include "operation.hpp"

namespace Sass {


    class Context;

    class Remove_Placeholders : public Operation_CRTP<void, Remove_Placeholders> {

        Context&          ctx;

        void fallback_impl(AST_Node* n) {}

    private:
      Selector_List* remove_placeholders(Selector_List*);

    public:
        Remove_Placeholders(Context&);
        ~Remove_Placeholders() { }

        void operator()(Block*);
        void operator()(Ruleset*);
        void operator()(Media_Block*);
        void operator()(At_Rule*);

        template <typename U>
        void fallback(U x) { return fallback_impl(x); }
    };

}

#endif

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sassc-1.9.0 ext/libsass/src/remove_placeholders.hpp
sassc-1.8.5 ext/libsass/src/remove_placeholders.hpp
sassc-1.8.4 ext/libsass/src/remove_placeholders.hpp