Initial commit
[yaffs-website] / node_modules / node-sass / src / sass_types / factory.h
1 #ifndef SASS_TYPES_FACTORY_H
2 #define SASS_TYPES_FACTORY_H
3
4 #include <nan.h>
5 #include <sass/values.h>
6 #include "value.h"
7
8 namespace SassTypes
9 {
10   // This is the guru that knows everything about instantiating the right subclass of SassTypes::Value
11   // to wrap a given Sass_Value object.
12   class Factory {
13     public:
14       static NAN_MODULE_INIT(initExports);
15       static Value* create(Sass_Value*);
16       static Value* unwrap(v8::Local<v8::Value>);
17   };
18 }
19
20 #endif