Welcome to mirror list, hosted at ThFree Co, Russian Federation.

factory.h « sass_types « src « node-sass « node_modules - github.com/austingebauer/devise.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 27b7e3fa4cfdc8f0a7b0223ebe3086df51506f81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef SASS_TYPES_FACTORY_H
#define SASS_TYPES_FACTORY_H

#include <nan.h>
#include <sass/values.h>
#include "value.h"

namespace SassTypes
{
  // This is the guru that knows everything about instantiating the right subclass of SassTypes::Value
  // to wrap a given Sass_Value object.
  class Factory {
    public:
      static NAN_MODULE_INIT(initExports);
      static Value* create(Sass_Value*);
      static Value* unwrap(v8::Local<v8::Value>);
  };
}

#endif