Sha256: 0819cd8c5a8544752cc4d3d8bcee64d5d983b6b2c7b8bc89f1270f03896182fb

Contents?: true

Size: 747 Bytes

Versions: 6

Compression:

Stored size: 747 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*> 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*);

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

}

#endif

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sassc-1.8.3 ext/libsass/src/listize.hpp
sassc-1.8.2 ext/libsass/src/listize.hpp
sassc-1.8.1 ext/libsass/src/listize.hpp
sassc-1.8.0 ext/libsass/src/listize.hpp
sassc-1.8.0.pre2 ext/libsass/src/listize.hpp
sassc-1.8.0.pre1 ext/libsass/src/listize.hpp