Sha256: 6f90f2a967f5f5ab898a761f81f3f050dc95f2bb931a3a86e46cc705386a9287
Contents?: true
Size: 1.93 KB
Versions: 6
Compression:
Stored size: 1.93 KB
Contents
#ifndef SASS_CSSIZE_H #define SASS_CSSIZE_H #include "ast.hpp" #include "context.hpp" #include "operation.hpp" #include "environment.hpp" namespace Sass { struct Backtrace; class Cssize : public Operation_CRTP<Statement*, Cssize> { Backtraces& traces; BlockStack block_stack; sass::vector<Statement*> p_stack; public: Cssize(Context&); ~Cssize() { } Block* operator()(Block*); Statement* operator()(StyleRule*); // Statement* operator()(Bubble*); Statement* operator()(CssMediaRule*); Statement* operator()(SupportsRule*); Statement* operator()(AtRootRule*); Statement* operator()(AtRule*); Statement* operator()(Keyframe_Rule*); Statement* operator()(Trace*); Statement* operator()(Declaration*); // Statement* operator()(Assignment*); // Statement* operator()(Import*); // Statement* operator()(Import_Stub*); // Statement* operator()(WarningRule*); // Statement* operator()(Error*); // Statement* operator()(Comment*); // Statement* operator()(If*); // Statement* operator()(ForRule*); // Statement* operator()(EachRule*); // Statement* operator()(WhileRule*); // Statement* operator()(Return*); // Statement* operator()(ExtendRule*); // Statement* operator()(Definition*); // Statement* operator()(Mixin_Call*); // Statement* operator()(Content*); Statement* operator()(Null*); Statement* parent(); sass::vector<std::pair<bool, Block_Obj>> slice_by_bubble(Block*); Statement* bubble(AtRule*); Statement* bubble(AtRootRule*); Statement* bubble(CssMediaRule*); Statement* bubble(SupportsRule*); Block* debubble(Block* children, Statement* parent = 0); Block* flatten(const Block*); bool bubblable(Statement*); // generic fallback template <typename U> Statement* fallback(U x) { return Cast<Statement>(x); } void append_block(Block*, Block*); }; } #endif
Version data entries
6 entries across 5 versions & 4 rubygems