Sha256: ad9938ad54348edd0b7d0e8d568bac539b6685ec6b15740cf1ebc0f2d8c065d6

Contents?: true

Size: 518 Bytes

Versions: 8

Compression:

Stored size: 518 Bytes

Contents

#include <cmath>
#include <sstream>
#include <iomanip>

#ifndef SASS_TO_STRING
#include "to_string.hpp"
#endif

#include "inspect.hpp"
#include "ast.hpp"
#include "context.hpp"
#include <iostream>

namespace Sass {
  using namespace std;

  To_String::To_String(Context* ctx) : ctx(ctx) { }
  To_String::~To_String() { }

  inline string To_String::fallback_impl(AST_Node* n)
  {
    Inspect i(ctx);
    n->perform(&i);
    return i.get_buffer();
  }

  inline string To_String::operator()(Null* n)
  { return ""; }
}

Version data entries

8 entries across 8 versions & 1 rubygems

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