]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libvaladoc/api: Add API documentation for Pointer
authorFlorian Brosch <flo.brosch@gmail.com>
Sun, 27 Feb 2011 16:44:12 +0000 (17:44 +0100)
committerFlorian Brosch <flo.brosch@gmail.com>
Sun, 27 Feb 2011 16:44:12 +0000 (17:44 +0100)
src/libvaladoc/api/pointer.vala

index 6b2b736ca3b48479dbc976d37d373a4643794359..1e4e1495ea9a0d958677e0cafc6e0222d3a598b9 100644 (file)
 using Gee;
 using Valadoc.Content;
 
+
+/**
+ * Represents a pointer declaration.
+ */
 public class Valadoc.Api.Pointer : Item {
        private Vala.PointerType vtype;
 
+       /**
+        * The type the pointer is referring to.
+        */
        public Item data_type {
                private set;
                get;
@@ -45,6 +52,9 @@ public class Valadoc.Api.Pointer : Item {
                }
        }
 
+       /**
+        * {@inheritDoc}
+        */
        internal override void resolve_type_references (Tree root) {
                Api.Item type = this.data_type;
                if (type == null) {
@@ -58,6 +68,9 @@ public class Valadoc.Api.Pointer : Item {
                }
        }
 
+       /**
+        * {@inheritDoc}
+        */
        protected override Inline build_signature () {
                return new SignatureBuilder ()
                        .append_content (data_type.signature)