Logo Search packages:      
Sourcecode: vala-0.14 version File versions  Download package

valapropertyaccessor.c

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

/* valapropertyaccessor.vala
 *
 * Copyright (C) 2006-2010  Jürg Billeter
 *
 * 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:
 *    Jürg Billeter <j@bitron.ch>
 */

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


#define VALA_TYPE_CODE_NODE (vala_code_node_get_type ())
#define VALA_CODE_NODE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CODE_NODE, ValaCodeNode))
#define VALA_CODE_NODE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CODE_NODE, ValaCodeNodeClass))
#define VALA_IS_CODE_NODE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CODE_NODE))
#define VALA_IS_CODE_NODE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CODE_NODE))
#define VALA_CODE_NODE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CODE_NODE, ValaCodeNodeClass))

typedef struct _ValaCodeNode ValaCodeNode;
typedef struct _ValaCodeNodeClass ValaCodeNodeClass;
typedef struct _ValaCodeNodePrivate ValaCodeNodePrivate;

#define VALA_TYPE_CODE_VISITOR (vala_code_visitor_get_type ())
#define VALA_CODE_VISITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CODE_VISITOR, ValaCodeVisitor))
#define VALA_CODE_VISITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CODE_VISITOR, ValaCodeVisitorClass))
#define VALA_IS_CODE_VISITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CODE_VISITOR))
#define VALA_IS_CODE_VISITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CODE_VISITOR))
#define VALA_CODE_VISITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CODE_VISITOR, ValaCodeVisitorClass))

typedef struct _ValaCodeVisitor ValaCodeVisitor;
typedef struct _ValaCodeVisitorClass ValaCodeVisitorClass;

#define VALA_TYPE_CODE_CONTEXT (vala_code_context_get_type ())
#define VALA_CODE_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CODE_CONTEXT, ValaCodeContext))
#define VALA_CODE_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CODE_CONTEXT, ValaCodeContextClass))
#define VALA_IS_CODE_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CODE_CONTEXT))
#define VALA_IS_CODE_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CODE_CONTEXT))
#define VALA_CODE_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CODE_CONTEXT, ValaCodeContextClass))

typedef struct _ValaCodeContext ValaCodeContext;
typedef struct _ValaCodeContextClass ValaCodeContextClass;

#define VALA_TYPE_CODE_GENERATOR (vala_code_generator_get_type ())
#define VALA_CODE_GENERATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CODE_GENERATOR, ValaCodeGenerator))
#define VALA_CODE_GENERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CODE_GENERATOR, ValaCodeGeneratorClass))
#define VALA_IS_CODE_GENERATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CODE_GENERATOR))
#define VALA_IS_CODE_GENERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CODE_GENERATOR))
#define VALA_CODE_GENERATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CODE_GENERATOR, ValaCodeGeneratorClass))

typedef struct _ValaCodeGenerator ValaCodeGenerator;
typedef struct _ValaCodeGeneratorClass ValaCodeGeneratorClass;

#define VALA_TYPE_DATA_TYPE (vala_data_type_get_type ())
#define VALA_DATA_TYPE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_DATA_TYPE, ValaDataType))
#define VALA_DATA_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_DATA_TYPE, ValaDataTypeClass))
#define VALA_IS_DATA_TYPE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_DATA_TYPE))
#define VALA_IS_DATA_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_DATA_TYPE))
#define VALA_DATA_TYPE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_DATA_TYPE, ValaDataTypeClass))

typedef struct _ValaDataType ValaDataType;
typedef struct _ValaDataTypeClass ValaDataTypeClass;

#define VALA_TYPE_EXPRESSION (vala_expression_get_type ())
#define VALA_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_EXPRESSION, ValaExpression))
#define VALA_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_EXPRESSION, ValaExpressionClass))
#define VALA_IS_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_EXPRESSION))
#define VALA_IS_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_EXPRESSION))
#define VALA_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_EXPRESSION, ValaExpressionClass))

typedef struct _ValaExpression ValaExpression;
typedef struct _ValaExpressionClass ValaExpressionClass;

#define VALA_TYPE_SYMBOL (vala_symbol_get_type ())
#define VALA_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_SYMBOL, ValaSymbol))
#define VALA_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_SYMBOL, ValaSymbolClass))
#define VALA_IS_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_SYMBOL))
#define VALA_IS_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_SYMBOL))
#define VALA_SYMBOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_SYMBOL, ValaSymbolClass))

typedef struct _ValaSymbol ValaSymbol;
typedef struct _ValaSymbolClass ValaSymbolClass;

#define VALA_TYPE_VARIABLE (vala_variable_get_type ())
#define VALA_VARIABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_VARIABLE, ValaVariable))
#define VALA_VARIABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_VARIABLE, ValaVariableClass))
#define VALA_IS_VARIABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_VARIABLE))
#define VALA_IS_VARIABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_VARIABLE))
#define VALA_VARIABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_VARIABLE, ValaVariableClass))

typedef struct _ValaVariable ValaVariable;
typedef struct _ValaVariableClass ValaVariableClass;

#define VALA_TYPE_LOCAL_VARIABLE (vala_local_variable_get_type ())
#define VALA_LOCAL_VARIABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_LOCAL_VARIABLE, ValaLocalVariable))
#define VALA_LOCAL_VARIABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_LOCAL_VARIABLE, ValaLocalVariableClass))
#define VALA_IS_LOCAL_VARIABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_LOCAL_VARIABLE))
#define VALA_IS_LOCAL_VARIABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_LOCAL_VARIABLE))
#define VALA_LOCAL_VARIABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_LOCAL_VARIABLE, ValaLocalVariableClass))

typedef struct _ValaLocalVariable ValaLocalVariable;
typedef struct _ValaLocalVariableClass ValaLocalVariableClass;

#define VALA_TYPE_ATTRIBUTE (vala_attribute_get_type ())
#define VALA_ATTRIBUTE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ATTRIBUTE, ValaAttribute))
#define VALA_ATTRIBUTE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_ATTRIBUTE, ValaAttributeClass))
#define VALA_IS_ATTRIBUTE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_ATTRIBUTE))
#define VALA_IS_ATTRIBUTE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_ATTRIBUTE))
#define VALA_ATTRIBUTE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_ATTRIBUTE, ValaAttributeClass))

typedef struct _ValaAttribute ValaAttribute;
typedef struct _ValaAttributeClass ValaAttributeClass;
typedef struct _ValaSymbolPrivate ValaSymbolPrivate;

#define VALA_TYPE_NAMESPACE (vala_namespace_get_type ())
#define VALA_NAMESPACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_NAMESPACE, ValaNamespace))
#define VALA_NAMESPACE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_NAMESPACE, ValaNamespaceClass))
#define VALA_IS_NAMESPACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_NAMESPACE))
#define VALA_IS_NAMESPACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_NAMESPACE))
#define VALA_NAMESPACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_NAMESPACE, ValaNamespaceClass))

typedef struct _ValaNamespace ValaNamespace;
typedef struct _ValaNamespaceClass ValaNamespaceClass;

#define VALA_TYPE_TYPESYMBOL (vala_typesymbol_get_type ())
#define VALA_TYPESYMBOL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_TYPESYMBOL, ValaTypeSymbol))
#define VALA_TYPESYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_TYPESYMBOL, ValaTypeSymbolClass))
#define VALA_IS_TYPESYMBOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_TYPESYMBOL))
#define VALA_IS_TYPESYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_TYPESYMBOL))
#define VALA_TYPESYMBOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_TYPESYMBOL, ValaTypeSymbolClass))

typedef struct _ValaTypeSymbol ValaTypeSymbol;
typedef struct _ValaTypeSymbolClass ValaTypeSymbolClass;

#define VALA_TYPE_OBJECT_TYPE_SYMBOL (vala_object_type_symbol_get_type ())
#define VALA_OBJECT_TYPE_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_OBJECT_TYPE_SYMBOL, ValaObjectTypeSymbol))
#define VALA_OBJECT_TYPE_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_OBJECT_TYPE_SYMBOL, ValaObjectTypeSymbolClass))
#define VALA_IS_OBJECT_TYPE_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_OBJECT_TYPE_SYMBOL))
#define VALA_IS_OBJECT_TYPE_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_OBJECT_TYPE_SYMBOL))
#define VALA_OBJECT_TYPE_SYMBOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_OBJECT_TYPE_SYMBOL, ValaObjectTypeSymbolClass))

typedef struct _ValaObjectTypeSymbol ValaObjectTypeSymbol;
typedef struct _ValaObjectTypeSymbolClass ValaObjectTypeSymbolClass;

#define VALA_TYPE_CLASS (vala_class_get_type ())
#define VALA_CLASS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CLASS, ValaClass))
#define VALA_CLASS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CLASS, ValaClassClass))
#define VALA_IS_CLASS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CLASS))
#define VALA_IS_CLASS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CLASS))
#define VALA_CLASS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CLASS, ValaClassClass))

typedef struct _ValaClass ValaClass;
typedef struct _ValaClassClass ValaClassClass;

#define VALA_TYPE_INTERFACE (vala_interface_get_type ())
#define VALA_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_INTERFACE, ValaInterface))
#define VALA_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_INTERFACE, ValaInterfaceClass))
#define VALA_IS_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_INTERFACE))
#define VALA_IS_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_INTERFACE))
#define VALA_INTERFACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_INTERFACE, ValaInterfaceClass))

typedef struct _ValaInterface ValaInterface;
typedef struct _ValaInterfaceClass ValaInterfaceClass;

#define VALA_TYPE_STRUCT (vala_struct_get_type ())
#define VALA_STRUCT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_STRUCT, ValaStruct))
#define VALA_STRUCT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_STRUCT, ValaStructClass))
#define VALA_IS_STRUCT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_STRUCT))
#define VALA_IS_STRUCT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_STRUCT))
#define VALA_STRUCT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_STRUCT, ValaStructClass))

typedef struct _ValaStruct ValaStruct;
typedef struct _ValaStructClass ValaStructClass;

#define VALA_TYPE_ENUM (vala_enum_get_type ())
#define VALA_ENUM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ENUM, ValaEnum))
#define VALA_ENUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_ENUM, ValaEnumClass))
#define VALA_IS_ENUM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_ENUM))
#define VALA_IS_ENUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_ENUM))
#define VALA_ENUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_ENUM, ValaEnumClass))

typedef struct _ValaEnum ValaEnum;
typedef struct _ValaEnumClass ValaEnumClass;

#define VALA_TYPE_ERROR_DOMAIN (vala_error_domain_get_type ())
#define VALA_ERROR_DOMAIN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ERROR_DOMAIN, ValaErrorDomain))
#define VALA_ERROR_DOMAIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_ERROR_DOMAIN, ValaErrorDomainClass))
#define VALA_IS_ERROR_DOMAIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_ERROR_DOMAIN))
#define VALA_IS_ERROR_DOMAIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_ERROR_DOMAIN))
#define VALA_ERROR_DOMAIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_ERROR_DOMAIN, ValaErrorDomainClass))

typedef struct _ValaErrorDomain ValaErrorDomain;
typedef struct _ValaErrorDomainClass ValaErrorDomainClass;

#define VALA_TYPE_DELEGATE (vala_delegate_get_type ())
#define VALA_DELEGATE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_DELEGATE, ValaDelegate))
#define VALA_DELEGATE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_DELEGATE, ValaDelegateClass))
#define VALA_IS_DELEGATE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_DELEGATE))
#define VALA_IS_DELEGATE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_DELEGATE))
#define VALA_DELEGATE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_DELEGATE, ValaDelegateClass))

typedef struct _ValaDelegate ValaDelegate;
typedef struct _ValaDelegateClass ValaDelegateClass;

#define VALA_TYPE_CONSTANT (vala_constant_get_type ())
#define VALA_CONSTANT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CONSTANT, ValaConstant))
#define VALA_CONSTANT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CONSTANT, ValaConstantClass))
#define VALA_IS_CONSTANT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CONSTANT))
#define VALA_IS_CONSTANT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CONSTANT))
#define VALA_CONSTANT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CONSTANT, ValaConstantClass))

typedef struct _ValaConstant ValaConstant;
typedef struct _ValaConstantClass ValaConstantClass;

#define VALA_TYPE_FIELD (vala_field_get_type ())
#define VALA_FIELD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_FIELD, ValaField))
#define VALA_FIELD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_FIELD, ValaFieldClass))
#define VALA_IS_FIELD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_FIELD))
#define VALA_IS_FIELD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_FIELD))
#define VALA_FIELD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_FIELD, ValaFieldClass))

typedef struct _ValaField ValaField;
typedef struct _ValaFieldClass ValaFieldClass;

#define VALA_TYPE_SUBROUTINE (vala_subroutine_get_type ())
#define VALA_SUBROUTINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_SUBROUTINE, ValaSubroutine))
#define VALA_SUBROUTINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_SUBROUTINE, ValaSubroutineClass))
#define VALA_IS_SUBROUTINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_SUBROUTINE))
#define VALA_IS_SUBROUTINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_SUBROUTINE))
#define VALA_SUBROUTINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_SUBROUTINE, ValaSubroutineClass))

typedef struct _ValaSubroutine ValaSubroutine;
typedef struct _ValaSubroutineClass ValaSubroutineClass;

#define VALA_TYPE_METHOD (vala_method_get_type ())
#define VALA_METHOD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_METHOD, ValaMethod))
#define VALA_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_METHOD, ValaMethodClass))
#define VALA_IS_METHOD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_METHOD))
#define VALA_IS_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_METHOD))
#define VALA_METHOD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_METHOD, ValaMethodClass))

typedef struct _ValaMethod ValaMethod;
typedef struct _ValaMethodClass ValaMethodClass;

#define VALA_TYPE_PROPERTY (vala_property_get_type ())
#define VALA_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_PROPERTY, ValaProperty))
#define VALA_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_PROPERTY, ValaPropertyClass))
#define VALA_IS_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_PROPERTY))
#define VALA_IS_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_PROPERTY))
#define VALA_PROPERTY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_PROPERTY, ValaPropertyClass))

typedef struct _ValaProperty ValaProperty;
typedef struct _ValaPropertyClass ValaPropertyClass;

#define VALA_TYPE_SIGNAL (vala_signal_get_type ())
#define VALA_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_SIGNAL, ValaSignal))
#define VALA_SIGNAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_SIGNAL, ValaSignalClass))
#define VALA_IS_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_SIGNAL))
#define VALA_IS_SIGNAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_SIGNAL))
#define VALA_SIGNAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_SIGNAL, ValaSignalClass))

typedef struct _ValaSignal ValaSignal;
typedef struct _ValaSignalClass ValaSignalClass;

#define VALA_TYPE_CONSTRUCTOR (vala_constructor_get_type ())
#define VALA_CONSTRUCTOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CONSTRUCTOR, ValaConstructor))
#define VALA_CONSTRUCTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CONSTRUCTOR, ValaConstructorClass))
#define VALA_IS_CONSTRUCTOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CONSTRUCTOR))
#define VALA_IS_CONSTRUCTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CONSTRUCTOR))
#define VALA_CONSTRUCTOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CONSTRUCTOR, ValaConstructorClass))

typedef struct _ValaConstructor ValaConstructor;
typedef struct _ValaConstructorClass ValaConstructorClass;

#define VALA_TYPE_DESTRUCTOR (vala_destructor_get_type ())
#define VALA_DESTRUCTOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_DESTRUCTOR, ValaDestructor))
#define VALA_DESTRUCTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_DESTRUCTOR, ValaDestructorClass))
#define VALA_IS_DESTRUCTOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_DESTRUCTOR))
#define VALA_IS_DESTRUCTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_DESTRUCTOR))
#define VALA_DESTRUCTOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_DESTRUCTOR, ValaDestructorClass))

typedef struct _ValaDestructor ValaDestructor;
typedef struct _ValaDestructorClass ValaDestructorClass;
typedef struct _ValaSubroutinePrivate ValaSubroutinePrivate;

#define VALA_TYPE_PROPERTY_ACCESSOR (vala_property_accessor_get_type ())
#define VALA_PROPERTY_ACCESSOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_PROPERTY_ACCESSOR, ValaPropertyAccessor))
#define VALA_PROPERTY_ACCESSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_PROPERTY_ACCESSOR, ValaPropertyAccessorClass))
#define VALA_IS_PROPERTY_ACCESSOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_PROPERTY_ACCESSOR))
#define VALA_IS_PROPERTY_ACCESSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_PROPERTY_ACCESSOR))
#define VALA_PROPERTY_ACCESSOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_PROPERTY_ACCESSOR, ValaPropertyAccessorClass))

typedef struct _ValaPropertyAccessor ValaPropertyAccessor;
typedef struct _ValaPropertyAccessorClass ValaPropertyAccessorClass;
typedef struct _ValaPropertyAccessorPrivate ValaPropertyAccessorPrivate;

#define VALA_TYPE_PARAMETER (vala_parameter_get_type ())
#define VALA_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_PARAMETER, ValaParameter))
#define VALA_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_PARAMETER, ValaParameterClass))
#define VALA_IS_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_PARAMETER))
#define VALA_IS_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_PARAMETER))
#define VALA_PARAMETER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_PARAMETER, ValaParameterClass))

typedef struct _ValaParameter ValaParameter;
typedef struct _ValaParameterClass ValaParameterClass;
#define _vala_code_node_unref0(var) ((var == NULL) ? NULL : (var = (vala_code_node_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))

#define VALA_TYPE_BLOCK (vala_block_get_type ())
#define VALA_BLOCK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_BLOCK, ValaBlock))
#define VALA_BLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_BLOCK, ValaBlockClass))
#define VALA_IS_BLOCK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_BLOCK))
#define VALA_IS_BLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_BLOCK))
#define VALA_BLOCK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_BLOCK, ValaBlockClass))

typedef struct _ValaBlock ValaBlock;
typedef struct _ValaBlockClass ValaBlockClass;

#define VALA_TYPE_SOURCE_REFERENCE (vala_source_reference_get_type ())
#define VALA_SOURCE_REFERENCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_SOURCE_REFERENCE, ValaSourceReference))
#define VALA_SOURCE_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_SOURCE_REFERENCE, ValaSourceReferenceClass))
#define VALA_IS_SOURCE_REFERENCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_SOURCE_REFERENCE))
#define VALA_IS_SOURCE_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_SOURCE_REFERENCE))
#define VALA_SOURCE_REFERENCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_SOURCE_REFERENCE, ValaSourceReferenceClass))

typedef struct _ValaSourceReference ValaSourceReference;
typedef struct _ValaSourceReferenceClass ValaSourceReferenceClass;

#define VALA_TYPE_COMMENT (vala_comment_get_type ())
#define VALA_COMMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_COMMENT, ValaComment))
#define VALA_COMMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_COMMENT, ValaCommentClass))
#define VALA_IS_COMMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_COMMENT))
#define VALA_IS_COMMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_COMMENT))
#define VALA_COMMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_COMMENT, ValaCommentClass))

typedef struct _ValaComment ValaComment;
typedef struct _ValaCommentClass ValaCommentClass;

#define VALA_TYPE_SYMBOL_ACCESSIBILITY (vala_symbol_accessibility_get_type ())

#define VALA_TYPE_SEMANTIC_ANALYZER (vala_semantic_analyzer_get_type ())
#define VALA_SEMANTIC_ANALYZER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_SEMANTIC_ANALYZER, ValaSemanticAnalyzer))
#define VALA_SEMANTIC_ANALYZER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_SEMANTIC_ANALYZER, ValaSemanticAnalyzerClass))
#define VALA_IS_SEMANTIC_ANALYZER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_SEMANTIC_ANALYZER))
#define VALA_IS_SEMANTIC_ANALYZER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_SEMANTIC_ANALYZER))
#define VALA_SEMANTIC_ANALYZER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_SEMANTIC_ANALYZER, ValaSemanticAnalyzerClass))

typedef struct _ValaSemanticAnalyzer ValaSemanticAnalyzer;
typedef struct _ValaSemanticAnalyzerClass ValaSemanticAnalyzerClass;

#define VALA_TYPE_SOURCE_FILE_TYPE (vala_source_file_type_get_type ())

#define VALA_TYPE_MEMBER_ACCESS (vala_member_access_get_type ())
#define VALA_MEMBER_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_MEMBER_ACCESS, ValaMemberAccess))
#define VALA_MEMBER_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_MEMBER_ACCESS, ValaMemberAccessClass))
#define VALA_IS_MEMBER_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_MEMBER_ACCESS))
#define VALA_IS_MEMBER_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_MEMBER_ACCESS))
#define VALA_MEMBER_ACCESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_MEMBER_ACCESS, ValaMemberAccessClass))

typedef struct _ValaMemberAccess ValaMemberAccess;
typedef struct _ValaMemberAccessClass ValaMemberAccessClass;

#define VALA_TYPE_PROFILE (vala_profile_get_type ())

#define VALA_TYPE_STATEMENT (vala_statement_get_type ())
#define VALA_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_STATEMENT, ValaStatement))
#define VALA_IS_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_STATEMENT))
#define VALA_STATEMENT_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), VALA_TYPE_STATEMENT, ValaStatementIface))

typedef struct _ValaStatement ValaStatement;
typedef struct _ValaStatementIface ValaStatementIface;

#define VALA_TYPE_ASSIGNMENT_OPERATOR (vala_assignment_operator_get_type ())

#define VALA_TYPE_ASSIGNMENT (vala_assignment_get_type ())
#define VALA_ASSIGNMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ASSIGNMENT, ValaAssignment))
#define VALA_ASSIGNMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_ASSIGNMENT, ValaAssignmentClass))
#define VALA_IS_ASSIGNMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_ASSIGNMENT))
#define VALA_IS_ASSIGNMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_ASSIGNMENT))
#define VALA_ASSIGNMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_ASSIGNMENT, ValaAssignmentClass))

typedef struct _ValaAssignment ValaAssignment;
typedef struct _ValaAssignmentClass ValaAssignmentClass;

#define VALA_TYPE_EXPRESSION_STATEMENT (vala_expression_statement_get_type ())
#define VALA_EXPRESSION_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_EXPRESSION_STATEMENT, ValaExpressionStatement))
#define VALA_EXPRESSION_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_EXPRESSION_STATEMENT, ValaExpressionStatementClass))
#define VALA_IS_EXPRESSION_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_EXPRESSION_STATEMENT))
#define VALA_IS_EXPRESSION_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_EXPRESSION_STATEMENT))
#define VALA_EXPRESSION_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_EXPRESSION_STATEMENT, ValaExpressionStatementClass))

typedef struct _ValaExpressionStatement ValaExpressionStatement;
typedef struct _ValaExpressionStatementClass ValaExpressionStatementClass;

#define VALA_TYPE_RETURN_STATEMENT (vala_return_statement_get_type ())
#define VALA_RETURN_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_RETURN_STATEMENT, ValaReturnStatement))
#define VALA_RETURN_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_RETURN_STATEMENT, ValaReturnStatementClass))
#define VALA_IS_RETURN_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_RETURN_STATEMENT))
#define VALA_IS_RETURN_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_RETURN_STATEMENT))
#define VALA_RETURN_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_RETURN_STATEMENT, ValaReturnStatementClass))

typedef struct _ValaReturnStatement ValaReturnStatement;
typedef struct _ValaReturnStatementClass ValaReturnStatementClass;

#define VALA_TYPE_REFERENCE_TRANSFER_EXPRESSION (vala_reference_transfer_expression_get_type ())
#define VALA_REFERENCE_TRANSFER_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_REFERENCE_TRANSFER_EXPRESSION, ValaReferenceTransferExpression))
#define VALA_REFERENCE_TRANSFER_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_REFERENCE_TRANSFER_EXPRESSION, ValaReferenceTransferExpressionClass))
#define VALA_IS_REFERENCE_TRANSFER_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_REFERENCE_TRANSFER_EXPRESSION))
#define VALA_IS_REFERENCE_TRANSFER_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_REFERENCE_TRANSFER_EXPRESSION))
#define VALA_REFERENCE_TRANSFER_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_REFERENCE_TRANSFER_EXPRESSION, ValaReferenceTransferExpressionClass))

typedef struct _ValaReferenceTransferExpression ValaReferenceTransferExpression;
typedef struct _ValaReferenceTransferExpressionClass ValaReferenceTransferExpressionClass;

#define VALA_TYPE_SCOPE (vala_scope_get_type ())
#define VALA_SCOPE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_SCOPE, ValaScope))
#define VALA_SCOPE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_SCOPE, ValaScopeClass))
#define VALA_IS_SCOPE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_SCOPE))
#define VALA_IS_SCOPE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_SCOPE))
#define VALA_SCOPE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_SCOPE, ValaScopeClass))

typedef struct _ValaScope ValaScope;
typedef struct _ValaScopeClass ValaScopeClass;

#define VALA_TYPE_REFERENCE_TYPE (vala_reference_type_get_type ())
#define VALA_REFERENCE_TYPE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_REFERENCE_TYPE, ValaReferenceType))
#define VALA_REFERENCE_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_REFERENCE_TYPE, ValaReferenceTypeClass))
#define VALA_IS_REFERENCE_TYPE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_REFERENCE_TYPE))
#define VALA_IS_REFERENCE_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_REFERENCE_TYPE))
#define VALA_REFERENCE_TYPE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_REFERENCE_TYPE, ValaReferenceTypeClass))

typedef struct _ValaReferenceType ValaReferenceType;
typedef struct _ValaReferenceTypeClass ValaReferenceTypeClass;

#define VALA_TYPE_ERROR_TYPE (vala_error_type_get_type ())
#define VALA_ERROR_TYPE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ERROR_TYPE, ValaErrorType))
#define VALA_ERROR_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_ERROR_TYPE, ValaErrorTypeClass))
#define VALA_IS_ERROR_TYPE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_ERROR_TYPE))
#define VALA_IS_ERROR_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_ERROR_TYPE))
#define VALA_ERROR_TYPE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_ERROR_TYPE, ValaErrorTypeClass))

typedef struct _ValaErrorType ValaErrorType;
typedef struct _ValaErrorTypeClass ValaErrorTypeClass;
#define _vala_iterable_unref0(var) ((var == NULL) ? NULL : (var = (vala_iterable_unref (var), NULL)))

struct _ValaCodeNode {
      GTypeInstance parent_instance;
      volatile int ref_count;
      ValaCodeNodePrivate * priv;
      GList* attributes;
};

struct _ValaCodeNodeClass {
      GTypeClass parent_class;
      void (*finalize) (ValaCodeNode *self);
      void (*accept) (ValaCodeNode* self, ValaCodeVisitor* visitor);
      void (*accept_children) (ValaCodeNode* self, ValaCodeVisitor* visitor);
      gboolean (*check) (ValaCodeNode* self, ValaCodeContext* context);
      void (*emit) (ValaCodeNode* self, ValaCodeGenerator* codegen);
      void (*replace_type) (ValaCodeNode* self, ValaDataType* old_type, ValaDataType* new_type);
      void (*replace_expression) (ValaCodeNode* self, ValaExpression* old_node, ValaExpression* new_node);
      gchar* (*to_string) (ValaCodeNode* self);
      void (*get_defined_variables) (ValaCodeNode* self, ValaCollection* collection);
      void (*get_used_variables) (ValaCodeNode* self, ValaCollection* collection);
};

struct _ValaSymbol {
      ValaCodeNode parent_instance;
      ValaSymbolPrivate * priv;
};

struct _ValaSymbolClass {
      ValaCodeNodeClass parent_class;
      gchar* (*get_cprefix) (ValaSymbol* self);
      gchar* (*get_lower_case_cname) (ValaSymbol* self, const gchar* infix);
      gchar* (*get_lower_case_cprefix) (ValaSymbol* self);
      ValaList* (*get_cheader_filenames) (ValaSymbol* self);
      gboolean (*is_instance_member) (ValaSymbol* self);
      gboolean (*is_class_member) (ValaSymbol* self);
      void (*process_deprecated_attribute) (ValaSymbol* self, ValaAttribute* attr);
      void (*process_experimental_attribute) (ValaSymbol* self, ValaAttribute* attr);
      void (*add_namespace) (ValaSymbol* self, ValaNamespace* ns);
      void (*add_class) (ValaSymbol* self, ValaClass* cl);
      void (*add_interface) (ValaSymbol* self, ValaInterface* iface);
      void (*add_struct) (ValaSymbol* self, ValaStruct* st);
      void (*add_enum) (ValaSymbol* self, ValaEnum* en);
      void (*add_error_domain) (ValaSymbol* self, ValaErrorDomain* edomain);
      void (*add_delegate) (ValaSymbol* self, ValaDelegate* d);
      void (*add_constant) (ValaSymbol* self, ValaConstant* constant);
      void (*add_field) (ValaSymbol* self, ValaField* f);
      void (*add_method) (ValaSymbol* self, ValaMethod* m);
      void (*add_property) (ValaSymbol* self, ValaProperty* prop);
      void (*add_signal) (ValaSymbol* self, ValaSignal* sig);
      void (*add_constructor) (ValaSymbol* self, ValaConstructor* c);
      void (*add_destructor) (ValaSymbol* self, ValaDestructor* d);
};

struct _ValaSubroutine {
      ValaSymbol parent_instance;
      ValaSubroutinePrivate * priv;
};

struct _ValaSubroutineClass {
      ValaSymbolClass parent_class;
      gboolean (*get_has_result) (ValaSubroutine* self);
};

struct _ValaPropertyAccessor {
      ValaSubroutine parent_instance;
      ValaPropertyAccessorPrivate * priv;
};

struct _ValaPropertyAccessorClass {
      ValaSubroutineClass parent_class;
      gchar* (*get_default_cname) (ValaPropertyAccessor* self);
};

00538 struct _ValaPropertyAccessorPrivate {
      gboolean _readable;
      gboolean _writable;
      gboolean _construction;
      gboolean _automatic_body;
      ValaParameter* _value_parameter;
      ValaDataType* _value_type;
      gchar* _cname;
};

typedef enum  {
      VALA_SYMBOL_ACCESSIBILITY_PRIVATE,
      VALA_SYMBOL_ACCESSIBILITY_INTERNAL,
      VALA_SYMBOL_ACCESSIBILITY_PROTECTED,
      VALA_SYMBOL_ACCESSIBILITY_PUBLIC
} ValaSymbolAccessibility;

typedef enum  {
      VALA_SOURCE_FILE_TYPE_NONE,
      VALA_SOURCE_FILE_TYPE_SOURCE,
      VALA_SOURCE_FILE_TYPE_PACKAGE,
      VALA_SOURCE_FILE_TYPE_FAST
} ValaSourceFileType;

typedef enum  {
      VALA_PROFILE_POSIX,
      VALA_PROFILE_GOBJECT,
      VALA_PROFILE_DOVA
} ValaProfile;

struct _ValaStatementIface {
      GTypeInterface parent_iface;
};

typedef enum  {
      VALA_ASSIGNMENT_OPERATOR_NONE,
      VALA_ASSIGNMENT_OPERATOR_SIMPLE,
      VALA_ASSIGNMENT_OPERATOR_BITWISE_OR,
      VALA_ASSIGNMENT_OPERATOR_BITWISE_AND,
      VALA_ASSIGNMENT_OPERATOR_BITWISE_XOR,
      VALA_ASSIGNMENT_OPERATOR_ADD,
      VALA_ASSIGNMENT_OPERATOR_SUB,
      VALA_ASSIGNMENT_OPERATOR_MUL,
      VALA_ASSIGNMENT_OPERATOR_DIV,
      VALA_ASSIGNMENT_OPERATOR_PERCENT,
      VALA_ASSIGNMENT_OPERATOR_SHIFT_LEFT,
      VALA_ASSIGNMENT_OPERATOR_SHIFT_RIGHT
} ValaAssignmentOperator;


static gpointer vala_property_accessor_parent_class = NULL;

gpointer vala_code_node_ref (gpointer instance);
void vala_code_node_unref (gpointer instance);
GParamSpec* vala_param_spec_code_node (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void vala_value_set_code_node (GValue* value, gpointer v_object);
void vala_value_take_code_node (GValue* value, gpointer v_object);
gpointer vala_value_get_code_node (const GValue* value);
GType vala_code_node_get_type (void) G_GNUC_CONST;
gpointer vala_code_visitor_ref (gpointer instance);
void vala_code_visitor_unref (gpointer instance);
GParamSpec* vala_param_spec_code_visitor (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void vala_value_set_code_visitor (GValue* value, gpointer v_object);
void vala_value_take_code_visitor (GValue* value, gpointer v_object);
gpointer vala_value_get_code_visitor (const GValue* value);
GType vala_code_visitor_get_type (void) G_GNUC_CONST;
gpointer vala_code_context_ref (gpointer instance);
void vala_code_context_unref (gpointer instance);
GParamSpec* vala_param_spec_code_context (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void vala_value_set_code_context (GValue* value, gpointer v_object);
void vala_value_take_code_context (GValue* value, gpointer v_object);
gpointer vala_value_get_code_context (const GValue* value);
GType vala_code_context_get_type (void) G_GNUC_CONST;
GType vala_code_generator_get_type (void) G_GNUC_CONST;
GType vala_data_type_get_type (void) G_GNUC_CONST;
GType vala_expression_get_type (void) G_GNUC_CONST;
GType vala_symbol_get_type (void) G_GNUC_CONST;
GType vala_variable_get_type (void) G_GNUC_CONST;
GType vala_local_variable_get_type (void) G_GNUC_CONST;
GType vala_attribute_get_type (void) G_GNUC_CONST;
GType vala_namespace_get_type (void) G_GNUC_CONST;
GType vala_typesymbol_get_type (void) G_GNUC_CONST;
GType vala_object_type_symbol_get_type (void) G_GNUC_CONST;
GType vala_class_get_type (void) G_GNUC_CONST;
GType vala_interface_get_type (void) G_GNUC_CONST;
GType vala_struct_get_type (void) G_GNUC_CONST;
GType vala_enum_get_type (void) G_GNUC_CONST;
GType vala_error_domain_get_type (void) G_GNUC_CONST;
GType vala_delegate_get_type (void) G_GNUC_CONST;
GType vala_constant_get_type (void) G_GNUC_CONST;
GType vala_field_get_type (void) G_GNUC_CONST;
GType vala_subroutine_get_type (void) G_GNUC_CONST;
GType vala_method_get_type (void) G_GNUC_CONST;
GType vala_property_get_type (void) G_GNUC_CONST;
GType vala_signal_get_type (void) G_GNUC_CONST;
GType vala_constructor_get_type (void) G_GNUC_CONST;
GType vala_destructor_get_type (void) G_GNUC_CONST;
GType vala_property_accessor_get_type (void) G_GNUC_CONST;
GType vala_parameter_get_type (void) G_GNUC_CONST;
#define VALA_PROPERTY_ACCESSOR_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), VALA_TYPE_PROPERTY_ACCESSOR, ValaPropertyAccessorPrivate))
enum  {
      VALA_PROPERTY_ACCESSOR_DUMMY_PROPERTY
};
gchar* vala_property_accessor_get_default_cname (ValaPropertyAccessor* self);
static gchar* vala_property_accessor_real_get_default_cname (ValaPropertyAccessor* self);
ValaProperty* vala_property_accessor_get_prop (ValaPropertyAccessor* self);
ValaSymbol* vala_symbol_get_parent_symbol (ValaSymbol* self);
gboolean vala_property_accessor_get_readable (ValaPropertyAccessor* self);
gchar* vala_symbol_get_lower_case_cprefix (ValaSymbol* self);
const gchar* vala_symbol_get_name (ValaSymbol* self);
gchar* vala_property_accessor_get_cname (ValaPropertyAccessor* self);
GType vala_block_get_type (void) G_GNUC_CONST;
gpointer vala_source_reference_ref (gpointer instance);
void vala_source_reference_unref (gpointer instance);
GParamSpec* vala_param_spec_source_reference (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void vala_value_set_source_reference (GValue* value, gpointer v_object);
void vala_value_take_source_reference (GValue* value, gpointer v_object);
gpointer vala_value_get_source_reference (const GValue* value);
GType vala_source_reference_get_type (void) G_GNUC_CONST;
gpointer vala_comment_ref (gpointer instance);
void vala_comment_unref (gpointer instance);
GParamSpec* vala_param_spec_comment (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void vala_value_set_comment (GValue* value, gpointer v_object);
void vala_value_take_comment (GValue* value, gpointer v_object);
gpointer vala_value_get_comment (const GValue* value);
GType vala_comment_get_type (void) G_GNUC_CONST;
ValaPropertyAccessor* vala_property_accessor_new (gboolean readable, gboolean writable, gboolean construction, ValaDataType* value_type, ValaBlock* body, ValaSourceReference* source_reference, ValaComment* comment);
ValaPropertyAccessor* vala_property_accessor_construct (GType object_type, gboolean readable, gboolean writable, gboolean construction, ValaDataType* value_type, ValaBlock* body, ValaSourceReference* source_reference, ValaComment* comment);
ValaSubroutine* vala_subroutine_construct (GType object_type, const gchar* name, ValaSourceReference* source_reference, ValaComment* comment);
void vala_property_accessor_set_readable (ValaPropertyAccessor* self, gboolean value);
void vala_property_accessor_set_writable (ValaPropertyAccessor* self, gboolean value);
void vala_property_accessor_set_construction (ValaPropertyAccessor* self, gboolean value);
void vala_property_accessor_set_value_type (ValaPropertyAccessor* self, ValaDataType* value);
void vala_subroutine_set_body (ValaSubroutine* self, ValaBlock* value);
GType vala_symbol_accessibility_get_type (void) G_GNUC_CONST;
void vala_symbol_set_access (ValaSymbol* self, ValaSymbolAccessibility value);
static void vala_property_accessor_real_accept (ValaCodeNode* base, ValaCodeVisitor* visitor);
void vala_code_visitor_visit_property_accessor (ValaCodeVisitor* self, ValaPropertyAccessor* acc);
static void vala_property_accessor_real_accept_children (ValaCodeNode* base, ValaCodeVisitor* visitor);
ValaDataType* vala_property_accessor_get_value_type (ValaPropertyAccessor* self);
void vala_code_node_accept (ValaCodeNode* self, ValaCodeVisitor* visitor);
ValaLocalVariable* vala_subroutine_get_result_var (ValaSubroutine* self);
ValaBlock* vala_subroutine_get_body (ValaSubroutine* self);
void vala_property_accessor_process_attributes (ValaPropertyAccessor* self);
const gchar* vala_attribute_get_name (ValaAttribute* self);
gboolean vala_attribute_has_argument (ValaAttribute* self, const gchar* name);
gchar* vala_attribute_get_string (ValaAttribute* self, const gchar* name);
static gboolean vala_property_accessor_real_check (ValaCodeNode* base, ValaCodeContext* context);
gboolean vala_code_node_get_checked (ValaCodeNode* self);
gboolean vala_code_node_get_error (ValaCodeNode* self);
void vala_code_node_set_checked (ValaCodeNode* self, gboolean value);
gboolean vala_code_node_check (ValaCodeNode* self, ValaCodeContext* context);
void vala_code_node_set_error (ValaCodeNode* self, gboolean value);
GType vala_semantic_analyzer_get_type (void) G_GNUC_CONST;
ValaSemanticAnalyzer* vala_code_context_get_analyzer (ValaCodeContext* self);
ValaSymbol* vala_semantic_analyzer_get_current_symbol (ValaSemanticAnalyzer* self);
void vala_semantic_analyzer_set_current_symbol (ValaSemanticAnalyzer* self, ValaSymbol* value);
GType vala_source_file_type_get_type (void) G_GNUC_CONST;
ValaSourceFileType vala_symbol_get_source_type (ValaSymbol* self);
gboolean vala_property_get_interface_only (ValaProperty* self);
gboolean vala_property_get_is_abstract (ValaProperty* self);
void vala_report_error (ValaSourceReference* source, const gchar* message);
ValaSourceReference* vala_code_node_get_source_reference (ValaCodeNode* self);
void vala_property_accessor_set_automatic_body (ValaPropertyAccessor* self, gboolean value);
ValaBlock* vala_block_new (ValaSourceReference* source_reference);
ValaBlock* vala_block_construct (GType object_type, ValaSourceReference* source_reference);
ValaMemberAccess* vala_member_access_new_simple (const gchar* member_name, ValaSourceReference* source_reference);
ValaMemberAccess* vala_member_access_construct_simple (GType object_type, const gchar* member_name, ValaSourceReference* source_reference);
GType vala_member_access_get_type (void) G_GNUC_CONST;
GType vala_profile_get_type (void) G_GNUC_CONST;
ValaProfile vala_code_context_get_profile (ValaCodeContext* self);
GType vala_statement_get_type (void) G_GNUC_CONST;
void vala_block_add_statement (ValaBlock* self, ValaStatement* stmt);
GType vala_assignment_operator_get_type (void) G_GNUC_CONST;
ValaAssignment* vala_assignment_new (ValaExpression* left, ValaExpression* right, ValaAssignmentOperator operator, ValaSourceReference* source_reference);
ValaAssignment* vala_assignment_construct (GType object_type, ValaExpression* left, ValaExpression* right, ValaAssignmentOperator operator, ValaSourceReference* source_reference);
GType vala_assignment_get_type (void) G_GNUC_CONST;
ValaExpressionStatement* vala_expression_statement_new (ValaExpression* expression, ValaSourceReference* source_reference);
ValaExpressionStatement* vala_expression_statement_construct (GType object_type, ValaExpression* expression, ValaSourceReference* source_reference);
GType vala_expression_statement_get_type (void) G_GNUC_CONST;
ValaReturnStatement* vala_return_statement_new (ValaExpression* return_expression, ValaSourceReference* source_reference);
ValaReturnStatement* vala_return_statement_construct (GType object_type, ValaExpression* return_expression, ValaSourceReference* source_reference);
GType vala_return_statement_get_type (void) G_GNUC_CONST;
gboolean vala_data_type_get_value_owned (ValaDataType* self);
ValaReferenceTransferExpression* vala_reference_transfer_expression_new (ValaExpression* inner, ValaSourceReference* source_reference);
ValaReferenceTransferExpression* vala_reference_transfer_expression_construct (GType object_type, ValaExpression* inner, ValaSourceReference* source_reference);
GType vala_reference_transfer_expression_get_type (void) G_GNUC_CONST;
ValaDataType* vala_data_type_copy (ValaDataType* self);
ValaLocalVariable* vala_local_variable_new (ValaDataType* variable_type, const gchar* name, ValaExpression* initializer, ValaSourceReference* source_reference);
ValaLocalVariable* vala_local_variable_construct (GType object_type, ValaDataType* variable_type, const gchar* name, ValaExpression* initializer, ValaSourceReference* source_reference);
void vala_subroutine_set_result_var (ValaSubroutine* self, ValaLocalVariable* value);
void vala_local_variable_set_is_result (ValaLocalVariable* self, gboolean value);
gboolean vala_property_accessor_get_writable (ValaPropertyAccessor* self);
gboolean vala_property_accessor_get_construction (ValaPropertyAccessor* self);
ValaParameter* vala_parameter_new (const gchar* name, ValaDataType* variable_type, ValaSourceReference* source_reference);
ValaParameter* vala_parameter_construct (GType object_type, const gchar* name, ValaDataType* variable_type, ValaSourceReference* source_reference);
void vala_property_accessor_set_value_parameter (ValaPropertyAccessor* self, ValaParameter* value);
gpointer vala_scope_ref (gpointer instance);
void vala_scope_unref (gpointer instance);
GParamSpec* vala_param_spec_scope (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void vala_value_set_scope (GValue* value, gpointer v_object);
void vala_value_take_scope (GValue* value, gpointer v_object);
gpointer vala_value_get_scope (const GValue* value);
GType vala_scope_get_type (void) G_GNUC_CONST;
ValaScope* vala_symbol_get_scope (ValaSymbol* self);
void vala_scope_add (ValaScope* self, const gchar* name, ValaSymbol* sym);
ValaParameter* vala_property_accessor_get_value_parameter (ValaPropertyAccessor* self);
ValaList* vala_code_node_get_error_types (ValaCodeNode* self);
GType vala_reference_type_get_type (void) G_GNUC_CONST;
GType vala_error_type_get_type (void) G_GNUC_CONST;
gboolean vala_error_type_get_dynamic_error (ValaErrorType* self);
void vala_report_warning (ValaSourceReference* source, const gchar* message);
gchar* vala_code_node_to_string (ValaCodeNode* self);
static void vala_property_accessor_real_replace_type (ValaCodeNode* base, ValaDataType* old_type, ValaDataType* new_type);
static ValaList* vala_property_accessor_real_get_cheader_filenames (ValaSymbol* base);
ValaList* vala_symbol_get_cheader_filenames (ValaSymbol* self);
void vala_code_node_set_parent_node (ValaCodeNode* self, ValaCodeNode* value);
gboolean vala_property_accessor_get_automatic_body (ValaPropertyAccessor* self);
static void vala_property_accessor_finalize (ValaCodeNode* obj);


static gpointer _vala_code_node_ref0 (gpointer self) {
      return self ? vala_code_node_ref (self) : NULL;
}


static gchar* vala_property_accessor_real_get_default_cname (ValaPropertyAccessor* self) {
      gchar* result = NULL;
      ValaProperty* _tmp0_ = NULL;
      ValaSymbol* _tmp1_ = NULL;
      ValaTypeSymbol* _tmp2_;
      ValaTypeSymbol* t;
      g_return_val_if_fail (self != NULL, NULL);
      _tmp0_ = vala_property_accessor_get_prop (self);
      _tmp1_ = vala_symbol_get_parent_symbol ((ValaSymbol*) _tmp0_);
      _tmp2_ = _vala_code_node_ref0 (VALA_TYPESYMBOL (_tmp1_));
      t = _tmp2_;
      if (self->priv->_readable) {
            gchar* _tmp3_ = NULL;
            gchar* _tmp4_;
            ValaProperty* _tmp5_ = NULL;
            const gchar* _tmp6_ = NULL;
            gchar* _tmp7_ = NULL;
            gchar* _tmp8_;
            _tmp3_ = vala_symbol_get_lower_case_cprefix ((ValaSymbol*) t);
            _tmp4_ = _tmp3_;
            _tmp5_ = vala_property_accessor_get_prop (self);
            _tmp6_ = vala_symbol_get_name ((ValaSymbol*) _tmp5_);
            _tmp7_ = g_strdup_printf ("%sget_%s", _tmp4_, _tmp6_);
            _tmp8_ = _tmp7_;
            _g_free0 (_tmp4_);
            result = _tmp8_;
            _vala_code_node_unref0 (t);
            return result;
      } else {
            gchar* _tmp9_ = NULL;
            gchar* _tmp10_;
            ValaProperty* _tmp11_ = NULL;
            const gchar* _tmp12_ = NULL;
            gchar* _tmp13_ = NULL;
            gchar* _tmp14_;
            _tmp9_ = vala_symbol_get_lower_case_cprefix ((ValaSymbol*) t);
            _tmp10_ = _tmp9_;
            _tmp11_ = vala_property_accessor_get_prop (self);
            _tmp12_ = vala_symbol_get_name ((ValaSymbol*) _tmp11_);
            _tmp13_ = g_strdup_printf ("%sset_%s", _tmp10_, _tmp12_);
            _tmp14_ = _tmp13_;
            _g_free0 (_tmp10_);
            result = _tmp14_;
            _vala_code_node_unref0 (t);
            return result;
      }
      _vala_code_node_unref0 (t);
}


gchar* vala_property_accessor_get_default_cname (ValaPropertyAccessor* self) {
      return VALA_PROPERTY_ACCESSOR_GET_CLASS (self)->get_default_cname (self);
}


/**
 * The publicly accessible name of the function that performs the
 * access in C code.
 */
gchar* vala_property_accessor_get_cname (ValaPropertyAccessor* self) {
      gchar* result = NULL;
      gchar* _tmp1_ = NULL;
      g_return_val_if_fail (self != NULL, NULL);
      if (self->priv->_cname != NULL) {
            gchar* _tmp0_;
            _tmp0_ = g_strdup (self->priv->_cname);
            result = _tmp0_;
            return result;
      }
      _tmp1_ = vala_property_accessor_get_default_cname (self);
      result = _tmp1_;
      return result;
}


/**
 * Creates a new property accessor.
 *
 * @param readable     true if get accessor, false otherwise
 * @param writable     true if set accessor, false otherwise
 * @param construction true if construct accessor, false otherwise
 * @param body         accessor body
 * @param source       reference to source code
 * @return             newly created property accessor
 */
ValaPropertyAccessor* vala_property_accessor_construct (GType object_type, gboolean readable, gboolean writable, gboolean construction, ValaDataType* value_type, ValaBlock* body, ValaSourceReference* source_reference, ValaComment* comment) {
      ValaPropertyAccessor* self = NULL;
      self = (ValaPropertyAccessor*) vala_subroutine_construct (object_type, NULL, source_reference, comment);
      vala_property_accessor_set_readable (self, readable);
      vala_property_accessor_set_writable (self, writable);
      vala_property_accessor_set_construction (self, construction);
      vala_property_accessor_set_value_type (self, value_type);
      vala_subroutine_set_body ((ValaSubroutine*) self, body);
      vala_symbol_set_access ((ValaSymbol*) self, VALA_SYMBOL_ACCESSIBILITY_PUBLIC);
      return self;
}


ValaPropertyAccessor* vala_property_accessor_new (gboolean readable, gboolean writable, gboolean construction, ValaDataType* value_type, ValaBlock* body, ValaSourceReference* source_reference, ValaComment* comment) {
      return vala_property_accessor_construct (VALA_TYPE_PROPERTY_ACCESSOR, readable, writable, construction, value_type, body, source_reference, comment);
}


static void vala_property_accessor_real_accept (ValaCodeNode* base, ValaCodeVisitor* visitor) {
      ValaPropertyAccessor * self;
      self = (ValaPropertyAccessor*) base;
      g_return_if_fail (visitor != NULL);
      vala_code_visitor_visit_property_accessor (visitor, self);
}


static void vala_property_accessor_real_accept_children (ValaCodeNode* base, ValaCodeVisitor* visitor) {
      ValaPropertyAccessor * self;
      ValaDataType* _tmp0_ = NULL;
      ValaLocalVariable* _tmp1_ = NULL;
      ValaBlock* _tmp3_ = NULL;
      self = (ValaPropertyAccessor*) base;
      g_return_if_fail (visitor != NULL);
      _tmp0_ = vala_property_accessor_get_value_type (self);
      vala_code_node_accept ((ValaCodeNode*) _tmp0_, visitor);
      _tmp1_ = vala_subroutine_get_result_var ((ValaSubroutine*) self);
      if (_tmp1_ != NULL) {
            ValaLocalVariable* _tmp2_ = NULL;
            _tmp2_ = vala_subroutine_get_result_var ((ValaSubroutine*) self);
            vala_code_node_accept ((ValaCodeNode*) _tmp2_, visitor);
      }
      _tmp3_ = vala_subroutine_get_body ((ValaSubroutine*) self);
      if (_tmp3_ != NULL) {
            ValaBlock* _tmp4_ = NULL;
            _tmp4_ = vala_subroutine_get_body ((ValaSubroutine*) self);
            vala_code_node_accept ((ValaCodeNode*) _tmp4_, visitor);
      }
}


/**
 * Process all associated attributes.
 */
void vala_property_accessor_process_attributes (ValaPropertyAccessor* self) {
      g_return_if_fail (self != NULL);
      {
            GList* a_collection = NULL;
            GList* a_it = NULL;
            a_collection = ((ValaCodeNode*) self)->attributes;
            for (a_it = a_collection; a_it != NULL; a_it = a_it->next) {
                  ValaAttribute* _tmp0_;
                  ValaAttribute* a = NULL;
                  _tmp0_ = _vala_code_node_ref0 ((ValaAttribute*) a_it->data);
                  a = _tmp0_;
                  {
                        const gchar* _tmp1_ = NULL;
                        _tmp1_ = vala_attribute_get_name (a);
                        if (g_strcmp0 (_tmp1_, "CCode") == 0) {
                              gboolean _tmp2_;
                              _tmp2_ = vala_attribute_has_argument (a, "cname");
                              if (_tmp2_) {
                                    gchar* _tmp3_ = NULL;
                                    _tmp3_ = vala_attribute_get_string (a, "cname");
                                    _g_free0 (self->priv->_cname);
                                    self->priv->_cname = _tmp3_;
                              }
                        }
                        _vala_code_node_unref0 (a);
                  }
            }
      }
}


static gboolean vala_property_accessor_real_check (ValaCodeNode* base, ValaCodeContext* context) {
      ValaPropertyAccessor * self;
      gboolean result = FALSE;
      gboolean _tmp0_;
      ValaDataType* _tmp2_ = NULL;
      gboolean _tmp3_;
      ValaSemanticAnalyzer* _tmp4_ = NULL;
      ValaSymbol* _tmp5_ = NULL;
      ValaSymbol* _tmp6_;
      ValaSymbol* old_symbol;
      ValaSemanticAnalyzer* _tmp7_ = NULL;
      ValaProperty* _tmp8_ = NULL;
      ValaSourceFileType _tmp9_;
      ValaBlock* _tmp60_ = NULL;
      ValaSemanticAnalyzer* _tmp91_ = NULL;
      gboolean _tmp92_;
      self = (ValaPropertyAccessor*) base;
      g_return_val_if_fail (context != NULL, FALSE);
      _tmp0_ = vala_code_node_get_checked ((ValaCodeNode*) self);
      if (_tmp0_) {
            gboolean _tmp1_;
            _tmp1_ = vala_code_node_get_error ((ValaCodeNode*) self);
            result = !_tmp1_;
            return result;
      }
      vala_code_node_set_checked ((ValaCodeNode*) self, TRUE);
      vala_property_accessor_process_attributes (self);
      _tmp2_ = vala_property_accessor_get_value_type (self);
      _tmp3_ = vala_code_node_check ((ValaCodeNode*) _tmp2_, context);
      if (!_tmp3_) {
            vala_code_node_set_error ((ValaCodeNode*) self, TRUE);
            result = FALSE;
            return result;
      }
      _tmp4_ = vala_code_context_get_analyzer (context);
      _tmp5_ = vala_semantic_analyzer_get_current_symbol (_tmp4_);
      _tmp6_ = _vala_code_node_ref0 (_tmp5_);
      old_symbol = _tmp6_;
      _tmp7_ = vala_code_context_get_analyzer (context);
      vala_semantic_analyzer_set_current_symbol (_tmp7_, (ValaSymbol*) self);
      _tmp8_ = vala_property_accessor_get_prop (self);
      _tmp9_ = vala_symbol_get_source_type ((ValaSymbol*) _tmp8_);
      if (_tmp9_ == VALA_SOURCE_FILE_TYPE_SOURCE) {
            gboolean _tmp10_ = FALSE;
            gboolean _tmp11_ = FALSE;
            ValaBlock* _tmp12_ = NULL;
            _tmp12_ = vala_subroutine_get_body ((ValaSubroutine*) self);
            if (_tmp12_ == NULL) {
                  ValaProperty* _tmp13_ = NULL;
                  gboolean _tmp14_;
                  _tmp13_ = vala_property_accessor_get_prop (self);
                  _tmp14_ = vala_property_get_interface_only (_tmp13_);
                  _tmp11_ = !_tmp14_;
            } else {
                  _tmp11_ = FALSE;
            }
            if (_tmp11_) {
                  ValaProperty* _tmp15_ = NULL;
                  gboolean _tmp16_;
                  _tmp15_ = vala_property_accessor_get_prop (self);
                  _tmp16_ = vala_property_get_is_abstract (_tmp15_);
                  _tmp10_ = !_tmp16_;
            } else {
                  _tmp10_ = FALSE;
            }
            if (_tmp10_) {
                  ValaProperty* _tmp17_ = NULL;
                  ValaSymbol* _tmp18_ = NULL;
                  ValaSourceReference* _tmp20_ = NULL;
                  ValaBlock* _tmp21_ = NULL;
                  ValaBlock* _tmp22_;
                  ValaProperty* _tmp23_ = NULL;
                  const gchar* _tmp24_ = NULL;
                  gchar* _tmp25_ = NULL;
                  gchar* _tmp26_;
                  ValaSourceReference* _tmp27_ = NULL;
                  ValaMemberAccess* _tmp28_ = NULL;
                  ValaMemberAccess* _tmp29_;
                  ValaMemberAccess* ma;
                  _tmp17_ = vala_property_accessor_get_prop (self);
                  _tmp18_ = vala_symbol_get_parent_symbol ((ValaSymbol*) _tmp17_);
                  if (VALA_IS_INTERFACE (_tmp18_)) {
                        ValaSourceReference* _tmp19_ = NULL;
                        vala_code_node_set_error ((ValaCodeNode*) self, TRUE);
                        _tmp19_ = vala_code_node_get_source_reference ((ValaCodeNode*) self);
                        vala_report_error (_tmp19_, "Automatic properties can't be used in interfaces");
                        result = FALSE;
                        _vala_code_node_unref0 (old_symbol);
                        return result;
                  }
                  vala_property_accessor_set_automatic_body (self, TRUE);
                  _tmp20_ = vala_code_node_get_source_reference ((ValaCodeNode*) self);
                  _tmp21_ = vala_block_new (_tmp20_);
                  _tmp22_ = _tmp21_;
                  vala_subroutine_set_body ((ValaSubroutine*) self, _tmp22_);
                  _vala_code_node_unref0 (_tmp22_);
                  _tmp23_ = vala_property_accessor_get_prop (self);
                  _tmp24_ = vala_symbol_get_name ((ValaSymbol*) _tmp23_);
                  _tmp25_ = g_strdup_printf ("_%s", _tmp24_);
                  _tmp26_ = _tmp25_;
                  _tmp27_ = vala_code_node_get_source_reference ((ValaCodeNode*) self);
                  _tmp28_ = vala_member_access_new_simple (_tmp26_, _tmp27_);
                  _tmp29_ = _tmp28_;
                  _g_free0 (_tmp26_);
                  ma = _tmp29_;
                  if (self->priv->_readable) {
                        ValaProfile _tmp30_;
                        _tmp30_ = vala_code_context_get_profile (context);
                        if (_tmp30_ == VALA_PROFILE_DOVA) {
                              ValaBlock* _tmp31_ = NULL;
                              ValaSourceReference* _tmp32_ = NULL;
                              ValaMemberAccess* _tmp33_ = NULL;
                              ValaMemberAccess* _tmp34_;
                              ValaSourceReference* _tmp35_ = NULL;
                              ValaAssignment* _tmp36_ = NULL;
                              ValaAssignment* _tmp37_;
                              ValaSourceReference* _tmp38_ = NULL;
                              ValaExpressionStatement* _tmp39_ = NULL;
                              ValaExpressionStatement* _tmp40_;
                              ValaBlock* _tmp41_ = NULL;
                              ValaSourceReference* _tmp42_ = NULL;
                              ValaReturnStatement* _tmp43_ = NULL;
                              ValaReturnStatement* _tmp44_;
                              _tmp31_ = vala_subroutine_get_body ((ValaSubroutine*) self);
                              _tmp32_ = vala_code_node_get_source_reference ((ValaCodeNode*) self);
                              _tmp33_ = vala_member_access_new_simple ("result", _tmp32_);
                              _tmp34_ = _tmp33_;
                              _tmp35_ = vala_code_node_get_source_reference ((ValaCodeNode*) self);
                              _tmp36_ = vala_assignment_new ((ValaExpression*) _tmp34_, (ValaExpression*) ma, VALA_ASSIGNMENT_OPERATOR_SIMPLE, _tmp35_);
                              _tmp37_ = _tmp36_;
                              _tmp38_ = vala_code_node_get_source_reference ((ValaCodeNode*) self);
                              _tmp39_ = vala_expression_statement_new ((ValaExpression*) _tmp37_, _tmp38_);
                              _tmp40_ = _tmp39_;
                              vala_block_add_statement (_tmp31_, (ValaStatement*) _tmp40_);
                              _vala_code_node_unref0 (_tmp40_);
                              _vala_code_node_unref0 (_tmp37_);
                              _vala_code_node_unref0 (_tmp34_);
                              _tmp41_ = vala_subroutine_get_body ((ValaSubroutine*) self);
                              _tmp42_ = vala_code_node_get_source_reference ((ValaCodeNode*) self);
                              _tmp43_ = vala_return_statement_new (NULL, _tmp42_);
                              _tmp44_ = _tmp43_;
                              vala_block_add_statement (_tmp41_, (ValaStatement*) _tmp44_);
                              _vala_code_node_unref0 (_tmp44_);
                        } else {
                              ValaBlock* _tmp45_ = NULL;
                              ValaSourceReference* _tmp46_ = NULL;
                              ValaReturnStatement* _tmp47_ = NULL;
                              ValaReturnStatement* _tmp48_;
                              _tmp45_ = vala_subroutine_get_body ((ValaSubroutine*) self);
                              _tmp46_ = vala_code_node_get_source_reference ((ValaCodeNode*) self);
                              _tmp47_ = vala_return_statement_new ((ValaExpression*) ma, _tmp46_);
                              _tmp48_ = _tmp47_;
                              vala_block_add_statement (_tmp45_, (ValaStatement*) _tmp48_);
                              _vala_code_node_unref0 (_tmp48_);
                        }
                  } else {
                        ValaSourceReference* _tmp49_ = NULL;
                        ValaMemberAccess* _tmp50_ = NULL;
                        ValaExpression* value;
                        ValaDataType* _tmp51_ = NULL;
                        gboolean _tmp52_;
                        ValaSourceReference* _tmp55_ = NULL;
                        ValaAssignment* _tmp56_ = NULL;
                        ValaAssignment* assignment;
                        ValaBlock* _tmp57_ = NULL;
                        ValaExpressionStatement* _tmp58_ = NULL;
                        ValaExpressionStatement* _tmp59_;
                        _tmp49_ = vala_code_node_get_source_reference ((ValaCodeNode*) self);
                        _tmp50_ = vala_member_access_new_simple ("value", _tmp49_);
                        value = (ValaExpression*) _tmp50_;
                        _tmp51_ = vala_property_accessor_get_value_type (self);
                        _tmp52_ = vala_data_type_get_value_owned (_tmp51_);
                        if (_tmp52_) {
                              ValaSourceReference* _tmp53_ = NULL;
                              ValaReferenceTransferExpression* _tmp54_ = NULL;
                              _tmp53_ = vala_code_node_get_source_reference ((ValaCodeNode*) self);
                              _tmp54_ = vala_reference_transfer_expression_new (value, _tmp53_);
                              _vala_code_node_unref0 (value);
                              value = (ValaExpression*) _tmp54_;
                        }
                        _tmp55_ = vala_code_node_get_source_reference ((ValaCodeNode*) self);
                        _tmp56_ = vala_assignment_new ((ValaExpression*) ma, value, VALA_ASSIGNMENT_OPERATOR_SIMPLE, _tmp55_);
                        assignment = _tmp56_;
                        _tmp57_ = vala_subroutine_get_body ((ValaSubroutine*) self);
                        _tmp58_ = vala_expression_statement_new ((ValaExpression*) assignment, NULL);
                        _tmp59_ = _tmp58_;
                        vala_block_add_statement (_tmp57_, (ValaStatement*) _tmp59_);
                        _vala_code_node_unref0 (_tmp59_);
                        _vala_code_node_unref0 (assignment);
                        _vala_code_node_unref0 (value);
                  }
                  _vala_code_node_unref0 (ma);
            }
      }
      _tmp60_ = vala_subroutine_get_body ((ValaSubroutine*) self);
      if (_tmp60_ != NULL) {
            gboolean _tmp61_ = FALSE;
            ValaBlock* _tmp79_ = NULL;
            ValaProfile _tmp80_;
            if (self->priv->_readable) {
                  ValaProfile _tmp62_;
                  _tmp62_ = vala_code_context_get_profile (context);
                  _tmp61_ = _tmp62_ == VALA_PROFILE_DOVA;
            } else {
                  _tmp61_ = FALSE;
            }
            if (_tmp61_) {
                  ValaDataType* _tmp63_ = NULL;
                  ValaDataType* _tmp64_ = NULL;
                  ValaDataType* _tmp65_;
                  ValaSourceReference* _tmp66_ = NULL;
                  ValaLocalVariable* _tmp67_ = NULL;
                  ValaLocalVariable* _tmp68_;
                  ValaLocalVariable* _tmp69_ = NULL;
                  ValaLocalVariable* _tmp70_ = NULL;
                  _tmp63_ = vala_property_accessor_get_value_type (self);
                  _tmp64_ = vala_data_type_copy (_tmp63_);
                  _tmp65_ = _tmp64_;
                  _tmp66_ = vala_code_node_get_source_reference ((ValaCodeNode*) self);
                  _tmp67_ = vala_local_variable_new (_tmp65_, "result", NULL, _tmp66_);
                  _tmp68_ = _tmp67_;
                  vala_subroutine_set_result_var ((ValaSubroutine*) self, _tmp68_);
                  _vala_code_node_unref0 (_tmp68_);
                  _vala_code_node_unref0 (_tmp65_);
                  _tmp69_ = vala_subroutine_get_result_var ((ValaSubroutine*) self);
                  vala_local_variable_set_is_result (_tmp69_, TRUE);
                  _tmp70_ = vala_subroutine_get_result_var ((ValaSubroutine*) self);
                  vala_code_node_check ((ValaCodeNode*) _tmp70_, context);
            } else {
                  gboolean _tmp71_ = FALSE;
                  if (self->priv->_writable) {
                        _tmp71_ = TRUE;
                  } else {
                        _tmp71_ = self->priv->_construction;
                  }
                  if (_tmp71_) {
                        ValaDataType* _tmp72_ = NULL;
                        ValaSourceReference* _tmp73_ = NULL;
                        ValaParameter* _tmp74_ = NULL;
                        ValaParameter* _tmp75_;
                        ValaBlock* _tmp76_ = NULL;
                        ValaScope* _tmp77_ = NULL;
                        const gchar* _tmp78_ = NULL;
                        _tmp72_ = vala_property_accessor_get_value_type (self);
                        _tmp73_ = vala_code_node_get_source_reference ((ValaCodeNode*) self);
                        _tmp74_ = vala_parameter_new ("value", _tmp72_, _tmp73_);
                        _tmp75_ = _tmp74_;
                        vala_property_accessor_set_value_parameter (self, _tmp75_);
                        _vala_code_node_unref0 (_tmp75_);
                        _tmp76_ = vala_subroutine_get_body ((ValaSubroutine*) self);
                        _tmp77_ = vala_symbol_get_scope ((ValaSymbol*) _tmp76_);
                        _tmp78_ = vala_symbol_get_name ((ValaSymbol*) self->priv->_value_parameter);
                        vala_scope_add (_tmp77_, _tmp78_, (ValaSymbol*) self->priv->_value_parameter);
                  }
            }
            _tmp79_ = vala_subroutine_get_body ((ValaSubroutine*) self);
            vala_code_node_check ((ValaCodeNode*) _tmp79_, context);
            _tmp80_ = vala_code_context_get_profile (context);
            if (_tmp80_ != VALA_PROFILE_DOVA) {
                  {
                        ValaBlock* _tmp81_ = NULL;
                        ValaList* _tmp82_ = NULL;
                        ValaList* _body_error_type_list;
                        gint _tmp83_;
                        gint _body_error_type_size;
                        gint _body_error_type_index;
                        _tmp81_ = vala_subroutine_get_body ((ValaSubroutine*) self);
                        _tmp82_ = vala_code_node_get_error_types ((ValaCodeNode*) _tmp81_);
                        _body_error_type_list = _tmp82_;
                        _tmp83_ = vala_collection_get_size ((ValaCollection*) _body_error_type_list);
                        _body_error_type_size = _tmp83_;
                        _body_error_type_index = -1;
                        while (TRUE) {
                              gpointer _tmp84_ = NULL;
                              ValaDataType* body_error_type;
                              gboolean _tmp85_;
                              _body_error_type_index = _body_error_type_index + 1;
                              if (!(_body_error_type_index < _body_error_type_size)) {
                                    break;
                              }
                              _tmp84_ = vala_list_get (_body_error_type_list, _body_error_type_index);
                              body_error_type = (ValaDataType*) _tmp84_;
                              _tmp85_ = vala_error_type_get_dynamic_error (VALA_ERROR_TYPE (body_error_type));
                              if (!_tmp85_) {
                                    ValaSourceReference* _tmp86_ = NULL;
                                    gchar* _tmp87_ = NULL;
                                    gchar* _tmp88_;
                                    gchar* _tmp89_ = NULL;
                                    gchar* _tmp90_;
                                    _tmp86_ = vala_code_node_get_source_reference ((ValaCodeNode*) body_error_type);
                                    _tmp87_ = vala_code_node_to_string ((ValaCodeNode*) body_error_type);
                                    _tmp88_ = _tmp87_;
                                    _tmp89_ = g_strdup_printf ("unhandled error `%s'", _tmp88_);
                                    _tmp90_ = _tmp89_;
                                    vala_report_warning (_tmp86_, _tmp90_);
                                    _g_free0 (_tmp90_);
                                    _g_free0 (_tmp88_);
                              }
                              _vala_code_node_unref0 (body_error_type);
                        }
                        _vala_iterable_unref0 (_body_error_type_list);
                  }
            }
      }
      _tmp91_ = vala_code_context_get_analyzer (context);
      vala_semantic_analyzer_set_current_symbol (_tmp91_, old_symbol);
      _tmp92_ = vala_code_node_get_error ((ValaCodeNode*) self);
      result = !_tmp92_;
      _vala_code_node_unref0 (old_symbol);
      return result;
}


static void vala_property_accessor_real_replace_type (ValaCodeNode* base, ValaDataType* old_type, ValaDataType* new_type) {
      ValaPropertyAccessor * self;
      ValaDataType* _tmp0_ = NULL;
      self = (ValaPropertyAccessor*) base;
      g_return_if_fail (old_type != NULL);
      g_return_if_fail (new_type != NULL);
      _tmp0_ = vala_property_accessor_get_value_type (self);
      if (_tmp0_ == old_type) {
            vala_property_accessor_set_value_type (self, new_type);
      }
}


static ValaList* vala_property_accessor_real_get_cheader_filenames (ValaSymbol* base) {
      ValaPropertyAccessor * self;
      ValaList* result = NULL;
      ValaSymbol* _tmp0_ = NULL;
      ValaList* _tmp1_ = NULL;
      self = (ValaPropertyAccessor*) base;
      _tmp0_ = vala_symbol_get_parent_symbol ((ValaSymbol*) self);
      _tmp1_ = vala_symbol_get_cheader_filenames (_tmp0_);
      result = _tmp1_;
      return result;
}


ValaProperty* vala_property_accessor_get_prop (ValaPropertyAccessor* self) {
      ValaProperty* result;
      ValaSymbol* _tmp0_ = NULL;
      ValaSymbol* _tmp1_;
      g_return_val_if_fail (self != NULL, NULL);
      _tmp0_ = vala_symbol_get_parent_symbol ((ValaSymbol*) self);
      _tmp1_ = _tmp0_;
      result = VALA_IS_PROPERTY (_tmp1_) ? ((ValaProperty*) _tmp1_) : NULL;
      return result;
}


ValaDataType* vala_property_accessor_get_value_type (ValaPropertyAccessor* self) {
      ValaDataType* result;
      g_return_val_if_fail (self != NULL, NULL);
      result = self->priv->_value_type;
      return result;
}


void vala_property_accessor_set_value_type (ValaPropertyAccessor* self, ValaDataType* value) {
      ValaDataType* _tmp0_;
      g_return_if_fail (self != NULL);
      _tmp0_ = _vala_code_node_ref0 (value);
      _vala_code_node_unref0 (self->priv->_value_type);
      self->priv->_value_type = _tmp0_;
      if (value != NULL) {
            vala_code_node_set_parent_node ((ValaCodeNode*) self->priv->_value_type, (ValaCodeNode*) self);
      }
}


gboolean vala_property_accessor_get_readable (ValaPropertyAccessor* self) {
      gboolean result;
      g_return_val_if_fail (self != NULL, FALSE);
      result = self->priv->_readable;
      return result;
}


void vala_property_accessor_set_readable (ValaPropertyAccessor* self, gboolean value) {
      g_return_if_fail (self != NULL);
      self->priv->_readable = value;
}


gboolean vala_property_accessor_get_writable (ValaPropertyAccessor* self) {
      gboolean result;
      g_return_val_if_fail (self != NULL, FALSE);
      result = self->priv->_writable;
      return result;
}


void vala_property_accessor_set_writable (ValaPropertyAccessor* self, gboolean value) {
      g_return_if_fail (self != NULL);
      self->priv->_writable = value;
}


gboolean vala_property_accessor_get_construction (ValaPropertyAccessor* self) {
      gboolean result;
      g_return_val_if_fail (self != NULL, FALSE);
      result = self->priv->_construction;
      return result;
}


void vala_property_accessor_set_construction (ValaPropertyAccessor* self, gboolean value) {
      g_return_if_fail (self != NULL);
      self->priv->_construction = value;
}


gboolean vala_property_accessor_get_automatic_body (ValaPropertyAccessor* self) {
      gboolean result;
      g_return_val_if_fail (self != NULL, FALSE);
      result = self->priv->_automatic_body;
      return result;
}


void vala_property_accessor_set_automatic_body (ValaPropertyAccessor* self, gboolean value) {
      g_return_if_fail (self != NULL);
      self->priv->_automatic_body = value;
}


static gboolean vala_property_accessor_real_get_has_result (ValaSubroutine* base) {
      gboolean result;
      ValaPropertyAccessor* self;
      self = (ValaPropertyAccessor*) base;
      result = self->priv->_readable;
      return result;
}


ValaParameter* vala_property_accessor_get_value_parameter (ValaPropertyAccessor* self) {
      ValaParameter* result;
      g_return_val_if_fail (self != NULL, NULL);
      result = self->priv->_value_parameter;
      return result;
}


void vala_property_accessor_set_value_parameter (ValaPropertyAccessor* self, ValaParameter* value) {
      ValaParameter* _tmp0_;
      g_return_if_fail (self != NULL);
      _tmp0_ = _vala_code_node_ref0 (value);
      _vala_code_node_unref0 (self->priv->_value_parameter);
      self->priv->_value_parameter = _tmp0_;
}


static void vala_property_accessor_class_init (ValaPropertyAccessorClass * klass) {
      vala_property_accessor_parent_class = g_type_class_peek_parent (klass);
      VALA_CODE_NODE_CLASS (klass)->finalize = vala_property_accessor_finalize;
      g_type_class_add_private (klass, sizeof (ValaPropertyAccessorPrivate));
      VALA_PROPERTY_ACCESSOR_CLASS (klass)->get_default_cname = vala_property_accessor_real_get_default_cname;
      VALA_CODE_NODE_CLASS (klass)->accept = vala_property_accessor_real_accept;
      VALA_CODE_NODE_CLASS (klass)->accept_children = vala_property_accessor_real_accept_children;
      VALA_CODE_NODE_CLASS (klass)->check = vala_property_accessor_real_check;
      VALA_CODE_NODE_CLASS (klass)->replace_type = vala_property_accessor_real_replace_type;
      VALA_SYMBOL_CLASS (klass)->get_cheader_filenames = vala_property_accessor_real_get_cheader_filenames;
      VALA_SUBROUTINE_CLASS (klass)->get_has_result = vala_property_accessor_real_get_has_result;
}


static void vala_property_accessor_instance_init (ValaPropertyAccessor * self) {
      self->priv = VALA_PROPERTY_ACCESSOR_GET_PRIVATE (self);
}


static void vala_property_accessor_finalize (ValaCodeNode* obj) {
      ValaPropertyAccessor * self;
      self = VALA_PROPERTY_ACCESSOR (obj);
      _vala_code_node_unref0 (self->priv->_value_parameter);
      _vala_code_node_unref0 (self->priv->_value_type);
      _g_free0 (self->priv->_cname);
      VALA_CODE_NODE_CLASS (vala_property_accessor_parent_class)->finalize (obj);
}


/**
 * Represents a get or set accessor of a property in the source code.
 */
GType vala_property_accessor_get_type (void) {
      static volatile gsize vala_property_accessor_type_id__volatile = 0;
      if (g_once_init_enter (&vala_property_accessor_type_id__volatile)) {
            static const GTypeInfo g_define_type_info = { sizeof (ValaPropertyAccessorClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) vala_property_accessor_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ValaPropertyAccessor), 0, (GInstanceInitFunc) vala_property_accessor_instance_init, NULL };
            GType vala_property_accessor_type_id;
            vala_property_accessor_type_id = g_type_register_static (VALA_TYPE_SUBROUTINE, "ValaPropertyAccessor", &g_define_type_info, 0);
            g_once_init_leave (&vala_property_accessor_type_id__volatile, vala_property_accessor_type_id);
      }
      return vala_property_accessor_type_id__volatile;
}




Generated by  Doxygen 1.6.0   Back to index