Sha256: ad16a3738973118aff7649dbb11e8e82ad335459c59e67a8e1e37ba57bd64eb4
Contents?: true
Size: 874 Bytes
Versions: 2
Compression:
Stored size: 874 Bytes
Contents
#ifndef SASS_TO_STRING_H #define SASS_TO_STRING_H #include <string> #include "operation.hpp" namespace Sass { class Context; class Null; class To_String : public Operation_CRTP<std::string, To_String> { // import all the class-specific methods and override as desired using Operation<std::string>::operator(); // override this to define a catch-all std::string fallback_impl(AST_Node* n); Context* ctx; bool in_declaration; bool in_debug; public: To_String(Context* ctx = 0, bool in_declaration = true, bool in_debug = false); virtual ~To_String(); std::string operator()(Null* n); std::string operator()(String_Schema*); std::string operator()(String_Quoted*); std::string operator()(String_Constant*); template <typename U> std::string fallback(U n) { return fallback_impl(n); } }; } #endif
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sassc-1.8.3 | ext/libsass/src/to_string.hpp |
sassc-1.8.2 | ext/libsass/src/to_string.hpp |