From: Florian Brosch Date: Sun, 27 Feb 2011 16:44:12 +0000 (+0100) Subject: libvaladoc/api: Add API documentation for Pointer X-Git-Tag: 0.37.1~3^2~370 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc44f0d3682a31cccdafb415a9bb239303cb01a3;p=thirdparty%2Fvala.git libvaladoc/api: Add API documentation for Pointer --- diff --git a/src/libvaladoc/api/pointer.vala b/src/libvaladoc/api/pointer.vala index 6b2b736ca..1e4e1495e 100644 --- a/src/libvaladoc/api/pointer.vala +++ b/src/libvaladoc/api/pointer.vala @@ -23,9 +23,16 @@ 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)