Sha256: b316fe469f6f0bea681808a1f63c4ca666be308cf6a741a8346845a0fff22099
Contents?: true
Size: 954 Bytes
Versions: 7
Compression:
Stored size: 954 Bytes
Contents
#ifndef SASS_TO_VALUE_H #define SASS_TO_VALUE_H #include "operation.hpp" #include "sass/values.h" #include "ast_fwd_decl.hpp" namespace Sass { class To_Value : public Operation_CRTP<Value*, To_Value> { private: Context& ctx; public: To_Value(Context& ctx) : ctx(ctx) { } ~To_Value() { } using Operation<Value*>::operator(); Value* operator()(Argument*); Value* operator()(Boolean*); Value* operator()(Number*); Value* operator()(Color_RGBA*); Value* operator()(Color_HSLA*); Value* operator()(String_Constant*); Value* operator()(String_Quoted*); Value* operator()(Custom_Warning*); Value* operator()(Custom_Error*); Value* operator()(List*); Value* operator()(Map*); Value* operator()(Null*); Value* operator()(Function*); // convert to string via `To_String` Value* operator()(SelectorList*); Value* operator()(Binary_Expression*); }; } #endif
Version data entries
7 entries across 6 versions & 4 rubygems