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