Sha256: 15f240fa59f11b65ff5fbb360967d5feb494b61041aa822fa0d8e4bd9b4918a9

Contents?: true

Size: 812 Bytes

Versions: 17

Compression:

Stored size: 812 Bytes

Contents

#ifndef SASS_AST_DEF_MACROS_H
#define SASS_AST_DEF_MACROS_H

#define ATTACH_OPERATIONS()\
virtual void perform(Operation<void>* op) { (*op)(this); }\
virtual AST_Node* perform(Operation<AST_Node*>* op) { return (*op)(this); }\
virtual Statement* perform(Operation<Statement*>* op) { return (*op)(this); }\
virtual Expression* perform(Operation<Expression*>* op) { return (*op)(this); }\
virtual Selector* perform(Operation<Selector*>* op) { return (*op)(this); }\
virtual string perform(Operation<string>* op) { return (*op)(this); }\
virtual Sass_Value* perform(Operation<Sass_Value*>* op) { return (*op)(this); }

#define ADD_PROPERTY(type, name)\
protected:\
  type name##_;\
public:\
  type name() const        { return name##_; }\
  type name(type name##__) { return name##_ = name##__; }\
private:

#endif

Version data entries

17 entries across 17 versions & 2 rubygems

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