blob: 48a02361fa30448ee83d154ec1a60a572a52892f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef SASS_TYPES_NUMBER_H
#define SASS_TYPES_NUMBER_H
#include <nan.h>
#include "sass_value_wrapper.h"
namespace SassTypes
{
class Number : public SassValueWrapper<Number> {
public:
Number(Sass_Value*);
static char const* get_constructor_name() { return "SassNumber"; }
static Sass_Value* construct(const std::vector<v8::Local<v8::Value>>, Sass_Value **out);
static void initPrototype(v8::Local<v8::FunctionTemplate>);
static NAN_METHOD(GetValue);
static NAN_METHOD(GetUnit);
static NAN_METHOD(SetValue);
static NAN_METHOD(SetUnit);
};
}
#endif
|