[valadoc] libvaladoc/api: Add API documentation for Pointer
- From: Florian Brosch <flobrosch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [valadoc] libvaladoc/api: Add API documentation for Pointer
- Date: Mon, 28 Feb 2011 14:14:26 +0000 (UTC)
commit dc44f0d3682a31cccdafb415a9bb239303cb01a3
Author: Florian Brosch <flo brosch gmail com>
Date: Sun Feb 27 17:44:12 2011 +0100
libvaladoc/api: Add API documentation for Pointer
src/libvaladoc/api/pointer.vala | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/src/libvaladoc/api/pointer.vala b/src/libvaladoc/api/pointer.vala
index 6b2b736..1e4e149 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]