Ejemplo n.º 1
0
static void vala_null_literal_class_init (ValaNullLiteralClass * klass) {
	vala_null_literal_parent_class = g_type_class_peek_parent (klass);
	VALA_CODE_NODE_CLASS (klass)->accept = vala_null_literal_real_accept;
	VALA_CODE_NODE_CLASS (klass)->to_string = vala_null_literal_real_to_string;
	VALA_EXPRESSION_CLASS (klass)->is_pure = vala_null_literal_real_is_pure;
	VALA_CODE_NODE_CLASS (klass)->check = vala_null_literal_real_check;
	VALA_CODE_NODE_CLASS (klass)->emit = vala_null_literal_real_emit;
}
Ejemplo n.º 2
0
static void vala_unlock_statement_class_init (ValaUnlockStatementClass * klass) {
	vala_unlock_statement_parent_class = g_type_class_peek_parent (klass);
	VALA_CODE_NODE_CLASS (klass)->finalize = vala_unlock_statement_finalize;
	g_type_class_add_private (klass, sizeof (ValaUnlockStatementPrivate));
	VALA_CODE_NODE_CLASS (klass)->accept = vala_unlock_statement_real_accept;
	VALA_CODE_NODE_CLASS (klass)->check = vala_unlock_statement_real_check;
	VALA_CODE_NODE_CLASS (klass)->emit = vala_unlock_statement_real_emit;
}
Ejemplo n.º 3
0
static void vala_member_initializer_class_init (ValaMemberInitializerClass * klass) {
	vala_member_initializer_parent_class = g_type_class_peek_parent (klass);
	VALA_CODE_NODE_CLASS (klass)->finalize = vala_member_initializer_finalize;
	g_type_class_add_private (klass, sizeof (ValaMemberInitializerPrivate));
	VALA_CODE_NODE_CLASS (klass)->accept = vala_member_initializer_real_accept;
	VALA_CODE_NODE_CLASS (klass)->check = vala_member_initializer_real_check;
	VALA_CODE_NODE_CLASS (klass)->emit = vala_member_initializer_real_emit;
	VALA_CODE_NODE_CLASS (klass)->replace_expression = vala_member_initializer_real_replace_expression;
}
Ejemplo n.º 4
0
static void vala_constructor_class_init (ValaConstructorClass * klass) {
	vala_constructor_parent_class = g_type_class_peek_parent (klass);
	VALA_CODE_NODE_CLASS (klass)->finalize = vala_constructor_finalize;
	g_type_class_add_private (klass, sizeof (ValaConstructorPrivate));
	VALA_CODE_NODE_CLASS (klass)->accept = vala_constructor_real_accept;
	VALA_CODE_NODE_CLASS (klass)->accept_children = vala_constructor_real_accept_children;
	VALA_CODE_NODE_CLASS (klass)->check = vala_constructor_real_check;
	VALA_SUBROUTINE_CLASS (klass)->get_has_result = vala_constructor_real_get_has_result;
}
Ejemplo n.º 5
0
static void vala_named_argument_finalize (ValaCodeNode* obj) {
	ValaNamedArgument * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, VALA_TYPE_NAMED_ARGUMENT, ValaNamedArgument);
	_g_free0 (self->priv->_name);
	_vala_code_node_unref0 (self->priv->_inner);
	VALA_CODE_NODE_CLASS (vala_named_argument_parent_class)->finalize (obj);
}
Ejemplo n.º 6
0
static void vala_member_initializer_finalize (ValaCodeNode* obj) {
	ValaMemberInitializer * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, VALA_TYPE_MEMBER_INITIALIZER, ValaMemberInitializer);
	_g_free0 (self->priv->_name);
	_vala_code_node_unref0 (self->priv->_initializer);
	VALA_CODE_NODE_CLASS (vala_member_initializer_parent_class)->finalize (obj);
}
Ejemplo n.º 7
0
static void vala_field_prototype_class_init (ValaFieldPrototypeClass * klass) {
	vala_field_prototype_parent_class = g_type_class_peek_parent (klass);
	VALA_CODE_NODE_CLASS (klass)->finalize = vala_field_prototype_finalize;
	g_type_class_add_private (klass, sizeof (ValaFieldPrototypePrivate));
	VALA_DATA_TYPE_CLASS (klass)->copy = vala_field_prototype_real_copy;
	VALA_DATA_TYPE_CLASS (klass)->to_qualified_string = vala_field_prototype_real_to_qualified_string;
}
Ejemplo n.º 8
0
static void vala_enum_value_type_class_init (ValaEnumValueTypeClass * klass) {
	vala_enum_value_type_parent_class = g_type_class_peek_parent (klass);
	VALA_CODE_NODE_CLASS (klass)->finalize = vala_enum_value_type_finalize;
	g_type_class_add_private (klass, sizeof (ValaEnumValueTypePrivate));
	VALA_DATA_TYPE_CLASS (klass)->copy = vala_enum_value_type_real_copy;
	VALA_DATA_TYPE_CLASS (klass)->get_member = vala_enum_value_type_real_get_member;
}
Ejemplo n.º 9
0
static void vala_integer_type_finalize (ValaCodeNode* obj) {
	ValaIntegerType * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, VALA_TYPE_INTEGER_TYPE, ValaIntegerType);
	_g_free0 (self->priv->literal_value);
	_g_free0 (self->priv->literal_type_name);
	VALA_CODE_NODE_CLASS (vala_integer_type_parent_class)->finalize (obj);
}
Ejemplo n.º 10
0
static void vala_integer_type_class_init (ValaIntegerTypeClass * klass) {
	vala_integer_type_parent_class = g_type_class_peek_parent (klass);
	VALA_CODE_NODE_CLASS (klass)->finalize = vala_integer_type_finalize;
	g_type_class_add_private (klass, sizeof (ValaIntegerTypePrivate));
	VALA_DATA_TYPE_CLASS (klass)->copy = vala_integer_type_real_copy;
	VALA_DATA_TYPE_CLASS (klass)->compatible = vala_integer_type_real_compatible;
}
Ejemplo n.º 11
0
static void vala_slice_expression_finalize (ValaCodeNode* obj) {
	ValaSliceExpression * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, VALA_TYPE_SLICE_EXPRESSION, ValaSliceExpression);
	_vala_code_node_unref0 (self->priv->_container);
	_vala_code_node_unref0 (self->priv->_start);
	_vala_code_node_unref0 (self->priv->_stop);
	VALA_CODE_NODE_CLASS (vala_slice_expression_parent_class)->finalize (obj);
}
Ejemplo n.º 12
0
static void vala_slice_expression_class_init (ValaSliceExpressionClass * klass) {
	vala_slice_expression_parent_class = g_type_class_peek_parent (klass);
	VALA_CODE_NODE_CLASS (klass)->finalize = vala_slice_expression_finalize;
	g_type_class_add_private (klass, sizeof (ValaSliceExpressionPrivate));
	VALA_CODE_NODE_CLASS (klass)->accept = vala_slice_expression_real_accept;
	VALA_CODE_NODE_CLASS (klass)->accept_children = vala_slice_expression_real_accept_children;
	VALA_CODE_NODE_CLASS (klass)->replace_expression = vala_slice_expression_real_replace_expression;
	VALA_EXPRESSION_CLASS (klass)->is_pure = vala_slice_expression_real_is_pure;
	VALA_CODE_NODE_CLASS (klass)->check = vala_slice_expression_real_check;
	VALA_CODE_NODE_CLASS (klass)->emit = vala_slice_expression_real_emit;
	VALA_CODE_NODE_CLASS (klass)->get_defined_variables = vala_slice_expression_real_get_defined_variables;
	VALA_CODE_NODE_CLASS (klass)->get_used_variables = vala_slice_expression_real_get_used_variables;
}
Ejemplo n.º 13
0
static void vala_method_type_class_init (ValaMethodTypeClass * klass) {
	vala_method_type_parent_class = g_type_class_peek_parent (klass);
	VALA_CODE_NODE_CLASS (klass)->finalize = vala_method_type_finalize;
	g_type_class_add_private (klass, sizeof (ValaMethodTypePrivate));
	VALA_DATA_TYPE_CLASS (klass)->is_invokable = vala_method_type_real_is_invokable;
	VALA_DATA_TYPE_CLASS (klass)->get_return_type = vala_method_type_real_get_return_type;
	VALA_DATA_TYPE_CLASS (klass)->get_parameters = vala_method_type_real_get_parameters;
	VALA_DATA_TYPE_CLASS (klass)->copy = vala_method_type_real_copy;
	VALA_DATA_TYPE_CLASS (klass)->compatible = vala_method_type_real_compatible;
	VALA_DATA_TYPE_CLASS (klass)->to_qualified_string = vala_method_type_real_to_qualified_string;
	VALA_DATA_TYPE_CLASS (klass)->get_member = vala_method_type_real_get_member;
}
Ejemplo n.º 14
0
static void vala_tuple_class_init (ValaTupleClass * klass) {
	vala_tuple_parent_class = g_type_class_peek_parent (klass);
	VALA_CODE_NODE_CLASS (klass)->finalize = vala_tuple_finalize;
	g_type_class_add_private (klass, sizeof (ValaTuplePrivate));
	VALA_CODE_NODE_CLASS (klass)->accept_children = vala_tuple_real_accept_children;
	VALA_CODE_NODE_CLASS (klass)->accept = vala_tuple_real_accept;
	VALA_EXPRESSION_CLASS (klass)->is_pure = vala_tuple_real_is_pure;
	VALA_CODE_NODE_CLASS (klass)->replace_expression = vala_tuple_real_replace_expression;
	VALA_CODE_NODE_CLASS (klass)->check = vala_tuple_real_check;
	VALA_CODE_NODE_CLASS (klass)->emit = vala_tuple_real_emit;
}
Ejemplo n.º 15
0
static void vala_method_type_finalize (ValaCodeNode* obj) {
	ValaMethodType * self;
	self = VALA_METHOD_TYPE (obj);
	_vala_code_node_unref0 (self->priv->_method_symbol);
	VALA_CODE_NODE_CLASS (vala_method_type_parent_class)->finalize (obj);
}
Ejemplo n.º 16
0
static void vala_enum_value_type_finalize (ValaCodeNode* obj) {
	ValaEnumValueType * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, VALA_TYPE_ENUM_VALUE_TYPE, ValaEnumValueType);
	_vala_code_node_unref0 (self->priv->to_string_method);
	VALA_CODE_NODE_CLASS (vala_enum_value_type_parent_class)->finalize (obj);
}
Ejemplo n.º 17
0
static void vala_addressof_expression_finalize (ValaCodeNode* obj) {
	ValaAddressofExpression * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, VALA_TYPE_ADDRESSOF_EXPRESSION, ValaAddressofExpression);
	_vala_code_node_unref0 (self->priv->_inner);
	VALA_CODE_NODE_CLASS (vala_addressof_expression_parent_class)->finalize (obj);
}
Ejemplo n.º 18
0
static void vala_constructor_finalize (ValaCodeNode* obj) {
	ValaConstructor * self;
	self = VALA_CONSTRUCTOR (obj);
	_vala_code_node_unref0 (self->priv->_this_parameter);
	VALA_CODE_NODE_CLASS (vala_constructor_parent_class)->finalize (obj);
}
Ejemplo n.º 19
0
static void vala_field_prototype_finalize (ValaCodeNode* obj) {
	ValaFieldPrototype * self;
	self = VALA_FIELD_PROTOTYPE (obj);
	_vala_code_node_unref0 (self->priv->_field_symbol);
	VALA_CODE_NODE_CLASS (vala_field_prototype_parent_class)->finalize (obj);
}
Ejemplo n.º 20
0
static void vala_enum_value_class_init (ValaEnumValueClass * klass) {
	vala_enum_value_parent_class = g_type_class_peek_parent (klass);
	VALA_CODE_NODE_CLASS (klass)->accept = vala_enum_value_real_accept;
	VALA_CODE_NODE_CLASS (klass)->accept_children = vala_enum_value_real_accept_children;
	VALA_CODE_NODE_CLASS (klass)->check = vala_enum_value_real_check;
}
Ejemplo n.º 21
0
static void vala_unlock_statement_finalize (ValaCodeNode* obj) {
	ValaUnlockStatement * self;
	self = VALA_UNLOCK_STATEMENT (obj);
	_vala_code_node_unref0 (self->priv->_resource);
	VALA_CODE_NODE_CLASS (vala_unlock_statement_parent_class)->finalize (obj);
}
Ejemplo n.º 22
0
static void vala_break_statement_class_init (ValaBreakStatementClass * klass) {
	vala_break_statement_parent_class = g_type_class_peek_parent (klass);
	VALA_CODE_NODE_CLASS (klass)->accept = vala_break_statement_real_accept;
	VALA_CODE_NODE_CLASS (klass)->emit = vala_break_statement_real_emit;
}
Ejemplo n.º 23
0
static void vala_tuple_finalize (ValaCodeNode* obj) {
	ValaTuple * self;
	self = VALA_TUPLE (obj);
	_vala_iterable_unref0 (self->priv->expression_list);
	VALA_CODE_NODE_CLASS (vala_tuple_parent_class)->finalize (obj);
}