예제 #1
0
 public static BoxedValue ToBoxedValue(Undefined u)
 {
     return(Undefined.Boxed);
 }
예제 #2
0
 public void Put(string name, Undefined value)
 {
     this.Put(name, value, TypeTags.Undefined);
 }
예제 #3
0
 public static double ToNumber(Undefined u)
 {
     return double.NaN;
 }
예제 #4
0
 public static double ToNumber(Undefined u)
 {
     return(double.NaN);
 }
예제 #5
0
 public void Put(Undefined index, object value, uint tag)
 {
     this.Put("undefined", value, tag);
 }
예제 #6
0
 public bool Has(Undefined index)
 {
     return(this.Has("undefined"));
 }
예제 #7
0
 static Undefined()
 {
     instance = new Undefined();
     boxed = BoxedValue.Box(instance, TypeTags.Undefined);
 }
예제 #8
0
 public void Put(Undefined index, BoxedValue value)
 {
     this.Put("undefined", value);
 }
예제 #9
0
 public static string ToString(Undefined u)
 {
     return "undefined";
 }
예제 #10
0
 public static BoxedValue Box(Undefined value)
 {
     return(Undefined.Boxed);
 }
예제 #11
0
 public static BoxedValue ToPrimitive(Undefined u, DefaultValueHint hint)
 {
     return Undefined.Boxed;
 }
예제 #12
0
 public static bool ToBoolean(Undefined u)
 {
     return false;
 }
예제 #13
0
 public static CommonObject ToObject(Environment env, Undefined undef)
 {
     return env.RaiseTypeError<CommonObject>("Can't convert Undefined to Object");
 }
예제 #14
0
 public void Put(uint index, Undefined value)
 {
     this.Put(index, value, TypeTags.Undefined);
 }
예제 #15
0
 public static CommonObject ToObject(Environment env, Undefined undef)
 {
     return(env.RaiseTypeError <CommonObject>("Can't convert Undefined to Object"));
 }
예제 #16
0
 public void Put(string name, Undefined value, ushort attrs)
 {
     this.Put(name, value);
     this.SetAttrs(name, attrs);
 }
예제 #17
0
 public static bool ToBoolean(Undefined u)
 {
     return(false);
 }
예제 #18
0
 public void Put(Undefined index, double value)
 {
     this.Put("undefined", value);
 }
예제 #19
0
 public static BoxedValue ToPrimitive(Undefined u, DefaultValueHint hint)
 {
     return(Undefined.Boxed);
 }
예제 #20
0
 public BoxedValue Get(Undefined index)
 {
     return(this.Get("undefined"));
 }
예제 #21
0
 public static string ToString(Undefined u)
 {
     return("undefined");
 }
예제 #22
0
 static Undefined()
 {
     instance = new Undefined();
     boxed    = BoxedValue.Box(instance, TypeTags.Undefined);
 }
예제 #23
0
 public static BoxedValue ToBoxedValue(Undefined u)
 {
     return Undefined.Boxed;
 }