コード例 #1
0
 internal ArrayConstructor(LenientFunctionPrototype parent, LenientArrayPrototype prototypeProp)
   : base(parent, "Array", 1) {
   this.originalPrototype = prototypeProp;
   prototypeProp.constructor = this;
   this.proto = prototypeProp;
   this.noExpando = false;
 }
コード例 #2
0
 internal ArrayConstructor(LenientFunctionPrototype parent, LenientArrayPrototype prototypeProp) : base(parent, "Array", 1)
 {
     this.originalPrototype    = prototypeProp;
     prototypeProp.constructor = this;
     base.proto     = prototypeProp;
     base.noExpando = false;
 }
 internal RegExpConstructor(LenientFunctionPrototype parent, LenientRegExpPrototype prototypeProp, LenientArrayPrototype arrayPrototype) : base(parent, "RegExp", 2)
 {
     this.originalPrototype = prototypeProp;
     prototypeProp.constructor = this;
     base.proto = prototypeProp;
     this.arrayPrototype = arrayPrototype;
     this.regex = null;
     this.lastRegexMatch = null;
     this.inputString = "";
     this.lastInput = null;
     base.noExpando = false;
 }
コード例 #4
0
 internal RegExpConstructor(LenientFunctionPrototype parent,
                            LenientRegExpPrototype prototypeProp, LenientArrayPrototype arrayPrototype)
     : base(parent, "RegExp", 2)
 {
     this.originalPrototype    = prototypeProp;
     prototypeProp.constructor = this;
     this.proto          = prototypeProp;
     this.arrayPrototype = arrayPrototype;
     this.regex          = null;
     this.lastRegexMatch = null;
     this.inputString    = "";
     this.lastInput      = null;
     this.noExpando      = false;
 }