diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2018-11-16 09:05:59 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2018-11-25 11:23:21 +0100 |
commit | af9c1c3d08943f3cb723a7a1a9d9d1f8b879722f (patch) | |
tree | e7ba60798a44fa0f21517e9831bab83f05167512 /valadoc/treebuilder.vala | |
parent | e68288a5e66eccb2352c27926425c45d295cf78e (diff) | |
download | vala-af9c1c3d08943f3cb723a7a1a9d9d1f8b879722f.tar.gz |
libvaladoc: Drop PropertyAccessorType
Diffstat (limited to 'valadoc/treebuilder.vala')
-rw-r--r-- | valadoc/treebuilder.vala | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/valadoc/treebuilder.vala b/valadoc/treebuilder.vala index 79a17ee57..7c5d4d112 100644 --- a/valadoc/treebuilder.vala +++ b/valadoc/treebuilder.vala @@ -496,21 +496,6 @@ public class Valadoc.Drivers.TreeBuilder : Vala.CodeVisitor { return meta_data.get_namespace ((Vala.Namespace) namespace_symbol, file); } - private PropertyAccessorType get_property_accessor_type (Vala.PropertyAccessor element) { - if (element.construction) { - if (element.writable) { - return (PropertyAccessorType.CONSTRUCT | PropertyAccessorType.SET); - } - return PropertyAccessorType.CONSTRUCT; - } else if (element.writable) { - return PropertyAccessorType.SET; - } else if (element.readable) { - return PropertyAccessorType.GET; - } - - error ("Unknown symbol accessibility type"); - } - private bool type_reference_pass_ownership (Vala.DataType? element) { if (element == null) { return false; @@ -1050,7 +1035,6 @@ public class Valadoc.Drivers.TreeBuilder : Vala.CodeVisitor { element.name, accessor.access, get_cname (accessor), - get_property_accessor_type (accessor), get_property_ownership (accessor), accessor); } @@ -1062,7 +1046,6 @@ public class Valadoc.Drivers.TreeBuilder : Vala.CodeVisitor { element.name, accessor.access, get_cname (accessor), - get_property_accessor_type (accessor), get_property_ownership (accessor), accessor); } |