You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
465 B
21 lines
465 B
|
3 years ago
|
#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
|