Sha256: 4ebb114e8fea43ba4a7b32c7e7a31f7b509a68c6aadde50613be82a3d2c4029d

Contents?: true

Size: 819 Bytes

Versions: 16

Compression:

Stored size: 819 Bytes

Contents

#ifndef SASS_LISTIZE_H
#define SASS_LISTIZE_H

#include <vector>
#include <iostream>

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

namespace Sass {
  using namespace std;

  typedef Environment<AST_Node*> Env;
  struct Backtrace;

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

    Context&            ctx;

    Expression* fallback_impl(AST_Node* n);

  public:
    Listize(Context&);
    virtual ~Listize() { }

    using Operation<Expression*>::operator();

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

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

}

#endif

Version data entries

16 entries across 16 versions & 2 rubygems

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