Sha256: 4ad6dcd2691fa75ac1bd28732b591b23ec3be725056856bae30ad5b534931756

Contents?: true

Size: 893 Bytes

Versions: 17

Compression:

Stored size: 893 Bytes

Contents

#ifndef SASS_TO_C_H
#define SASS_TO_C_H

#include "operation.hpp"
#include "sass_values.h"

namespace Sass {
  using namespace std;

  class AST_Node;
  class Boolean;
  class Number;
  class String_Constant;
  class List;
  class Map;
  class Null;

  class To_C : public Operation_CRTP<Sass_Value*, To_C> {

    Sass_Value* fallback_impl(AST_Node* n);

  public:

    To_C() { }
    virtual ~To_C() { }
    using Operation<Sass_Value*>::operator();

    Sass_Value* operator()(Boolean*);
    Sass_Value* operator()(Number*);
    Sass_Value* operator()(Color*);
    Sass_Value* operator()(String_Constant*);
    Sass_Value* operator()(List*);
    Sass_Value* operator()(Map*);
    Sass_Value* operator()(Null*);
    Sass_Value* operator()(Arguments*);
    Sass_Value* operator()(Argument*);

    template <typename U>
    Sass_Value* fallback(U x) { return fallback_impl(x); }
  };

}

#endif

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
gulp_assets-1.0.0.pre.5 template/node_modules/gulp-sass/node_modules/node-sass/src/libsass/to_c.hpp
gulp_assets-1.0.0.pre.4 template/node_modules/gulp-sass/node_modules/node-sass/src/libsass/to_c.hpp
gulp_assets-1.0.0.pre.3 template/node_modules/gulp-sass/node_modules/node-sass/src/libsass/to_c.hpp
sassc-1.7.1 ext/libsass/to_c.hpp
sassc-1.7.0 ext/libsass/to_c.hpp
sassc-1.6.0 ext/libsass/to_c.hpp
sassc-1.5.1 ext/libsass/to_c.hpp
sassc-1.5.0 ext/libsass/to_c.hpp
sassc-1.4.0 ext/libsass/to_c.hpp
sassc-1.3.0 ext/libsass/to_c.hpp
sassc-1.2.0 ext/libsass/to_c.hpp
sassc-1.1.2 ext/libsass/to_c.hpp
sassc-1.1.1 ext/libsass/to_c.hpp
sassc-1.1.0 ext/libsass/to_c.hpp
sassc-1.0.0 ext/libsass/to_c.hpp
sassc-0.0.11 ext/libsass/to_c.hpp
sassc-0.0.10 ext/libsass/to_c.hpp