[Monodevelop-patches-list] r2669 - in trunk/MonoDevelop/Extras/BooBinding: . Parser

Peter Johanson <latexer@gentoo.org> pjohanson at mono-cvs.ximian.com
Mon Jul 18 21:48:49 EDT 2005


Author: pjohanson
Date: 2005-07-18 21:48:49 -0400 (Mon, 18 Jul 2005)
New Revision: 2669

Modified:
   trunk/MonoDevelop/Extras/BooBinding/BooLanguageBinding.boo
   trunk/MonoDevelop/Extras/BooBinding/ChangeLog
   trunk/MonoDevelop/Extras/BooBinding/Parser/Resolver.boo
Log:
Remove some extraneous ';' characters, and use the new 'char()' literal instead of the previous hack for getting single chars.


Modified: trunk/MonoDevelop/Extras/BooBinding/BooLanguageBinding.boo
===================================================================
--- trunk/MonoDevelop/Extras/BooBinding/BooLanguageBinding.boo	2005-07-18 17:41:37 UTC (rev 2668)
+++ trunk/MonoDevelop/Extras/BooBinding/BooLanguageBinding.boo	2005-07-19 01:48:49 UTC (rev 2669)
@@ -37,7 +37,7 @@
 	compilerServices = BooBindingCompilerServices ()
 	
 	public def constructor():
-		MonoDevelop.Services.Runtime.ProjectService.DataContext.IncludeType (typeof(BooCompilerParameters));
+		MonoDevelop.Services.Runtime.ProjectService.DataContext.IncludeType (typeof(BooCompilerParameters))
 	
 	public Language as string:
 		get:
@@ -62,4 +62,4 @@
 	
 	public CommentTag as string:
 		get:
-			return "//";
+			return "//"

Modified: trunk/MonoDevelop/Extras/BooBinding/ChangeLog
===================================================================
--- trunk/MonoDevelop/Extras/BooBinding/ChangeLog	2005-07-18 17:41:37 UTC (rev 2668)
+++ trunk/MonoDevelop/Extras/BooBinding/ChangeLog	2005-07-19 01:48:49 UTC (rev 2669)
@@ -1,3 +1,10 @@
+2005-07-18  Lluis Sanchez Gual  <lluis at novell.com>
+
+	* Parser/Resolver.boo:
+	* BooLanguageBinding.boo: Remove some extraneous ';' characters, and
+	use the new 'char()' literal instead of the previous hack for getting
+	a char.
+
 2005-07-13  Lluis Sanchez Gual  <lluis at novell.com>
 
 	* BooShellPadContent.boo: Make sure all shell controls are visible.

Modified: trunk/MonoDevelop/Extras/BooBinding/Parser/Resolver.boo
===================================================================
--- trunk/MonoDevelop/Extras/BooBinding/Parser/Resolver.boo	2005-07-18 17:41:37 UTC (rev 2668)
+++ trunk/MonoDevelop/Extras/BooBinding/Parser/Resolver.boo	2005-07-19 01:48:49 UTC (rev 2669)
@@ -140,7 +140,7 @@
 				/*
 				if varLookup.ReturnType is null:
 					print "null return type!"
-					return ReturnType("System.Object");
+					return ReturnType("System.Object")
 					*/
 				print "ReturnType: ${varLookup.ReturnType}"
 				return varLookup.ReturnType
@@ -329,11 +329,11 @@
 		   (_showStatic and not ((member.Modifiers & ModifierEnum.Static) == ModifierEnum.Static))):
 			return false
 		
-//		print("Testing Accessibility");
+//		print("Testing Accessibility")
 		return IsAccessible(c, member)
 	
 	def IsAccessible(c as IClass, member as IDecoration) as bool:
-//		print("member.Modifiers = " + member.Modifiers);
+//		print("member.Modifiers = " + member.Modifiers)
 		if ((member.Modifiers & ModifierEnum.Internal) == ModifierEnum.Internal):
 			return true
 
@@ -376,13 +376,13 @@
 	
 	def ListMembers(members as ArrayList, curType as IClass, showStatic as bool) as ArrayList:
 		_showStatic = showStatic
-//		print("LIST MEMBERS!!!");
-//		print("_showStatic = " + _showStatic);
-//		print(curType.InnerClasses.Count + " classes");
-//		print(curType.Properties.Count + " properties");
-//		print(curType.Methods.Count + " methods");
-//		print(curType.Events.Count + " events");
-//		print(curType.Fields.Count + " fields");
+//		print("LIST MEMBERS!!!")
+//		print("_showStatic = " + _showStatic)
+//		print(curType.InnerClasses.Count + " classes")
+//		print(curType.Properties.Count + " properties")
+//		print(curType.Methods.Count + " methods")
+//		print(curType.Events.Count + " events")
+//		print(curType.Fields.Count + " fields")
 		if _showStatic:
 			for c as IClass in curType.InnerClasses:
 				if IsAccessible(curType, c):
@@ -394,17 +394,17 @@
 				members.Add(p)
 //				print("Member added")
 
-//		print("ADDING METHODS!!!");
+//		print("ADDING METHODS!!!")
 		for m as IMethod in curType.Methods:
 //			print("Method : " + m)
 			if (MustBeShowen(curType, m)):
 				members.Add(m)
-//				print("Member added");
+//				print("Member added")
 
 		for e as IEvent in curType.Events:
 			if (MustBeShowen(curType, e)):
 				members.Add(e)
-//				print("Member added");
+//				print("Member added")
 
 		for f as IField in curType.Fields:
 			if (MustBeShowen(curType, f)):
@@ -414,9 +414,9 @@
 				//// enum fields must be shown here if present
 				if (curType.ClassType == ClassType.Enum):
 					members.Add(f) if (IsAccessible(curType,f))
-//					print("Member {0} added", f.FullyQualifiedName);
+//					print("Member {0} added", f.FullyQualifiedName)
 
-//		print("ClassType = " + curType.ClassType);
+//		print("ClassType = " + curType.ClassType)
 		if (curType.ClassType == ClassType.Interface and not _showStatic):
 			for s as string in curType.BaseTypes:
 				baseClass = _parserService.GetClass (_project, s, true, true)
@@ -428,19 +428,19 @@
 //				print("Base Class = " + baseClass.FullyQualifiedName)
 				ListMembers(members, baseClass, _showStatic)
 
-//		print("listing finished");
-		return members;
+//		print("listing finished")
+		return members
 
 	def GetResolvedClass (cls as IClass) as IClass:
 		// Returns an IClass in which all type names have been properly resolved
-		return _parserService.GetClass (_project, cls.FullyQualifiedName);
+		return _parserService.GetClass (_project, cls.FullyQualifiedName)
 
 	def GetInnermostClass(cu as ICompilationUnit) as IClass:
 		if (cu != null):
 			for c as IClass in cu.Classes:
 				if (c != null and c.Region != null and c.Region.IsInside(_caretLine, _caretColumn)):
 					return GetInnermostClass(c)
-		return null;
+		return null
 	
 	def GetInnermostClass(curClass as IClass) as IClass:
 		if (curClass == null):




More information about the Monodevelop-patches-list mailing list