blob: 721a41c02c8709ff8f450326f69159e3086d983a (
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
26
27
28
29
30
31
|
#ifndef SASS_TYPES_BOOLEAN_H
#define SASS_TYPES_BOOLEAN_H
#include <nan.h>
#include "value.h"
#include "sass_value_wrapper.h"
namespace SassTypes
{
class Boolean : public SassTypes::Value {
public:
static Boolean& get_singleton(bool);
static v8::Local<v8::Function> get_constructor();
v8::Local<v8::Object> get_js_object();
static NAN_METHOD(New);
static NAN_METHOD(GetValue);
private:
Boolean(bool);
Nan::Persistent<v8::Object> js_object;
static Nan::Persistent<v8::Function> constructor;
static bool constructor_locked;
v8::Local<v8::Boolean> get_js_boolean();
};
}
#endif
|