Author: cesar
Date: 2005-05-02 16:47:42 -0400 (Mon, 02 May 2005)
New Revision: 43902

Added:
   trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/COMMemberInfo.cs
   trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IAuthorServices.cs
   trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IColorizeText.cs
   trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IDebugConvert.cs
   trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IDebugScriptScope.cs
   trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IDebuggerObject.cs
   trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IErrorHandler.cs
   trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IParseText.cs
   trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/ITokenColorInfo.cs
   trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/ITokenEnumerator.cs
   trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IVsaFullErrorInfo.cs
   trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/SourceState.cs
   trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/TokenColor.cs
Log:
2005-05-02  Cesar Lopez Nataren  <[EMAIL PROTECTED]>

        * Microsoft.JScript.dll.sources: COMMemberInfo.cs,
        IAuthorServices.cs, IColorizeText.cs, IDebugConvert.cs,
        IDebuggerObject.cs, IDebugScriptScope.cs, IErrorHandler.cs,
        IParseText.cs, ITokenColorInfo.cs, ITokenEnumerator.cs,
        IVsaFullErrorInfo.cs, SourceState.cs, TokenColor.cs, 

Added: trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/COMMemberInfo.cs
===================================================================
--- trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/COMMemberInfo.cs        
2005-05-02 20:43:26 UTC (rev 43901)
+++ trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/COMMemberInfo.cs        
2005-05-02 20:47:42 UTC (rev 43902)
@@ -0,0 +1,48 @@
+//
+// COMMemberInfo.cs:
+//
+// Author:
+//      Cesar Lopez Nataren
+//
+// (C) 2005, Novell Inc. (http://novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System;
+using System.Reflection;
+using System.Globalization;
+using System.Runtime.InteropServices;
+
+namespace Microsoft.JScript {
+
+       [GuidAttribute ("84BCEB62-16EB-4e1c-975C-FCB40D331043")]
+       [ComVisibleAttribute (true)]
+       public interface COMMemberInfo {
+
+               object Call (BindingFlags invokeAttr, System.Reflection.Binder 
binder, object [] args, CultureInfo _culture);
+
+               object GetValue (BindingFlags invokeAttr, 
System.Reflection.Binder binder, object [] index, CultureInfo culture);
+
+               void SetValue (object value, BindingFlags invokeAttr, 
System.Reflection.Binder binder, object [] index, CultureInfo culture);
+       }
+}

Added: trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IAuthorServices.cs
===================================================================
--- trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IAuthorServices.cs      
2005-05-02 20:43:26 UTC (rev 43901)
+++ trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IAuthorServices.cs      
2005-05-02 20:47:42 UTC (rev 43902)
@@ -0,0 +1,41 @@
+//
+// IAuthorServices.cs:
+//
+// Author:
+//      Cesar Lopez Nataren
+//
+// (C) 2005, Novell Inc. (http://novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System.Runtime.InteropServices;
+
+namespace Microsoft.JScript {
+
+       [GuidAttribute ("9E2B453C-6EAA-4329-A619-62E4889C8C8A")]
+       [ComVisibleAttribute (true)]
+       public interface IAuthorServices {
+               IParseText GetCodeSense ();
+               IColorizeText GetColorizer ();
+       }
+}

Added: trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IColorizeText.cs
===================================================================
--- trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IColorizeText.cs        
2005-05-02 20:43:26 UTC (rev 43901)
+++ trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IColorizeText.cs        
2005-05-02 20:47:42 UTC (rev 43902)
@@ -0,0 +1,41 @@
+//
+// IColorizeText.cs:
+//
+// Author:
+//      Cesar Lopez Nataren
+//
+// (C) 2005, Novell Inc. (http://novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System.Runtime.InteropServices;
+
+namespace Microsoft.JScript {
+
+       [GuidAttribute ("DB283E60-7ADB-4cf6-9758-2931893A12FC")]
+       [ComVisibleAttribute (true)]
+       public interface IColorizeText {
+               ITokenEnumerator Colorize (string sourceCode, SourceState 
state);
+               SourceState GetStateForText (string sourceCode, SourceState 
currentState);
+       }
+}

Added: trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IDebugConvert.cs
===================================================================
--- trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IDebugConvert.cs        
2005-05-02 20:43:26 UTC (rev 43901)
+++ trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IDebugConvert.cs        
2005-05-02 20:47:42 UTC (rev 43902)
@@ -0,0 +1,62 @@
+//
+// IDebugConvert.cs:
+//
+// Author:
+//      Cesar Lopez Nataren
+//
+// (C) 2005, Novell Inc. (http://novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System;
+using Microsoft.Vsa;
+using System.Runtime.InteropServices;
+
+namespace Microsoft.JScript {
+       
+       [GuidAttribute ("AA51516D-C0F2-49fe-9D38-61D20456904C")]
+       [ComVisibleAttribute (true)]
+       public interface IDebugConvert {
+
+               string BooleanToString (bool value);
+               string ByteToString (byte value, int radix);
+               string DoubleToDateString (double value);
+               string DoubleToString (double value);
+               string GetErrorMessageForHR (int hr, IVsaEngine engine);
+               object GetManagedCharObject (ushort i);
+               object GetManagedInt64Object (long i);
+               object GetManagedObject (object value);
+               object GetManagedUInt64Object (ulong i);
+               string Int16ToString (short value, int radix);
+               string Int32ToString (int value, int radix);
+               string Int64ToString (long value, int radix);
+               string RegexpToString (string source, bool ignoreCase, bool 
global, bool multiline);
+               string SByteToString (sbyte value, int radix);
+               string SingleToString (float value);
+               string StringToPrintable (string source);
+               object ToPrimitive (object value, TypeCode typeCode, bool 
truncationPermitted);
+               string UInt16ToString (ushort value, int radix);
+               string UInt32ToString (uint value, int radix);
+               string UInt64ToString (ulong value, int radix);
+       }
+}

Added: trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IDebugScriptScope.cs
===================================================================
--- trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IDebugScriptScope.cs    
2005-05-02 20:43:26 UTC (rev 43901)
+++ trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IDebugScriptScope.cs    
2005-05-02 20:47:42 UTC (rev 43902)
@@ -0,0 +1,40 @@
+//
+// IDebugScriptScope.cs:
+//
+// Author:
+//      Cesar Lopez Nataren
+//
+// (C) 2005, Novell Inc. (http://novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System.Runtime.InteropServices;
+
+namespace Microsoft.JScript {
+
+       [GuidAttribute ("59447635-3E26-4873-BF26-05F173B80F5E")]
+       [ComVisibleAttribute (true)]
+       public interface IDebugScriptScope {
+               void SetThisValue (object thisValue);
+       }
+}

Added: trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IDebuggerObject.cs
===================================================================
--- trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IDebuggerObject.cs      
2005-05-02 20:43:26 UTC (rev 43901)
+++ trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IDebuggerObject.cs      
2005-05-02 20:47:42 UTC (rev 43902)
@@ -0,0 +1,44 @@
+//
+// IDebuggerObject.cs:
+//
+// Author:
+//      Cesar Lopez Nataren
+//
+// (C) 2005, Novell Inc. (http://novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System.Runtime.InteropServices;
+
+namespace Microsoft.JScript {
+
+       [GuidAttribute ("8E93D770-6168-4b68-B896-A71B74C7076A")]
+       [ComVisibleAttribute (true)]
+       public interface IDebuggerObject {
+               bool HasEnumerableMember (string name);
+               bool IsCOMObject ();
+               bool IsEqual(IDebuggerObject o);
+               bool IsScriptFunction ();
+               bool IsScriptObject ();
+       }
+}

Added: trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IErrorHandler.cs
===================================================================
--- trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IErrorHandler.cs        
2005-05-02 20:43:26 UTC (rev 43901)
+++ trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IErrorHandler.cs        
2005-05-02 20:47:42 UTC (rev 43902)
@@ -0,0 +1,40 @@
+//
+// IErrorHandler.cs:
+//
+// Author:
+//      Cesar Lopez Nataren
+//
+// (C) 2005, Novell Inc. (http://novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System.Runtime.InteropServices;
+
+namespace Microsoft.JScript {
+
+       [ComVisibleAttribute (true)]
+       [GuidAttribute ("E93D012C-56BB-4f32-864F-7C75EDA17B14")]
+       public interface IErrorHandler {
+               bool OnCompilerError (IVsaFullErrorInfo error);
+       }
+}

Added: trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IParseText.cs
===================================================================
--- trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IParseText.cs   
2005-05-02 20:43:26 UTC (rev 43901)
+++ trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IParseText.cs   
2005-05-02 20:47:42 UTC (rev 43902)
@@ -0,0 +1,40 @@
+//
+// IParseText.cs:
+//
+// Author:
+//      Cesar Lopez Nataren
+//
+// (C) 2005, Novell Inc. (http://novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System.Runtime.InteropServices;
+
+namespace Microsoft.JScript {
+
+       [GuidAttribute ("C1468187-3DA1-49df-ADF8-5F8600E59EA8")]
+       [ComVisibleAttribute (true)]
+       public interface IParseText {
+               void Parse (string code, IErrorHandler error);
+       }
+}

Added: trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/ITokenColorInfo.cs
===================================================================
--- trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/ITokenColorInfo.cs      
2005-05-02 20:43:26 UTC (rev 43901)
+++ trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/ITokenColorInfo.cs      
2005-05-02 20:47:42 UTC (rev 43902)
@@ -0,0 +1,42 @@
+//
+// ITokenColorInfo.cs:
+//
+// Author:
+//      Cesar Lopez Nataren
+//
+// (C) 2005, Novell Inc. (http://novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System.Runtime.InteropServices;
+
+namespace Microsoft.JScript {
+
+       [ComVisibleAttribute (true)]
+       [GuidAttribute ("0F20D5C8-CBDB-4b64-AB7F-10B158407323")]
+       public interface ITokenColorInfo {
+               TokenColor Color { get; }
+               int EndPosition { get; }
+               int StartPosition { get; }
+       }
+}

Added: trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/ITokenEnumerator.cs
===================================================================
--- trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/ITokenEnumerator.cs     
2005-05-02 20:43:26 UTC (rev 43901)
+++ trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/ITokenEnumerator.cs     
2005-05-02 20:47:42 UTC (rev 43902)
@@ -0,0 +1,41 @@
+//
+// ITokenEnumerator.cs:
+//
+// Author:
+//      Cesar Lopez Nataren
+//
+// (C) 2005, Novell Inc. (http://novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System.Runtime.InteropServices;
+
+namespace Microsoft.JScript {
+
+       [GuidAttribute ("556BA9E0-BD6A-4837-89F0-C79B14759181")]
+       [ComVisibleAttribute (true)]
+       public interface ITokenEnumerator {
+               ITokenColorInfo GetNext ();
+               void Reset ();
+       }
+}

Added: trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IVsaFullErrorInfo.cs
===================================================================
--- trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IVsaFullErrorInfo.cs    
2005-05-02 20:43:26 UTC (rev 43901)
+++ trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IVsaFullErrorInfo.cs    
2005-05-02 20:47:42 UTC (rev 43902)
@@ -0,0 +1,41 @@
+//
+// IVsaFullErrorInfo.cs:
+//
+// Author:
+//      Cesar Lopez Nataren
+//
+// (C) 2005, Novell Inc. (http://novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using Microsoft.Vsa;
+using System.Runtime.InteropServices;
+
+namespace Microsoft.JScript {
+
+       [ComVisibleAttribute (true)]
+       [GuidAttribute ("DC3691BC-F188-4b67-8338-326671E0F3F6")]
+       public interface IVsaFullErrorInfo : IVsaError {
+               int EndLine { get; }
+       }
+}

Added: trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/SourceState.cs
===================================================================
--- trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/SourceState.cs  
2005-05-02 20:43:26 UTC (rev 43901)
+++ trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/SourceState.cs  
2005-05-02 20:47:42 UTC (rev 43902)
@@ -0,0 +1,42 @@
+//
+// SourceState.cs:
+//
+// Author:
+//      Cesar Lopez Nataren
+//
+// (C) 2005, Novell Inc. (http://novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System.Runtime.InteropServices;
+
+namespace Microsoft.JScript {
+
+       [GuidAttribute ("BA731F6A-3D25-39AE-BE18-C2EF646AE58B")]
+       [ComVisibleAttribute (true)]
+       public enum SourceState {
+               STATE_COLOR_COMMENT,
+               STATE_COLOR_NORMAL,
+               STATE_COLOR_STRING
+       }
+}

Added: trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/TokenColor.cs
===================================================================
--- trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/TokenColor.cs   
2005-05-02 20:43:26 UTC (rev 43901)
+++ trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/TokenColor.cs   
2005-05-02 20:47:42 UTC (rev 43902)
@@ -0,0 +1,47 @@
+//
+// TokenColor.cs:
+//
+// Author:
+//      Cesar Lopez Nataren
+//
+// (C) 2005, Novell Inc. (http://novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System.Runtime.InteropServices;
+
+namespace Microsoft.JScript {
+
+       [ComVisibleAttribute (true)]
+       [GuidAttribute ("78008402-40D4-30BF-BD91-A61D8815625E")]
+       public enum TokenColor {
+               COLOR_COMMENT,
+               COLOR_CONDITIONAL_COMP,
+               COLOR_IDENTIFIER,
+               COLOR_KEYWORD,
+               COLOR_NUMBER,
+               COLOR_OPERATOR,
+               COLOR_STRING,
+               COLOR_TEXT
+       }
+}

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to