Sha256: e67f4057893c6e7239e602092f10f6bfc4e70c64a8041f568446606d351f9e0a

Contents?: true

Size: 687 Bytes

Versions: 3

Compression:

Stored size: 687 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 {

  typedef Environment<AST_Node_Obj> Env;
  struct Backtrace;

  class Listize : public Operation_CRTP<Expression_Ptr, Listize> {

    Expression_Ptr fallback_impl(AST_Node_Ptr n);

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

    Expression_Ptr operator()(Selector_List_Ptr);
    Expression_Ptr operator()(Complex_Selector_Ptr);
    Expression_Ptr operator()(Compound_Selector_Ptr);

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

}

#endif

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sassc-1.11.4 ext/libsass/src/listize.hpp
sassc-1.11.3 ext/libsass/src/listize.hpp
sassc-1.11.2 ext/libsass/src/listize.hpp