/* comment.c generated by valac, the Vala compiler
 * generated from comment.vala, do not modify */

/* comment.vala
 *
 * Copyright (C) 2008-2009 Didier Villevalois
 * Copyright (C) 2008-2012 Florian Brosch
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
 *
 * Author:
 * 	Didier 'Ptitjes Villevalois <ptitjes@free.fr>
 */

#include <glib.h>
#include <glib-object.h>
#include "valadoc.h"
#include <valagee.h>
#include <stdlib.h>
#include <string.h>

enum  {
	VALADOC_CONTENT_COMMENT_0_PROPERTY,
	VALADOC_CONTENT_COMMENT_TAGLETS_PROPERTY,
	VALADOC_CONTENT_COMMENT_NUM_PROPERTIES
};
static GParamSpec* valadoc_content_comment_properties[VALADOC_CONTENT_COMMENT_NUM_PROPERTIES];
#define _vala_iterable_unref0(var) ((var == NULL) ? NULL : (var = (vala_iterable_unref (var), NULL)))
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);
#define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; }
#define _vala_return_val_if_fail(expr, msg, val) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return val; }
#define _vala_warn_if_fail(expr, msg) if G_LIKELY (expr) ; else g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);

struct _ValadocContentCommentPrivate {
	ValaList* _taglets;
	gboolean checked;
};


static gpointer valadoc_content_comment_parent_class = NULL;

#define VALADOC_CONTENT_COMMENT_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), VALADOC_CONTENT_TYPE_COMMENT, ValadocContentCommentPrivate))
G_GNUC_INTERNAL ValadocContentComment* valadoc_content_comment_new (void);
G_GNUC_INTERNAL ValadocContentComment* valadoc_content_comment_construct (GType object_type);
G_GNUC_INTERNAL ValadocContentBlockContent* valadoc_content_block_content_construct (GType object_type);
static void valadoc_content_comment_real_configure (ValadocContentContentElement* base, ValadocSettings* settings, ValadocResourceLocator* locator);
static void valadoc_content_comment_real_check (ValadocContentContentElement* base, ValadocApiTree* api_root, ValadocApiNode* container, const gchar* file_path, ValadocErrorReporter* reporter, ValadocSettings* settings);
G_GNUC_INTERNAL void valadoc_content_content_element_set_parent (ValadocContentContentElement* self, ValadocContentContentElement* value);
static void valadoc_content_comment_real_accept (ValadocContentContentElement* base, ValadocContentContentVisitor* visitor);
static void valadoc_content_comment_real_accept_children (ValadocContentContentElement* base, ValadocContentContentVisitor* visitor);
static ValadocContentContentElement* valadoc_content_comment_real_copy (ValadocContentContentElement* base, ValadocContentContentElement* new_parent);
static void valadoc_content_comment_finalize (GObject * obj);
static void _vala_valadoc_content_comment_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);


G_GNUC_INTERNAL ValadocContentComment* valadoc_content_comment_construct (GType object_type) {
	ValadocContentComment * self = NULL;
	GEqualFunc _tmp0_;
	ValaArrayList* _tmp1_;
	self = (ValadocContentComment*) valadoc_content_block_content_construct (object_type);
	_tmp0_ = g_direct_equal;
	_tmp1_ = vala_array_list_new (VALADOC_CONTENT_TYPE_TAGLET, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, _tmp0_);
	_vala_iterable_unref0 (self->priv->_taglets);
	self->priv->_taglets = (ValaList*) _tmp1_;
	return self;
}


G_GNUC_INTERNAL ValadocContentComment* valadoc_content_comment_new (void) {
	return valadoc_content_comment_construct (VALADOC_CONTENT_TYPE_COMMENT);
}


static void valadoc_content_comment_real_configure (ValadocContentContentElement* base, ValadocSettings* settings, ValadocResourceLocator* locator) {
	ValadocContentComment * self;
	self = (ValadocContentComment*) base;
	g_return_if_fail (settings != NULL);
	g_return_if_fail (locator != NULL);
}


static gpointer _vala_iterable_ref0 (gpointer self) {
	return self ? vala_iterable_ref (self) : NULL;
}


static void valadoc_content_comment_real_check (ValadocContentContentElement* base, ValadocApiTree* api_root, ValadocApiNode* container, const gchar* file_path, ValadocErrorReporter* reporter, ValadocSettings* settings) {
	ValadocContentComment * self;
	gboolean _tmp0_;
	ValadocApiTree* _tmp1_;
	ValadocApiNode* _tmp2_;
	const gchar* _tmp3_;
	ValadocErrorReporter* _tmp4_;
	ValadocSettings* _tmp5_;
	self = (ValadocContentComment*) base;
	g_return_if_fail (api_root != NULL);
	g_return_if_fail (container != NULL);
	g_return_if_fail (file_path != NULL);
	g_return_if_fail (reporter != NULL);
	g_return_if_fail (settings != NULL);
	_tmp0_ = self->priv->checked;
	if (_tmp0_ == TRUE) {
		return;
	}
	self->priv->checked = TRUE;
	_tmp1_ = api_root;
	_tmp2_ = container;
	_tmp3_ = file_path;
	_tmp4_ = reporter;
	_tmp5_ = settings;
	VALADOC_CONTENT_CONTENT_ELEMENT_CLASS (valadoc_content_comment_parent_class)->check ((ValadocContentContentElement*) G_TYPE_CHECK_INSTANCE_CAST (self, VALADOC_CONTENT_TYPE_BLOCK_CONTENT, ValadocContentBlockContent), _tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_);
	{
		ValaList* _element_list = NULL;
		ValaList* _tmp6_;
		ValaList* _tmp7_;
		gint _element_size = 0;
		ValaList* _tmp8_;
		gint _tmp9_;
		gint _tmp10_;
		gint _element_index = 0;
		_tmp6_ = self->priv->_taglets;
		_tmp7_ = _vala_iterable_ref0 (_tmp6_);
		_element_list = _tmp7_;
		_tmp8_ = _element_list;
		_tmp9_ = vala_collection_get_size ((ValaCollection*) _tmp8_);
		_tmp10_ = _tmp9_;
		_element_size = _tmp10_;
		_element_index = -1;
		while (TRUE) {
			gint _tmp11_;
			gint _tmp12_;
			gint _tmp13_;
			ValadocContentTaglet* element = NULL;
			ValaList* _tmp14_;
			gint _tmp15_;
			gpointer _tmp16_;
			ValadocContentTaglet* _tmp17_;
			ValadocContentTaglet* _tmp18_;
			ValadocApiTree* _tmp19_;
			ValadocApiNode* _tmp20_;
			const gchar* _tmp21_;
			ValadocErrorReporter* _tmp22_;
			ValadocSettings* _tmp23_;
			_tmp11_ = _element_index;
			_element_index = _tmp11_ + 1;
			_tmp12_ = _element_index;
			_tmp13_ = _element_size;
			if (!(_tmp12_ < _tmp13_)) {
				break;
			}
			_tmp14_ = _element_list;
			_tmp15_ = _element_index;
			_tmp16_ = vala_list_get (_tmp14_, _tmp15_);
			element = (ValadocContentTaglet*) _tmp16_;
			_tmp17_ = element;
			valadoc_content_content_element_set_parent ((ValadocContentContentElement*) _tmp17_, (ValadocContentContentElement*) self);
			_tmp18_ = element;
			_tmp19_ = api_root;
			_tmp20_ = container;
			_tmp21_ = file_path;
			_tmp22_ = reporter;
			_tmp23_ = settings;
			valadoc_content_content_element_check ((ValadocContentContentElement*) _tmp18_, _tmp19_, _tmp20_, _tmp21_, _tmp22_, _tmp23_);
			_g_object_unref0 (element);
		}
		_vala_iterable_unref0 (_element_list);
	}
}


static void valadoc_content_comment_real_accept (ValadocContentContentElement* base, ValadocContentContentVisitor* visitor) {
	ValadocContentComment * self;
	ValadocContentContentVisitor* _tmp0_;
	self = (ValadocContentComment*) base;
	g_return_if_fail (visitor != NULL);
	_tmp0_ = visitor;
	valadoc_content_content_visitor_visit_comment (_tmp0_, self);
}


static void valadoc_content_comment_real_accept_children (ValadocContentContentElement* base, ValadocContentContentVisitor* visitor) {
	ValadocContentComment * self;
	ValadocContentContentVisitor* _tmp0_;
	self = (ValadocContentComment*) base;
	g_return_if_fail (visitor != NULL);
	_tmp0_ = visitor;
	VALADOC_CONTENT_CONTENT_ELEMENT_CLASS (valadoc_content_comment_parent_class)->accept_children ((ValadocContentContentElement*) G_TYPE_CHECK_INSTANCE_CAST (self, VALADOC_CONTENT_TYPE_BLOCK_CONTENT, ValadocContentBlockContent), _tmp0_);
	{
		ValaList* _element_list = NULL;
		ValaList* _tmp1_;
		ValaList* _tmp2_;
		gint _element_size = 0;
		ValaList* _tmp3_;
		gint _tmp4_;
		gint _tmp5_;
		gint _element_index = 0;
		_tmp1_ = self->priv->_taglets;
		_tmp2_ = _vala_iterable_ref0 (_tmp1_);
		_element_list = _tmp2_;
		_tmp3_ = _element_list;
		_tmp4_ = vala_collection_get_size ((ValaCollection*) _tmp3_);
		_tmp5_ = _tmp4_;
		_element_size = _tmp5_;
		_element_index = -1;
		while (TRUE) {
			gint _tmp6_;
			gint _tmp7_;
			gint _tmp8_;
			ValadocContentTaglet* element = NULL;
			ValaList* _tmp9_;
			gint _tmp10_;
			gpointer _tmp11_;
			ValadocContentTaglet* _tmp12_;
			ValadocContentContentVisitor* _tmp13_;
			_tmp6_ = _element_index;
			_element_index = _tmp6_ + 1;
			_tmp7_ = _element_index;
			_tmp8_ = _element_size;
			if (!(_tmp7_ < _tmp8_)) {
				break;
			}
			_tmp9_ = _element_list;
			_tmp10_ = _element_index;
			_tmp11_ = vala_list_get (_tmp9_, _tmp10_);
			element = (ValadocContentTaglet*) _tmp11_;
			_tmp12_ = element;
			_tmp13_ = visitor;
			valadoc_content_content_element_accept ((ValadocContentContentElement*) _tmp12_, _tmp13_);
			_g_object_unref0 (element);
		}
		_vala_iterable_unref0 (_element_list);
	}
}


ValaList* valadoc_content_comment_find_taglets (ValadocContentComment* self, ValadocApiNode* container, GType taglet_type) {
	ValaList* result = NULL;
	ValaList* selected_taglets = NULL;
	GEqualFunc _tmp0_;
	ValaArrayList* _tmp1_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = g_direct_equal;
	_tmp1_ = vala_array_list_new (VALADOC_CONTENT_TYPE_TAGLET, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, _tmp0_);
	selected_taglets = (ValaList*) _tmp1_;
	{
		ValaList* _taglet_list = NULL;
		ValaList* _tmp2_;
		ValaList* _tmp3_;
		gint _taglet_size = 0;
		ValaList* _tmp4_;
		gint _tmp5_;
		gint _tmp6_;
		gint _taglet_index = 0;
		_tmp2_ = self->priv->_taglets;
		_tmp3_ = _vala_iterable_ref0 (_tmp2_);
		_taglet_list = _tmp3_;
		_tmp4_ = _taglet_list;
		_tmp5_ = vala_collection_get_size ((ValaCollection*) _tmp4_);
		_tmp6_ = _tmp5_;
		_taglet_size = _tmp6_;
		_taglet_index = -1;
		while (TRUE) {
			gint _tmp7_;
			gint _tmp8_;
			gint _tmp9_;
			ValadocContentTaglet* taglet = NULL;
			ValaList* _tmp10_;
			gint _tmp11_;
			gpointer _tmp12_;
			ValadocContentTaglet* _tmp13_;
			GType _tmp14_;
			GType _tmp15_;
			_tmp7_ = _taglet_index;
			_taglet_index = _tmp7_ + 1;
			_tmp8_ = _taglet_index;
			_tmp9_ = _taglet_size;
			if (!(_tmp8_ < _tmp9_)) {
				break;
			}
			_tmp10_ = _taglet_list;
			_tmp11_ = _taglet_index;
			_tmp12_ = vala_list_get (_tmp10_, _tmp11_);
			taglet = (ValadocContentTaglet*) _tmp12_;
			_tmp13_ = taglet;
			_tmp14_ = G_TYPE_FROM_INSTANCE ((GObject*) _tmp13_);
			_tmp15_ = taglet_type;
			if (_tmp14_ == _tmp15_) {
				ValaList* _tmp16_;
				ValadocContentTaglet* _tmp17_;
				_tmp16_ = selected_taglets;
				_tmp17_ = taglet;
				vala_collection_add ((ValaCollection*) _tmp16_, _tmp17_);
			}
			_g_object_unref0 (taglet);
		}
		_vala_iterable_unref0 (_taglet_list);
	}
	result = selected_taglets;
	return result;
}


static ValadocContentContentElement* valadoc_content_comment_real_copy (ValadocContentContentElement* base, ValadocContentContentElement* new_parent) {
	ValadocContentComment * self;
	ValadocContentContentElement* result = NULL;
	ValadocContentContentElement* _tmp0_;
	ValadocContentComment* comment = NULL;
	ValadocContentComment* _tmp1_;
	ValadocContentComment* _tmp2_;
	ValadocContentContentElement* _tmp3_;
	self = (ValadocContentComment*) base;
	_tmp0_ = new_parent;
	_vala_assert (_tmp0_ == NULL, "new_parent == null");
	_tmp1_ = valadoc_content_comment_new ();
	comment = _tmp1_;
	_tmp2_ = comment;
	_tmp3_ = new_parent;
	valadoc_content_content_element_set_parent ((ValadocContentContentElement*) _tmp2_, _tmp3_);
	{
		ValaList* _element_list = NULL;
		ValaList* _tmp4_;
		ValaList* _tmp5_;
		ValaList* _tmp6_;
		gint _element_size = 0;
		ValaList* _tmp7_;
		gint _tmp8_;
		gint _tmp9_;
		gint _element_index = 0;
		_tmp4_ = valadoc_content_block_content_get_content ((ValadocContentBlockContent*) self);
		_tmp5_ = _tmp4_;
		_tmp6_ = _vala_iterable_ref0 (_tmp5_);
		_element_list = _tmp6_;
		_tmp7_ = _element_list;
		_tmp8_ = vala_collection_get_size ((ValaCollection*) _tmp7_);
		_tmp9_ = _tmp8_;
		_element_size = _tmp9_;
		_element_index = -1;
		while (TRUE) {
			gint _tmp10_;
			gint _tmp11_;
			gint _tmp12_;
			ValadocContentBlock* element = NULL;
			ValaList* _tmp13_;
			gint _tmp14_;
			gpointer _tmp15_;
			ValadocContentBlock* copy = NULL;
			ValadocContentBlock* _tmp16_;
			ValadocContentComment* _tmp17_;
			ValadocContentContentElement* _tmp18_;
			ValadocContentBlock* _tmp19_;
			ValadocContentComment* _tmp20_;
			ValaList* _tmp21_;
			ValaList* _tmp22_;
			ValadocContentBlock* _tmp23_;
			_tmp10_ = _element_index;
			_element_index = _tmp10_ + 1;
			_tmp11_ = _element_index;
			_tmp12_ = _element_size;
			if (!(_tmp11_ < _tmp12_)) {
				break;
			}
			_tmp13_ = _element_list;
			_tmp14_ = _element_index;
			_tmp15_ = vala_list_get (_tmp13_, _tmp14_);
			element = (ValadocContentBlock*) _tmp15_;
			_tmp16_ = element;
			_tmp17_ = comment;
			_tmp18_ = valadoc_content_content_element_copy ((ValadocContentContentElement*) _tmp16_, (ValadocContentContentElement*) _tmp17_);
			_tmp19_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp18_, VALADOC_CONTENT_TYPE_BLOCK) ? ((ValadocContentBlock*) _tmp18_) : NULL;
			if (_tmp19_ == NULL) {
				_g_object_unref0 (_tmp18_);
			}
			copy = _tmp19_;
			_tmp20_ = comment;
			_tmp21_ = valadoc_content_block_content_get_content ((ValadocContentBlockContent*) _tmp20_);
			_tmp22_ = _tmp21_;
			_tmp23_ = copy;
			vala_collection_add ((ValaCollection*) _tmp22_, _tmp23_);
			_g_object_unref0 (copy);
			_g_object_unref0 (element);
		}
		_vala_iterable_unref0 (_element_list);
	}
	{
		ValaList* _taglet_list = NULL;
		ValaList* _tmp24_;
		ValaList* _tmp25_;
		gint _taglet_size = 0;
		ValaList* _tmp26_;
		gint _tmp27_;
		gint _tmp28_;
		gint _taglet_index = 0;
		_tmp24_ = self->priv->_taglets;
		_tmp25_ = _vala_iterable_ref0 (_tmp24_);
		_taglet_list = _tmp25_;
		_tmp26_ = _taglet_list;
		_tmp27_ = vala_collection_get_size ((ValaCollection*) _tmp26_);
		_tmp28_ = _tmp27_;
		_taglet_size = _tmp28_;
		_taglet_index = -1;
		while (TRUE) {
			gint _tmp29_;
			gint _tmp30_;
			gint _tmp31_;
			ValadocContentTaglet* taglet = NULL;
			ValaList* _tmp32_;
			gint _tmp33_;
			gpointer _tmp34_;
			ValadocContentTaglet* copy = NULL;
			ValadocContentTaglet* _tmp35_;
			ValadocContentComment* _tmp36_;
			ValadocContentContentElement* _tmp37_;
			ValadocContentTaglet* _tmp38_;
			ValadocContentComment* _tmp39_;
			ValaList* _tmp40_;
			ValaList* _tmp41_;
			ValadocContentTaglet* _tmp42_;
			_tmp29_ = _taglet_index;
			_taglet_index = _tmp29_ + 1;
			_tmp30_ = _taglet_index;
			_tmp31_ = _taglet_size;
			if (!(_tmp30_ < _tmp31_)) {
				break;
			}
			_tmp32_ = _taglet_list;
			_tmp33_ = _taglet_index;
			_tmp34_ = vala_list_get (_tmp32_, _tmp33_);
			taglet = (ValadocContentTaglet*) _tmp34_;
			_tmp35_ = taglet;
			_tmp36_ = comment;
			_tmp37_ = valadoc_content_content_element_copy ((ValadocContentContentElement*) _tmp35_, (ValadocContentContentElement*) _tmp36_);
			_tmp38_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp37_, VALADOC_CONTENT_TYPE_TAGLET) ? ((ValadocContentTaglet*) _tmp37_) : NULL;
			if (_tmp38_ == NULL) {
				_g_object_unref0 (_tmp37_);
			}
			copy = _tmp38_;
			_tmp39_ = comment;
			_tmp40_ = valadoc_content_comment_get_taglets (_tmp39_);
			_tmp41_ = _tmp40_;
			_tmp42_ = copy;
			vala_collection_add ((ValaCollection*) _tmp41_, _tmp42_);
			_g_object_unref0 (copy);
			_g_object_unref0 (taglet);
		}
		_vala_iterable_unref0 (_taglet_list);
	}
	result = (ValadocContentContentElement*) comment;
	return result;
}


ValaList* valadoc_content_comment_get_taglets (ValadocContentComment* self) {
	ValaList* result;
	ValaList* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_taglets;
	result = _tmp0_;
	return result;
}


static void valadoc_content_comment_class_init (ValadocContentCommentClass * klass) {
	valadoc_content_comment_parent_class = g_type_class_peek_parent (klass);
	g_type_class_add_private (klass, sizeof (ValadocContentCommentPrivate));
	((ValadocContentContentElementClass *) klass)->configure = (void (*) (ValadocContentContentElement *, ValadocSettings*, ValadocResourceLocator*)) valadoc_content_comment_real_configure;
	((ValadocContentContentElementClass *) klass)->check = (void (*) (ValadocContentContentElement *, ValadocApiTree*, ValadocApiNode*, const gchar*, ValadocErrorReporter*, ValadocSettings*)) valadoc_content_comment_real_check;
	((ValadocContentContentElementClass *) klass)->accept = (void (*) (ValadocContentContentElement *, ValadocContentContentVisitor*)) valadoc_content_comment_real_accept;
	((ValadocContentContentElementClass *) klass)->accept_children = (void (*) (ValadocContentContentElement *, ValadocContentContentVisitor*)) valadoc_content_comment_real_accept_children;
	((ValadocContentContentElementClass *) klass)->copy = (ValadocContentContentElement* (*) (ValadocContentContentElement *, ValadocContentContentElement*)) valadoc_content_comment_real_copy;
	G_OBJECT_CLASS (klass)->get_property = _vala_valadoc_content_comment_get_property;
	G_OBJECT_CLASS (klass)->finalize = valadoc_content_comment_finalize;
	g_object_class_install_property (G_OBJECT_CLASS (klass), VALADOC_CONTENT_COMMENT_TAGLETS_PROPERTY, valadoc_content_comment_properties[VALADOC_CONTENT_COMMENT_TAGLETS_PROPERTY] = vala_param_spec_iterable ("taglets", "taglets", "taglets", VALA_TYPE_LIST, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
}


static void valadoc_content_comment_instance_init (ValadocContentComment * self) {
	self->priv = VALADOC_CONTENT_COMMENT_GET_PRIVATE (self);
	self->priv->checked = FALSE;
}


static void valadoc_content_comment_finalize (GObject * obj) {
	ValadocContentComment * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, VALADOC_CONTENT_TYPE_COMMENT, ValadocContentComment);
	_vala_iterable_unref0 (self->priv->_taglets);
	G_OBJECT_CLASS (valadoc_content_comment_parent_class)->finalize (obj);
}


GType valadoc_content_comment_get_type (void) {
	static volatile gsize valadoc_content_comment_type_id__volatile = 0;
	if (g_once_init_enter (&valadoc_content_comment_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (ValadocContentCommentClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) valadoc_content_comment_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ValadocContentComment), 0, (GInstanceInitFunc) valadoc_content_comment_instance_init, NULL };
		GType valadoc_content_comment_type_id;
		valadoc_content_comment_type_id = g_type_register_static (VALADOC_CONTENT_TYPE_BLOCK_CONTENT, "ValadocContentComment", &g_define_type_info, 0);
		g_once_init_leave (&valadoc_content_comment_type_id__volatile, valadoc_content_comment_type_id);
	}
	return valadoc_content_comment_type_id__volatile;
}


static void _vala_valadoc_content_comment_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	ValadocContentComment * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, VALADOC_CONTENT_TYPE_COMMENT, ValadocContentComment);
	switch (property_id) {
		case VALADOC_CONTENT_COMMENT_TAGLETS_PROPERTY:
		vala_value_set_iterable (value, valadoc_content_comment_get_taglets (self));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}



