Sha256: de7eaef0b940abbf46feb45f4471553d0f3c82158b6aac29fe0a7683953e329a

Contents?: true

Size: 1.04 KB

Versions: 52

Compression:

Stored size: 1.04 KB

Contents

#ifndef SASS_TO_C_H
#define SASS_TO_C_H

#include "ast_fwd_decl.hpp"
#include "operation.hpp"
#include "sass/values.h"

namespace Sass {

  class To_C : public Operation_CRTP<union Sass_Value*, To_C> {
    // override this to define a catch-all
    union Sass_Value* fallback_impl(AST_Node_Ptr n);

  public:

    To_C() { }
    ~To_C() { }

    union Sass_Value* operator()(Boolean_Ptr);
    union Sass_Value* operator()(Number_Ptr);
    union Sass_Value* operator()(Color_Ptr);
    union Sass_Value* operator()(String_Constant_Ptr);
    union Sass_Value* operator()(String_Quoted_Ptr);
    union Sass_Value* operator()(Custom_Warning_Ptr);
    union Sass_Value* operator()(Custom_Error_Ptr);
    union Sass_Value* operator()(List_Ptr);
    union Sass_Value* operator()(Map_Ptr);
    union Sass_Value* operator()(Null_Ptr);
    union Sass_Value* operator()(Arguments_Ptr);
    union Sass_Value* operator()(Argument_Ptr);

    // dispatch to fallback implementation
    union Sass_Value* fallback(AST_Node_Ptr x)
    { return fallback_impl(x); }
  };

}

#endif

Version data entries

52 entries across 50 versions & 16 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/node-sass/src/libsass/src/to_c.hpp
optimacms-0.1.61 spec/dummy/node_modules/@rails/webpacker/node_modules/node-sass/src/libsass/src/to_c.hpp
disco_app-0.18.0 test/dummy/node_modules/node-sass/src/libsass/src/to_c.hpp
disco_app-0.18.2 test/dummy/node_modules/node-sass/src/libsass/src/to_c.hpp
tang-0.2.1 spec/tang_app/node_modules/node-sass/src/libsass/src/to_c.hpp
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/node-sass/src/libsass/src/to_c.hpp
groonga-client-model-6.0.0 test/apps/rails6.0.3.5/node_modules/node-sass/src/libsass/src/to_c.hpp
ruby2js-4.0.4 lib/tasks/testrails/node_modules/node-sass/src/libsass/src/to_c.hpp
ruby2js-4.0.3 lib/tasks/testrails/node_modules/node-sass/src/libsass/src/to_c.hpp
tang-0.2.0 spec/tang_app/node_modules/node-sass/src/libsass/src/to_c.hpp
tang-0.1.0 spec/tang_app/node_modules/node-sass/src/libsass/src/to_c.hpp
tang-0.0.9 spec/tang_app/node_modules/node-sass/src/libsass/src/to_c.hpp
enju_library-0.3.8 spec/dummy/node_modules/node-sass/src/libsass/src/to_c.hpp
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/sassc-2.0.0/ext/libsass/src/to_c.hpp
ilog-0.4.1 node_modules/node-sass/src/libsass/src/to_c.hpp
ilog-0.4.0 node_modules/node-sass/src/libsass/src/to_c.hpp
ilog-0.3.3 node_modules/node-sass/src/libsass/src/to_c.hpp
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/sassc-2.0.1/ext/libsass/src/to_c.hpp
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/sassc-2.0.1/ext/libsass/src/to_c.hpp
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/sassc-2.0.1/ext/libsass/src/to_c.hpp