Sha256: 364a6dc9da6163675904e23fd59f2fb2e35d6532eb82823ab4eaf5b1e38752fb

Contents?: true

Size: 895 Bytes

Versions: 8

Compression:

Stored size: 895 Bytes

Contents

#define SASS_TO_C

#ifndef SASS_OPERATION
#include "operation.hpp"
#endif

#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); }
  };

}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sassc-0.0.9 ext/libsass/to_c.hpp
sassc-0.0.8 ext/libsass/to_c.hpp
sassc-0.0.7 ext/libsass/to_c.hpp
sassc-0.0.6 ext/libsass/to_c.hpp
sassc-0.0.5 ext/libsass/to_c.hpp
sassc-0.0.4 ext/libsass/to_c.hpp
sassc-0.0.2 ext/libsass/to_c.hpp
sassc-0.0.1 ext/libsass/to_c.hpp