MrShi
2 天以前 4eac422e52a4d28fb651b75d0f054697c7a2c0fa
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
#ifndef SASS_TYPES_NULL_H
#define SASS_TYPES_NULL_H
 
#include <nan.h>
#include "value.h"
 
namespace SassTypes
{
  class Null : public SassTypes::Value {
    public:
      static Null& get_singleton();
      static v8::Local<v8::Function> get_constructor();
 
      Sass_Value* get_sass_value();
      v8::Local<v8::Object> get_js_object();
 
      static NAN_METHOD(New);
 
    private:
      Null();
 
      Nan::Persistent<v8::Object> js_object;
 
      static Nan::Persistent<v8::Function> constructor;
      static bool constructor_locked;
  };
}
 
#endif