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