Sha256: f1da9103d10ffdd20d37b4b99653f532b5692cfbe546e8db78551e8c9dcab118
Contents?: true
Size: 1.4 KB
Versions: 1
Compression:
Stored size: 1.4 KB
Contents
#ifndef SASS_CONTEXTUALIZE_H #define SASS_CONTEXTUALIZE_H #include "eval.hpp" #include "context.hpp" #include "operation.hpp" #include "environment.hpp" #include "ast_fwd_decl.hpp" namespace Sass { struct Backtrace; typedef Environment<AST_Node*> Env; class Contextualize : public Operation_CRTP<Selector*, Contextualize> { Context& ctx; Eval* eval; Env* env; Selector* parent; Backtrace* backtrace; Selector* fallback_impl(AST_Node* n); public: Selector* placeholder; Selector* extender; Contextualize(Context&, Eval*, Env*, Backtrace*, Selector* placeholder = 0, Selector* extender = 0); virtual ~Contextualize(); Contextualize* with(Selector*, Env*, Backtrace*, Selector* placeholder = 0, Selector* extender = 0); using Operation<Selector*>::operator(); Selector* operator()(Selector_Schema*); Selector* operator()(Selector_List*); Selector* operator()(Complex_Selector*); Selector* operator()(Compound_Selector*); Selector* operator()(Wrapped_Selector*); Selector* operator()(Pseudo_Selector*); Selector* operator()(Attribute_Selector*); Selector* operator()(Selector_Qualifier*); Selector* operator()(Type_Selector*); Selector* operator()(Selector_Placeholder*); Selector* operator()(Selector_Reference*); template <typename U> Selector* fallback(U x) { return fallback_impl(x); } }; } #endif
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sassc-0.0.10 | ext/libsass/contextualize.hpp |