Sha256: b5821b49dbafb63ac7a66d2e47c0d0b9daa8eb9be74526d59efd4c203628062a
Contents?: true
Size: 1010 Bytes
Versions: 3
Compression:
Stored size: 1010 Bytes
Contents
#ifndef SASS_EXTEND_H #define SASS_EXTEND_H #include <string> #include "ast.hpp" #include "operation.hpp" #include "subset_map.hpp" namespace Sass { class Context; class Node; typedef Subset_Map<std::string, std::pair<Complex_Selector*, Compound_Selector*> > ExtensionSubsetMap; class Extend : public Operation_CRTP<void, Extend> { Context& ctx; ExtensionSubsetMap& subset_map; void fallback_impl(AST_Node* n) { } public: static Node subweave(Node& one, Node& two, Context& ctx); static Selector_List* extendSelectorList(Selector_List* pSelectorList, Context& ctx, ExtensionSubsetMap& subset_map, bool isReplace, bool& extendedSomething); Extend(Context&, ExtensionSubsetMap&); ~Extend() { } void operator()(Block*); void operator()(Ruleset*); void operator()(Supports_Block*); 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/extend.hpp |
sassc-1.8.5 | ext/libsass/src/extend.hpp |
sassc-1.8.4 | ext/libsass/src/extend.hpp |