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