23 lines
537 B
C++
23 lines
537 B
C++
#ifndef SASS_TYPES_STRING_H
|
|
#define SASS_TYPES_STRING_H
|
|
|
|
#include <nan.h>
|
|
#include "sass_value_wrapper.h"
|
|
|
|
namespace SassTypes
|
|
{
|
|
class String : public SassValueWrapper<String> {
|
|
public:
|
|
String(Sass_Value*);
|
|
static char const* get_constructor_name() { return "SassString"; }
|
|
static Sass_Value* construct(const std::vector<v8::Local<v8::Value>>, Sass_Value **);
|
|
|
|
static void initPrototype(v8::Local<v8::FunctionTemplate>);
|
|
|
|
static NAN_METHOD(GetValue);
|
|
static NAN_METHOD(SetValue);
|
|
};
|
|
}
|
|
|
|
#endif
|