[vala/wip/attributes-clean: 21/21] Drop Symbol.process_experimental_attribute



commit 5dc9693326abc7e54b54e4206c9e4d52fd2ff447
Author: Luca Bruno <lucabru src gnome org>
Date:   Thu Jul 7 15:54:52 2011 +0200

    Drop Symbol.process_experimental_attribute

 vala/valaclass.vala       |    2 --
 vala/valaconstant.vala    |    2 --
 vala/valadelegate.vala    |    2 --
 vala/valaerrordomain.vala |    2 --
 vala/valafield.vala       |    2 --
 vala/valainterface.vala   |    2 --
 vala/valamethod.vala      |    2 --
 vala/valasignal.vala      |    2 --
 vala/valastruct.vala      |    2 --
 vala/valasymbol.vala      |    9 ---------
 10 files changed, 0 insertions(+), 27 deletions(-)
---
diff --git a/vala/valaclass.vala b/vala/valaclass.vala
index c5326e5..62cd803 100644
--- a/vala/valaclass.vala
+++ b/vala/valaclass.vala
@@ -753,8 +753,6 @@ public class Vala.Class : ObjectTypeSymbol {
 				process_ccode_attribute (a);
 			} else if (a.name == "GIR") {
 				process_gir_attribute (a);
-			} else if (a.name == "Experimental") {
-				process_experimental_attribute (a);
 			}
 		}
 	}
diff --git a/vala/valaconstant.vala b/vala/valaconstant.vala
index e0c7d21..0934ac0 100644
--- a/vala/valaconstant.vala
+++ b/vala/valaconstant.vala
@@ -157,8 +157,6 @@ public class Vala.Constant : Symbol, Lockable {
 		foreach (Attribute a in attributes) {
 			if (a.name == "CCode") {
 				process_ccode_attribute (a);
-			} else if (a.name == "Experimental") {
-				process_experimental_attribute (a);
 			}
 		}
 	}
diff --git a/vala/valadelegate.vala b/vala/valadelegate.vala
index 9e53267..d4cfaa0 100644
--- a/vala/valadelegate.vala
+++ b/vala/valadelegate.vala
@@ -332,8 +332,6 @@ public class Vala.Delegate : TypeSymbol {
 		foreach (Attribute a in attributes) {
 			if (a.name == "CCode") {
 				process_ccode_attribute (a);
-			} else if (a.name == "Experimental") {
-				process_experimental_attribute (a);
 			}
 		}
 	}
diff --git a/vala/valaerrordomain.vala b/vala/valaerrordomain.vala
index 92bcf7d..2ac860c 100644
--- a/vala/valaerrordomain.vala
+++ b/vala/valaerrordomain.vala
@@ -195,8 +195,6 @@ public class Vala.ErrorDomain : TypeSymbol {
 		foreach (Attribute a in attributes) {
 			if (a.name == "CCode") {
 				process_ccode_attribute (a);
-			} else if (a.name == "Experimental") {
-				process_experimental_attribute (a);
 			}
 		}
 	}
diff --git a/vala/valafield.vala b/vala/valafield.vala
index 31c05c1..5926a31 100644
--- a/vala/valafield.vala
+++ b/vala/valafield.vala
@@ -122,8 +122,6 @@ public class Vala.Field : Variable, Lockable {
 		foreach (Attribute a in attributes) {
 			if (a.name == "CCode") {
 				process_ccode_attribute (a);
-			} else if (a.name == "Experimental") {
-				process_experimental_attribute (a);
 			}
 		}
 	}
diff --git a/vala/valainterface.vala b/vala/valainterface.vala
index edbd120..e738e79 100644
--- a/vala/valainterface.vala
+++ b/vala/valainterface.vala
@@ -491,8 +491,6 @@ public class Vala.Interface : ObjectTypeSymbol {
 		foreach (Attribute a in attributes) {
 			if (a.name == "CCode") {
 				process_ccode_attribute (a);
-			} else if (a.name == "Experimental") {
-				process_experimental_attribute (a);
 			}
 		}
 	}
diff --git a/vala/valamethod.vala b/vala/valamethod.vala
index 5cb1ee1..a2b5751 100644
--- a/vala/valamethod.vala
+++ b/vala/valamethod.vala
@@ -501,8 +501,6 @@ public class Vala.Method : Subroutine {
 				no_array_length = true;
 			} else if (a.name == "NoThrow") {
 				get_error_types ().clear ();
-			} else if (a.name == "Experimental") {
-				process_experimental_attribute (a);
 			} else if (a.name == "DestroysInstance") {
 				this_parameter.variable_type.value_owned = true;
 			}
diff --git a/vala/valasignal.vala b/vala/valasignal.vala
index 9b27d3d..e041ec0 100644
--- a/vala/valasignal.vala
+++ b/vala/valasignal.vala
@@ -268,8 +268,6 @@ public class Vala.Signal : Symbol, Lockable {
 				has_emitter = true;
 			} else if (a.name == "Signal") {
 				process_signal_attribute (a);
-			} else if (a.name == "Experimental") {
-				process_experimental_attribute (a);
 			}
 		}
 	}
diff --git a/vala/valastruct.vala b/vala/valastruct.vala
index 6c3b213..808ae83 100644
--- a/vala/valastruct.vala
+++ b/vala/valastruct.vala
@@ -532,8 +532,6 @@ public class Vala.Struct : TypeSymbol {
 				process_ccode_attribute (a);
 			} else if (a.name == "GIR") {
 				process_gir_attribute (a);
-			} else if (a.name == "Experimental") {
-				process_experimental_attribute (a);
 			}
 		}
 	}
diff --git a/vala/valasymbol.vala b/vala/valasymbol.vala
index ddf68a9..83fd05e 100644
--- a/vala/valasymbol.vala
+++ b/vala/valasymbol.vala
@@ -527,15 +527,6 @@ public abstract class Vala.Symbol : CodeNode {
 	}
 
 	/**
-	 * Process a [Experimental] attribute
-	 */
-	public virtual void process_experimental_attribute (Attribute attr) {
-		if (attr.name != "Experimental") {
-			return;
-		}
-	}
-
-	/**
 	 * Check to see if the symbol is experimental, and emit a warning
 	 * if it is.
 	 */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]