Sha256: 53802fce8a9c631efb8237863a78eac5b26911322227a1811fe7afddcd6a9b7f

Contents?: true

Size: 714 Bytes

Versions: 25

Compression:

Stored size: 714 Bytes

Contents

#ifndef SASS_LISTIZE_H
#define SASS_LISTIZE_H

// sass.hpp must go before all system headers to get the
// __EXTENSIONS__ fix on Solaris.
#include "sass.hpp"

#include <vector>
#include <iostream>

#include "ast.hpp"
#include "context.hpp"
#include "operation.hpp"
#include "environment.hpp"

namespace Sass {

  struct Backtrace;

  class Listize : public Operation_CRTP<Expression*, Listize> {

  public:
    Listize();
    ~Listize() { }

    Expression* operator()(Selector_List*);
    Expression* operator()(Complex_Selector*);
    Expression* operator()(Compound_Selector*);

    // generic fallback
    template <typename U>
    Expression* fallback(U x)
    { return Cast<Expression>(x); }
  };

}

#endif

Version data entries

25 entries across 16 versions & 2 rubygems

Version Path
sassc-2.1.0.pre3 ext/libsass/src/listize.hpp
sassc-2.1.0.pre2-x86_64-linux ext/libsass/src/listize.hpp
sassc-2.1.0.pre2 ext/libsass/src/listize.hpp
sassc-2.1.0.pre1-x86_64-linux ext/libsass/src/listize.hpp
sassc-2.1.0.pre1 ext/libsass/src/listize.hpp