diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2018-03-27 12:46:26 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2018-03-27 13:12:02 +0200 |
commit | 55d883a5b593be366aff440ead4571ee76d86d02 (patch) | |
tree | be85465984a784b0e553a1c15f6e9c91b257be3c /vala/valainterface.vala | |
parent | 7bd54c7a88555831febf186295cc44a7301aa83f (diff) | |
download | vala-55d883a5b593be366aff440ead4571ee76d86d02.tar.gz |
Drop trailing spaces/tabs
It was about time to do this.
Diffstat (limited to 'vala/valainterface.vala')
-rw-r--r-- | vala/valainterface.vala | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/vala/valainterface.vala b/vala/valainterface.vala index 72d345476..adb41ae16 100644 --- a/vala/valainterface.vala +++ b/vala/valainterface.vala @@ -70,7 +70,7 @@ public class Vala.Interface : ObjectTypeSymbol { public List<DataType> get_prerequisites () { return prerequisites; } - + /** * Adds the specified method as a member to this interface. * @@ -79,7 +79,7 @@ public class Vala.Interface : ObjectTypeSymbol { public override void add_method (Method m) { if (m is CreationMethod) { Report.error (m.source_reference, "construction methods may only be declared within classes and structs"); - + m.error = true; return; } @@ -113,7 +113,7 @@ public class Vala.Interface : ObjectTypeSymbol { prop.this_parameter = new Parameter ("this", new ObjectType (this)); prop.scope.add (prop.this_parameter.name, prop.this_parameter); } - + public virtual List<Symbol> get_virtuals () { return virtuals; } @@ -139,7 +139,7 @@ public class Vala.Interface : ObjectTypeSymbol { foreach (Method m in get_methods ()) { m.accept (visitor); } - + foreach (Field f in get_fields ()) { f.accept (visitor); } @@ -151,15 +151,15 @@ public class Vala.Interface : ObjectTypeSymbol { foreach (Property prop in get_properties ()) { prop.accept (visitor); } - + foreach (Signal sig in get_signals ()) { sig.accept (visitor); } - + foreach (Class cl in get_classes ()) { cl.accept (visitor); } - + foreach (Struct st in get_structs ()) { st.accept (visitor); } @@ -172,7 +172,7 @@ public class Vala.Interface : ObjectTypeSymbol { public override bool is_reference_type () { return true; } - + public override bool is_subtype_of (TypeSymbol t) { if (this == t) { return true; @@ -183,10 +183,10 @@ public class Vala.Interface : ObjectTypeSymbol { return true; } } - + return false; } - + public override void replace_type (DataType old_type, DataType new_type) { for (int i = 0; i < prerequisites.size; i++) { if (prerequisites[i] == old_type) { |