// Initialize the engine instance after construction.  Needed
	// to resolve circularity issues at startup time.
	public void Init()
			{
				// Initialize the basic "Object" and "Function" objects,
				// which must be created carefully to avoid circularities.
				objectPrototype = new LenientObjectPrototype();
				functionPrototype = new LenientFunctionPrototype();
				objectConstructor = new ObjectConstructor();
				functionConstructor = new FunctionConstructor();
				objectPrototype.Init(engine);
				functionPrototype.Init(engine, objectPrototype);
				objectConstructor.Init(engine, functionPrototype);
				functionConstructor.Init(engine, functionPrototype);
			}
Пример #2
0
 internal GlobalObject(){
   this.originalActiveXObjectField = null;
   this.originalArrayField = null;
   this.originalBooleanField = null;
   this.originalDateField = null;
   this.originalEnumeratorField = null;
   this.originalEvalErrorField = null;
   this.originalErrorField = null;
   this.originalFunctionField = null;
   this.originalNumberField = null;
   this.originalObjectField = null;
   this.originalObjectPrototypeField = null;
   this.originalRangeErrorField = null;
   this.originalReferenceErrorField = null;
   this.originalRegExpField = null;
   this.originalStringField = null;
   this.originalSyntaxErrorField = null;
   this.originalTypeErrorField = null;
   this.originalVBArrayField = null;
   this.originalURIErrorField = null;
 }
Пример #3
0
 internal GlobalObject()
 {
     this.originalActiveXObjectField   = null;
     this.originalArrayField           = null;
     this.originalBooleanField         = null;
     this.originalDateField            = null;
     this.originalEnumeratorField      = null;
     this.originalEvalErrorField       = null;
     this.originalErrorField           = null;
     this.originalFunctionField        = null;
     this.originalNumberField          = null;
     this.originalObjectField          = null;
     this.originalObjectPrototypeField = null;
     this.originalRangeErrorField      = null;
     this.originalReferenceErrorField  = null;
     this.originalRegExpField          = null;
     this.originalStringField          = null;
     this.originalSyntaxErrorField     = null;
     this.originalTypeErrorField       = null;
     this.originalVBArrayField         = null;
     this.originalURIErrorField        = null;
 }