[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/JScript/Execute EngineInstance.cs,1.
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/JScript/Execute EngineInstance.cs,1.1,1.2 |
Date: |
Sun, 16 Mar 2003 16:49:58 -0500 |
Update of /cvsroot/dotgnu-pnet/pnetlib/JScript/Execute
In directory subversions:/tmp/cvs-serv24591/JScript/Execute
Modified Files:
EngineInstance.cs
Log Message:
Begin implementing the JScript "String" class.
Index: EngineInstance.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/JScript/Execute/EngineInstance.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** EngineInstance.cs 13 Jan 2003 10:53:19 -0000 1.1
--- EngineInstance.cs 16 Mar 2003 21:49:40 -0000 1.2
***************
*** 40,43 ****
--- 40,45 ----
private ArrayPrototype arrayPrototype;
private ArrayConstructor arrayConstructor;
+ private StringPrototype stringPrototype;
+ private StringConstructor stringConstructor;
private TextWriter outStream;
private TextWriter errorStream;
***************
*** 122,125 ****
--- 124,151 ----
}
return arrayConstructor;
+ }
+ }
+ public StringPrototype GetStringPrototype()
+ {
+ lock(this)
+ {
+ if(stringPrototype == null)
+ {
+ stringPrototype = new
LenientStringPrototype
+
(GetObjectPrototype());
+ }
+ return stringPrototype;
+ }
+ }
+ public StringConstructor GetStringConstructor()
+ {
+ lock(this)
+ {
+ if(stringConstructor == null)
+ {
+ stringConstructor = new
StringConstructor
+
(GetFunctionPrototype());
+ }
+ return stringConstructor;
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/JScript/Execute EngineInstance.cs,1.1,1.2,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnet/support read_float.c,1.1.1.1,1.2 write_float.c,1.1,1.2
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.750,1.751
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnet/support read_float.c,1.1.1.1,1.2 write_float.c,1.1,1.2
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.750,1.751
- Index(es):