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

index 171b9b474c4578e5e6e595d460e5ad803994a1e7..eda6965a9a31d35abe33876d747410848197c83d 100644 (file)
 using Gee;
 using Valadoc.Content;
 
+
+/**
+ * Represents an array declaration.
+ */
 public class Valadoc.Api.Array : Item {
        private Vala.ArrayType vtype;
 
+       /**
+        * The element type.
+        */
        public Item data_type {
                private set;
                get;
@@ -43,6 +50,9 @@ public class Valadoc.Api.Array : Item {
                }
        }
 
+       /**
+        * {@inheritDoc}
+        */
        internal override void resolve_type_references (Tree root) {
                if (this.data_type == null) {
                        /*TODO:possible?*/;
@@ -55,6 +65,9 @@ public class Valadoc.Api.Array : Item {
                }
        }
 
+       /**
+        * {@inheritDoc}
+        */
        protected override Inline build_signature () {
                return new SignatureBuilder ()
                        .append_content (data_type.signature)