Sha256: c480d85513054733304c9e5c160c913278a2a7abd8deffe9bc73adfefd16409c

Contents?: true

Size: 695 Bytes

Versions: 6

Compression:

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

    Memory_Manager& mem;

    Expression* fallback_impl(AST_Node* n);

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

    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 & 2 rubygems

Version Path
sassc-1.10.1 ext/libsass/src/listize.hpp
sassc-1.10.0 ext/libsass/src/listize.hpp
blackboard-3.1.9 lib/site_template/node_modules/node-sass/src/libsass/src/listize.hpp
sassc-1.9.0 ext/libsass/src/listize.hpp
sassc-1.8.5 ext/libsass/src/listize.hpp
sassc-1.8.4 ext/libsass/src/listize.hpp