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

valasymbol.c

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

/* valasymbol.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;

#define VALA_TYPE_SYMBOL_ACCESSIBILITY (vala_symbol_accessibility_get_type ())

#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_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 _g_free0(var) (var = (g_free (var), NULL))
#define _vala_comment_unref0(var) ((var == NULL) ? NULL : (var = (vala_comment_unref (var), NULL)))
#define _vala_iterable_unref0(var) ((var == NULL) ? NULL : (var = (vala_iterable_unref (var), NULL)))
#define _vala_scope_unref0(var) ((var == NULL) ? NULL : (var = (vala_scope_unref (var), NULL)))
#define _vala_code_node_unref0(var) ((var == NULL) ? NULL : (var = (vala_code_node_unref (var), NULL)))

#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_SOURCE_FILE (vala_source_file_get_type ())
#define VALA_SOURCE_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_SOURCE_FILE, ValaSourceFile))
#define VALA_SOURCE_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_SOURCE_FILE, ValaSourceFileClass))
#define VALA_IS_SOURCE_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_SOURCE_FILE))
#define VALA_IS_SOURCE_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_SOURCE_FILE))
#define VALA_SOURCE_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_SOURCE_FILE, ValaSourceFileClass))

typedef struct _ValaSourceFile ValaSourceFile;
typedef struct _ValaSourceFileClass ValaSourceFileClass;
#define _g_string_free0(var) ((var == NULL) ? NULL : (var = (g_string_free (var, TRUE), NULL)))

#define VALA_TYPE_MEMBER_BINDING (vala_member_binding_get_type ())

#define VALA_TYPE_CREATION_METHOD (vala_creation_method_get_type ())
#define VALA_CREATION_METHOD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CREATION_METHOD, ValaCreationMethod))
#define VALA_CREATION_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CREATION_METHOD, ValaCreationMethodClass))
#define VALA_IS_CREATION_METHOD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CREATION_METHOD))
#define VALA_IS_CREATION_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CREATION_METHOD))
#define VALA_CREATION_METHOD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CREATION_METHOD, ValaCreationMethodClass))

typedef struct _ValaCreationMethod ValaCreationMethod;
typedef struct _ValaCreationMethodClass ValaCreationMethodClass;

#define VALA_TYPE_ENUM_VALUE (vala_enum_value_get_type ())
#define VALA_ENUM_VALUE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ENUM_VALUE, ValaEnumValue))
#define VALA_ENUM_VALUE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_ENUM_VALUE, ValaEnumValueClass))
#define VALA_IS_ENUM_VALUE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_ENUM_VALUE))
#define VALA_IS_ENUM_VALUE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_ENUM_VALUE))
#define VALA_ENUM_VALUE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_ENUM_VALUE, ValaEnumValueClass))

typedef struct _ValaEnumValue ValaEnumValue;
typedef struct _ValaEnumValueClass ValaEnumValueClass;

#define VALA_TYPE_ERROR_CODE (vala_error_code_get_type ())
#define VALA_ERROR_CODE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ERROR_CODE, ValaErrorCode))
#define VALA_ERROR_CODE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_ERROR_CODE, ValaErrorCodeClass))
#define VALA_IS_ERROR_CODE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_ERROR_CODE))
#define VALA_IS_ERROR_CODE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_ERROR_CODE))
#define VALA_ERROR_CODE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_ERROR_CODE, ValaErrorCodeClass))

typedef struct _ValaErrorCode ValaErrorCode;
typedef struct _ValaErrorCodeClass ValaErrorCodeClass;
#define _vala_code_context_unref0(var) ((var == NULL) ? NULL : (var = (vala_code_context_unref (var), NULL)))

#define VALA_TYPE_SOURCE_FILE_TYPE (vala_source_file_type_get_type ())

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);
};

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

00447 struct _ValaSymbolPrivate {
      gchar* _name;
      gboolean _active;
      gboolean _deprecated;
      gchar* _deprecated_since;
      gchar* _replacement;
      gboolean _experimental;
      gboolean _used;
      ValaSymbolAccessibility _access;
      ValaComment* _comment;
      ValaList* cheader_filenames;
      gboolean _hides;
      gboolean _external;
      ValaScope* _owner;
      ValaScope* _scope;
      gchar* _gir_name;
};

typedef enum  {
      VALA_MEMBER_BINDING_INSTANCE,
      VALA_MEMBER_BINDING_CLASS,
      VALA_MEMBER_BINDING_STATIC
} ValaMemberBinding;

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


static gpointer vala_symbol_parent_class = NULL;
static ValaList* vala_symbol__empty_string_list;
static ValaList* vala_symbol__empty_string_list = 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_symbol_accessibility_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;
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;
#define VALA_SYMBOL_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), VALA_TYPE_SYMBOL, ValaSymbolPrivate))
enum  {
      VALA_SYMBOL_DUMMY_PROPERTY
};
gboolean vala_symbol_is_internal_symbol (ValaSymbol* self);
gboolean vala_symbol_get_external (ValaSymbol* self);
gboolean vala_symbol_get_external_package (ValaSymbol* self);
ValaSymbol* vala_symbol_get_parent_symbol (ValaSymbol* self);
ValaSymbolAccessibility vala_symbol_get_access (ValaSymbol* self);
gboolean vala_symbol_is_private_symbol (ValaSymbol* self);
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;
ValaSymbol* vala_symbol_construct (GType object_type, const gchar* name, ValaSourceReference* source_reference, ValaComment* comment);
ValaCodeNode* vala_code_node_construct (GType object_type);
void vala_symbol_set_name (ValaSymbol* self, const gchar* value);
void vala_code_node_set_source_reference (ValaCodeNode* self, ValaSourceReference* value);
void vala_symbol_set_comment (ValaSymbol* self, ValaComment* value);
ValaScope* vala_scope_new (ValaSymbol* owner);
ValaScope* vala_scope_construct (GType object_type, ValaSymbol* owner);
gchar* vala_symbol_get_full_gir_name (ValaSymbol* self);
const gchar* vala_symbol_get_gir_name (ValaSymbol* self);
const gchar* vala_symbol_get_name (ValaSymbol* self);
gchar* vala_symbol_get_full_name (ValaSymbol* self);
gchar* vala_symbol_get_cprefix (ValaSymbol* self);
static gchar* vala_symbol_real_get_cprefix (ValaSymbol* self);
gchar* vala_symbol_get_lower_case_cname (ValaSymbol* self, const gchar* infix);
static gchar* vala_symbol_real_get_lower_case_cname (ValaSymbol* self, const gchar* infix);
gchar* vala_symbol_get_lower_case_cprefix (ValaSymbol* self);
static gchar* vala_symbol_real_get_lower_case_cprefix (ValaSymbol* self);
ValaList* vala_symbol_get_cheader_filenames (ValaSymbol* self);
static ValaList* vala_symbol_real_get_cheader_filenames (ValaSymbol* self);
ValaSourceReference* vala_code_node_get_source_reference (ValaCodeNode* self);
void vala_symbol_add_cheader_filename (ValaSymbol* self, const gchar* filename);
gpointer vala_source_file_ref (gpointer instance);
void vala_source_file_unref (gpointer instance);
GParamSpec* vala_param_spec_source_file (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void vala_value_set_source_file (GValue* value, gpointer v_object);
void vala_value_take_source_file (GValue* value, gpointer v_object);
gpointer vala_value_get_source_file (const GValue* value);
GType vala_source_file_get_type (void) G_GNUC_CONST;
ValaSourceFile* vala_source_reference_get_file (ValaSourceReference* self);
gchar* vala_source_file_get_cinclude_filename (ValaSourceFile* self);
gchar* vala_symbol_camel_case_to_lower_case (const gchar* camel_case);
gchar* vala_symbol_lower_case_to_camel_case (const gchar* lower_case);
ValaScope* vala_symbol_get_top_accessible_scope (ValaSymbol* self, gboolean is_internal);
ValaScope* vala_symbol_get_owner (ValaSymbol* self);
ValaScope* vala_symbol_get_scope (ValaSymbol* self);
gboolean vala_symbol_is_instance_member (ValaSymbol* self);
static gboolean vala_symbol_real_is_instance_member (ValaSymbol* self);
GType vala_member_binding_get_type (void) G_GNUC_CONST;
ValaMemberBinding vala_field_get_binding (ValaField* self);
GType vala_creation_method_get_type (void) G_GNUC_CONST;
ValaMemberBinding vala_method_get_binding (ValaMethod* self);
ValaMemberBinding vala_property_get_binding (ValaProperty* self);
GType vala_enum_value_get_type (void) G_GNUC_CONST;
GType vala_error_code_get_type (void) G_GNUC_CONST;
gboolean vala_symbol_is_class_member (ValaSymbol* self);
static gboolean vala_symbol_real_is_class_member (ValaSymbol* self);
void vala_symbol_process_deprecated_attribute (ValaSymbol* self, ValaAttribute* attr);
static void vala_symbol_real_process_deprecated_attribute (ValaSymbol* self, ValaAttribute* attr);
const gchar* vala_attribute_get_name (ValaAttribute* self);
void vala_symbol_set_deprecated (ValaSymbol* self, gboolean value);
gboolean vala_attribute_has_argument (ValaAttribute* self, const gchar* name);
gchar* vala_attribute_get_string (ValaAttribute* self, const gchar* name);
void vala_symbol_set_deprecated_since (ValaSymbol* self, const gchar* value);
void vala_symbol_set_replacement (ValaSymbol* self, const gchar* value);
gboolean vala_symbol_check_deprecated (ValaSymbol* self, ValaSourceReference* source_ref);
gboolean vala_symbol_get_deprecated (ValaSymbol* self);
ValaCodeContext* vala_code_context_get (void);
gboolean vala_code_context_get_deprecated (ValaCodeContext* self);
const gchar* vala_symbol_get_deprecated_since (ValaSymbol* self);
const gchar* vala_symbol_get_replacement (ValaSymbol* self);
void vala_report_deprecated (ValaSourceReference* source, const gchar* message);
void vala_symbol_process_experimental_attribute (ValaSymbol* self, ValaAttribute* attr);
static void vala_symbol_real_process_experimental_attribute (ValaSymbol* self, ValaAttribute* attr);
void vala_symbol_set_experimental (ValaSymbol* self, gboolean value);
gboolean vala_symbol_check_experimental (ValaSymbol* self, ValaSourceReference* source_ref);
gboolean vala_symbol_get_experimental (ValaSymbol* self);
gboolean vala_code_context_get_experimental (ValaCodeContext* self);
void vala_report_experimental (ValaSourceReference* source, const gchar* message);
void vala_symbol_set_cheader_filename (ValaSymbol* self, const gchar* cheader_filename);
ValaSymbol* vala_symbol_get_hidden_member (ValaSymbol* self);
ValaClass* vala_class_get_base_class (ValaClass* self);
ValaSymbol* vala_scope_lookup (ValaScope* self, const gchar* name);
ValaStruct* vala_struct_get_base_struct (ValaStruct* self);
gboolean vala_symbol_is_accessible (ValaSymbol* self, ValaSymbol* sym);
gboolean vala_scope_is_subscope_of (ValaScope* self, ValaScope* scope);
void vala_symbol_add_namespace (ValaSymbol* self, ValaNamespace* ns);
static void vala_symbol_real_add_namespace (ValaSymbol* self, ValaNamespace* ns);
void vala_report_error (ValaSourceReference* source, const gchar* message);
void vala_symbol_add_class (ValaSymbol* self, ValaClass* cl);
static void vala_symbol_real_add_class (ValaSymbol* self, ValaClass* cl);
void vala_symbol_add_interface (ValaSymbol* self, ValaInterface* iface);
static void vala_symbol_real_add_interface (ValaSymbol* self, ValaInterface* iface);
void vala_symbol_add_struct (ValaSymbol* self, ValaStruct* st);
static void vala_symbol_real_add_struct (ValaSymbol* self, ValaStruct* st);
void vala_symbol_add_enum (ValaSymbol* self, ValaEnum* en);
static void vala_symbol_real_add_enum (ValaSymbol* self, ValaEnum* en);
void vala_symbol_add_error_domain (ValaSymbol* self, ValaErrorDomain* edomain);
static void vala_symbol_real_add_error_domain (ValaSymbol* self, ValaErrorDomain* edomain);
void vala_symbol_add_delegate (ValaSymbol* self, ValaDelegate* d);
static void vala_symbol_real_add_delegate (ValaSymbol* self, ValaDelegate* d);
void vala_symbol_add_constant (ValaSymbol* self, ValaConstant* constant);
static void vala_symbol_real_add_constant (ValaSymbol* self, ValaConstant* constant);
void vala_symbol_add_field (ValaSymbol* self, ValaField* f);
static void vala_symbol_real_add_field (ValaSymbol* self, ValaField* f);
void vala_symbol_add_method (ValaSymbol* self, ValaMethod* m);
static void vala_symbol_real_add_method (ValaSymbol* self, ValaMethod* m);
void vala_symbol_add_property (ValaSymbol* self, ValaProperty* prop);
static void vala_symbol_real_add_property (ValaSymbol* self, ValaProperty* prop);
void vala_symbol_add_signal (ValaSymbol* self, ValaSignal* sig);
static void vala_symbol_real_add_signal (ValaSymbol* self, ValaSignal* sig);
void vala_symbol_add_constructor (ValaSymbol* self, ValaConstructor* c);
static void vala_symbol_real_add_constructor (ValaSymbol* self, ValaConstructor* c);
void vala_symbol_add_destructor (ValaSymbol* self, ValaDestructor* d);
static void vala_symbol_real_add_destructor (ValaSymbol* self, ValaDestructor* d);
ValaSymbol* vala_scope_get_owner (ValaScope* self);
void vala_symbol_set_owner (ValaSymbol* self, ValaScope* value);
void vala_scope_set_parent_scope (ValaScope* self, ValaScope* value);
void vala_symbol_set_gir_name (ValaSymbol* self, const gchar* value);
gboolean vala_symbol_get_active (ValaSymbol* self);
void vala_symbol_set_active (ValaSymbol* self, gboolean value);
gboolean vala_symbol_get_used (ValaSymbol* self);
void vala_symbol_set_used (ValaSymbol* self, gboolean value);
void vala_symbol_set_access (ValaSymbol* self, ValaSymbolAccessibility value);
ValaComment* vala_symbol_get_comment (ValaSymbol* self);
gboolean vala_symbol_get_hides (ValaSymbol* self);
void vala_symbol_set_hides (ValaSymbol* self, gboolean value);
void vala_symbol_set_external (ValaSymbol* self, gboolean value);
GType vala_source_file_type_get_type (void) G_GNUC_CONST;
ValaSourceFileType vala_symbol_get_source_type (ValaSymbol* self);
ValaSourceFileType vala_source_file_get_file_type (ValaSourceFile* self);
static void vala_symbol_finalize (ValaCodeNode* obj);


/**
 * Check if this symbol is just internal API (and therefore doesn't need 
 * to be listed in header files for instance) by traversing parent symbols
 * and checking their accessibility.
 */
static gpointer _vala_code_node_ref0 (gpointer self) {
      return self ? vala_code_node_ref (self) : NULL;
}


gboolean vala_symbol_is_internal_symbol (ValaSymbol* self) {
      gboolean result = FALSE;
      gboolean _tmp0_ = FALSE;
      g_return_val_if_fail (self != NULL, FALSE);
      if (!self->priv->_external) {
            gboolean _tmp1_;
            _tmp1_ = vala_symbol_get_external_package (self);
            _tmp0_ = _tmp1_;
      } else {
            _tmp0_ = FALSE;
      }
      if (_tmp0_) {
            result = TRUE;
            return result;
      }
      {
            ValaSymbol* _tmp2_;
            ValaSymbol* sym;
            _tmp2_ = _vala_code_node_ref0 (self);
            sym = _tmp2_;
            {
                  gboolean _tmp3_;
                  _tmp3_ = TRUE;
                  while (TRUE) {
                        gboolean _tmp6_ = FALSE;
                        if (!_tmp3_) {
                              ValaSymbol* _tmp4_ = NULL;
                              ValaSymbol* _tmp5_;
                              _tmp4_ = vala_symbol_get_parent_symbol (sym);
                              _tmp5_ = _vala_code_node_ref0 (_tmp4_);
                              _vala_code_node_unref0 (sym);
                              sym = _tmp5_;
                        }
                        _tmp3_ = FALSE;
                        if (!(NULL != sym)) {
                              break;
                        }
                        if (sym->priv->_access == VALA_SYMBOL_ACCESSIBILITY_PRIVATE) {
                              _tmp6_ = TRUE;
                        } else {
                              _tmp6_ = sym->priv->_access == VALA_SYMBOL_ACCESSIBILITY_INTERNAL;
                        }
                        if (_tmp6_) {
                              result = TRUE;
                              _vala_code_node_unref0 (sym);
                              return result;
                        }
                  }
            }
            _vala_code_node_unref0 (sym);
      }
      result = FALSE;
      return result;
}


gboolean vala_symbol_is_private_symbol (ValaSymbol* self) {
      gboolean result = FALSE;
      gboolean _tmp0_ = FALSE;
      g_return_val_if_fail (self != NULL, FALSE);
      if (!self->priv->_external) {
            gboolean _tmp1_;
            _tmp1_ = vala_symbol_get_external_package (self);
            _tmp0_ = _tmp1_;
      } else {
            _tmp0_ = FALSE;
      }
      if (_tmp0_) {
            result = TRUE;
            return result;
      }
      {
            ValaSymbol* _tmp2_;
            ValaSymbol* sym;
            _tmp2_ = _vala_code_node_ref0 (self);
            sym = _tmp2_;
            {
                  gboolean _tmp3_;
                  _tmp3_ = TRUE;
                  while (TRUE) {
                        if (!_tmp3_) {
                              ValaSymbol* _tmp4_ = NULL;
                              ValaSymbol* _tmp5_;
                              _tmp4_ = vala_symbol_get_parent_symbol (sym);
                              _tmp5_ = _vala_code_node_ref0 (_tmp4_);
                              _vala_code_node_unref0 (sym);
                              sym = _tmp5_;
                        }
                        _tmp3_ = FALSE;
                        if (!(NULL != sym)) {
                              break;
                        }
                        if (sym->priv->_access == VALA_SYMBOL_ACCESSIBILITY_PRIVATE) {
                              result = TRUE;
                              _vala_code_node_unref0 (sym);
                              return result;
                        }
                  }
            }
            _vala_code_node_unref0 (sym);
      }
      result = FALSE;
      return result;
}


ValaSymbol* vala_symbol_construct (GType object_type, const gchar* name, ValaSourceReference* source_reference, ValaComment* comment) {
      ValaSymbol* self = NULL;
      ValaScope* _tmp0_ = NULL;
      self = (ValaSymbol*) vala_code_node_construct (object_type);
      vala_symbol_set_name (self, name);
      vala_code_node_set_source_reference ((ValaCodeNode*) self, source_reference);
      vala_symbol_set_comment (self, comment);
      _tmp0_ = vala_scope_new (self);
      _vala_scope_unref0 (self->priv->_scope);
      self->priv->_scope = _tmp0_;
      return self;
}


/**
 * Returns the fully expanded GIR name of this symbol
 *
 * @return full GIR name
 */
static glong string_strnlen (gchar* str, glong maxlen) {
      glong result = 0L;
      gchar* _tmp0_ = NULL;
      gchar* end;
      _tmp0_ = memchr (str, 0, (gsize) maxlen);
      end = _tmp0_;
      if (end == NULL) {
            result = maxlen;
            return result;
      } else {
            result = (glong) (end - str);
            return result;
      }
}


static gchar* string_substring (const gchar* self, glong offset, glong len) {
      gchar* result = NULL;
      glong string_length = 0L;
      gboolean _tmp0_ = FALSE;
      gchar* _tmp3_ = NULL;
      g_return_val_if_fail (self != NULL, NULL);
      if (offset >= ((glong) 0)) {
            _tmp0_ = len >= ((glong) 0);
      } else {
            _tmp0_ = FALSE;
      }
      if (_tmp0_) {
            glong _tmp1_;
            _tmp1_ = string_strnlen ((gchar*) self, offset + len);
            string_length = _tmp1_;
      } else {
            gint _tmp2_;
            _tmp2_ = strlen (self);
            string_length = (glong) _tmp2_;
      }
      if (offset < ((glong) 0)) {
            offset = string_length + offset;
            g_return_val_if_fail (offset >= ((glong) 0), NULL);
      } else {
            g_return_val_if_fail (offset <= string_length, NULL);
      }
      if (len < ((glong) 0)) {
            len = string_length - offset;
      }
      g_return_val_if_fail ((offset + len) <= string_length, NULL);
      _tmp3_ = g_strndup (((gchar*) self) + offset, (gsize) len);
      result = _tmp3_;
      return result;
}


static gboolean string_contains (const gchar* self, const gchar* needle) {
      gboolean result = FALSE;
      gchar* _tmp0_ = NULL;
      g_return_val_if_fail (self != NULL, FALSE);
      g_return_val_if_fail (needle != NULL, FALSE);
      _tmp0_ = strstr ((gchar*) self, (gchar*) needle);
      result = _tmp0_ != NULL;
      return result;
}


gchar* vala_symbol_get_full_gir_name (ValaSymbol* self) {
      gchar* result = NULL;
      ValaSymbol* _tmp0_ = NULL;
      ValaSymbol* _tmp5_ = NULL;
      gchar* _tmp6_ = NULL;
      gchar* _tmp7_;
      gboolean _tmp8_;
      ValaSymbol* _tmp11_ = NULL;
      gchar* _tmp12_ = NULL;
      gchar* parent_gir_name;
      gchar* _tmp13_ = NULL;
      const gchar* _tmp14_ = NULL;
      gboolean _tmp15_;
      gchar* _tmp20_;
      gchar* self_gir_name;
      gboolean _tmp21_;
      g_return_val_if_fail (self != NULL, NULL);
      _tmp0_ = vala_symbol_get_parent_symbol (self);
      if (_tmp0_ == NULL) {
            const gchar* _tmp1_ = NULL;
            gchar* _tmp2_;
            _tmp1_ = vala_symbol_get_gir_name (self);
            _tmp2_ = g_strdup (_tmp1_);
            result = _tmp2_;
            return result;
      }
      if (self->priv->_name == NULL) {
            ValaSymbol* _tmp3_ = NULL;
            gchar* _tmp4_ = NULL;
            _tmp3_ = vala_symbol_get_parent_symbol (self);
            _tmp4_ = vala_symbol_get_full_gir_name (_tmp3_);
            result = _tmp4_;
            return result;
      }
      _tmp5_ = vala_symbol_get_parent_symbol (self);
      _tmp6_ = vala_symbol_get_full_gir_name (_tmp5_);
      _tmp7_ = _tmp6_;
      _tmp8_ = _tmp7_ == NULL;
      _g_free0 (_tmp7_);
      if (_tmp8_) {
            const gchar* _tmp9_ = NULL;
            gchar* _tmp10_;
            _tmp9_ = vala_symbol_get_gir_name (self);
            _tmp10_ = g_strdup (_tmp9_);
            result = _tmp10_;
            return result;
      }
      _tmp11_ = vala_symbol_get_parent_symbol (self);
      _tmp12_ = vala_symbol_get_full_gir_name (_tmp11_);
      parent_gir_name = _tmp12_;
      _tmp14_ = vala_symbol_get_gir_name (self);
      _tmp15_ = g_str_has_prefix (_tmp14_, ".");
      if (_tmp15_) {
            const gchar* _tmp16_ = NULL;
            gchar* _tmp17_ = NULL;
            _tmp16_ = vala_symbol_get_gir_name (self);
            _tmp17_ = string_substring (_tmp16_, (glong) 1, (glong) (-1));
            _g_free0 (_tmp13_);
            _tmp13_ = _tmp17_;
      } else {
            const gchar* _tmp18_ = NULL;
            gchar* _tmp19_;
            _tmp18_ = vala_symbol_get_gir_name (self);
            _tmp19_ = g_strdup (_tmp18_);
            _g_free0 (_tmp13_);
            _tmp13_ = _tmp19_;
      }
      _tmp20_ = g_strdup (_tmp13_);
      self_gir_name = _tmp20_;
      _tmp21_ = string_contains (parent_gir_name, ".");
      if (_tmp21_) {
            gchar* _tmp22_ = NULL;
            _tmp22_ = g_strdup_printf ("%s%s", parent_gir_name, self_gir_name);
            result = _tmp22_;
            _g_free0 (self_gir_name);
            _g_free0 (_tmp13_);
            _g_free0 (parent_gir_name);
            return result;
      } else {
            gchar* _tmp23_ = NULL;
            _tmp23_ = g_strdup_printf ("%s.%s", parent_gir_name, self_gir_name);
            result = _tmp23_;
            _g_free0 (self_gir_name);
            _g_free0 (_tmp13_);
            _g_free0 (parent_gir_name);
            return result;
      }
      _g_free0 (self_gir_name);
      _g_free0 (_tmp13_);
      _g_free0 (parent_gir_name);
}


/**
 * Returns the fully expanded name of this symbol for use in
 * human-readable messages.
 *
 * @return full name
 */
gchar* vala_symbol_get_full_name (ValaSymbol* self) {
      gchar* result = NULL;
      ValaSymbol* _tmp0_ = NULL;
      ValaSymbol* _tmp4_ = NULL;
      gchar* _tmp5_ = NULL;
      gchar* _tmp6_;
      gboolean _tmp7_;
      gboolean _tmp9_;
      g_return_val_if_fail (self != NULL, NULL);
      _tmp0_ = vala_symbol_get_parent_symbol (self);
      if (_tmp0_ == NULL) {
            gchar* _tmp1_;
            _tmp1_ = g_strdup (self->priv->_name);
            result = _tmp1_;
            return result;
      }
      if (self->priv->_name == NULL) {
            ValaSymbol* _tmp2_ = NULL;
            gchar* _tmp3_ = NULL;
            _tmp2_ = vala_symbol_get_parent_symbol (self);
            _tmp3_ = vala_symbol_get_full_name (_tmp2_);
            result = _tmp3_;
            return result;
      }
      _tmp4_ = vala_symbol_get_parent_symbol (self);
      _tmp5_ = vala_symbol_get_full_name (_tmp4_);
      _tmp6_ = _tmp5_;
      _tmp7_ = _tmp6_ == NULL;
      _g_free0 (_tmp6_);
      if (_tmp7_) {
            gchar* _tmp8_;
            _tmp8_ = g_strdup (self->priv->_name);
            result = _tmp8_;
            return result;
      }
      _tmp9_ = g_str_has_prefix (self->priv->_name, ".");
      if (_tmp9_) {
            ValaSymbol* _tmp10_ = NULL;
            gchar* _tmp11_ = NULL;
            gchar* _tmp12_;
            gchar* _tmp13_ = NULL;
            gchar* _tmp14_;
            _tmp10_ = vala_symbol_get_parent_symbol (self);
            _tmp11_ = vala_symbol_get_full_name (_tmp10_);
            _tmp12_ = _tmp11_;
            _tmp13_ = g_strdup_printf ("%s%s", _tmp12_, self->priv->_name);
            _tmp14_ = _tmp13_;
            _g_free0 (_tmp12_);
            result = _tmp14_;
            return result;
      } else {
            ValaSymbol* _tmp15_ = NULL;
            gchar* _tmp16_ = NULL;
            gchar* _tmp17_;
            gchar* _tmp18_ = NULL;
            gchar* _tmp19_;
            _tmp15_ = vala_symbol_get_parent_symbol (self);
            _tmp16_ = vala_symbol_get_full_name (_tmp15_);
            _tmp17_ = _tmp16_;
            _tmp18_ = g_strdup_printf ("%s.%s", _tmp17_, self->priv->_name);
            _tmp19_ = _tmp18_;
            _g_free0 (_tmp17_);
            result = _tmp19_;
            return result;
      }
}


/**
 * Returns the camel case string to be prepended to the name of members
 * of this symbol when used in C code.
 *
 * @return the camel case prefix to be used in C code
 */
static gchar* vala_symbol_real_get_cprefix (ValaSymbol* self) {
      gchar* result = NULL;
      g_return_val_if_fail (self != NULL, NULL);
      if (self->priv->_name == NULL) {
            gchar* _tmp0_;
            _tmp0_ = g_strdup ("");
            result = _tmp0_;
            return result;
      } else {
            gchar* _tmp1_;
            _tmp1_ = g_strdup (self->priv->_name);
            result = _tmp1_;
            return result;
      }
}


gchar* vala_symbol_get_cprefix (ValaSymbol* self) {
      return VALA_SYMBOL_GET_CLASS (self)->get_cprefix (self);
}


/**
 * Returns the C name of this symbol in lower case. Words are
 * separated by underscores. The lower case C name of the parent symbol
 * is prefix of the result, if there is one.
 *
 * @param infix a string to be placed between namespace and data type
 *              name or null
 * @return      the lower case name to be used in C code
 */
static gchar* vala_symbol_real_get_lower_case_cname (ValaSymbol* self, const gchar* infix) {
      gchar* result = NULL;
      g_return_val_if_fail (self != NULL, NULL);
      result = NULL;
      return result;
}


gchar* vala_symbol_get_lower_case_cname (ValaSymbol* self, const gchar* infix) {
      return VALA_SYMBOL_GET_CLASS (self)->get_lower_case_cname (self, infix);
}


/**
 * Returns the string to be prefixed to members of this symbol in
 * lower case when used in C code.
 *
 * @return      the lower case prefix to be used in C code
 */
static gchar* vala_symbol_real_get_lower_case_cprefix (ValaSymbol* self) {
      gchar* result = NULL;
      gchar* _tmp0_;
      g_return_val_if_fail (self != NULL, NULL);
      _tmp0_ = g_strdup ("");
      result = _tmp0_;
      return result;
}


gchar* vala_symbol_get_lower_case_cprefix (ValaSymbol* self) {
      return VALA_SYMBOL_GET_CLASS (self)->get_lower_case_cprefix (self);
}


/**
 * Returns a list of C header filenames users of this symbol must
 * include.
 *
 * @return list of C header filenames for this symbol
 */
static gpointer _vala_iterable_ref0 (gpointer self) {
      return self ? vala_iterable_ref (self) : NULL;
}


static ValaList* vala_symbol_real_get_cheader_filenames (ValaSymbol* self) {
      ValaList* result = NULL;
      gboolean _tmp0_ = FALSE;
      ValaList* _tmp15_;
      g_return_val_if_fail (self != NULL, NULL);
      if (self->priv->cheader_filenames == NULL) {
            _tmp0_ = TRUE;
      } else {
            gint _tmp1_;
            _tmp1_ = vala_collection_get_size ((ValaCollection*) self->priv->cheader_filenames);
            _tmp0_ = _tmp1_ == 0;
      }
      if (_tmp0_) {
            ValaSymbol* _tmp2_ = NULL;
            gboolean _tmp6_ = FALSE;
            ValaSourceReference* _tmp7_ = NULL;
            _tmp2_ = vala_symbol_get_parent_symbol (self);
            if (_tmp2_ != NULL) {
                  ValaSymbol* _tmp3_ = NULL;
                  ValaList* _tmp4_ = NULL;
                  ValaList* parent_header_filenames;
                  gint _tmp5_;
                  _tmp3_ = vala_symbol_get_parent_symbol (self);
                  _tmp4_ = vala_symbol_get_cheader_filenames (_tmp3_);
                  parent_header_filenames = _tmp4_;
                  _tmp5_ = vala_collection_get_size ((ValaCollection*) parent_header_filenames);
                  if (_tmp5_ > 0) {
                        result = parent_header_filenames;
                        return result;
                  }
                  _vala_iterable_unref0 (parent_header_filenames);
            }
            _tmp7_ = vala_code_node_get_source_reference ((ValaCodeNode*) self);
            if (_tmp7_ != NULL) {
                  gboolean _tmp8_;
                  _tmp8_ = vala_symbol_get_external_package (self);
                  _tmp6_ = !_tmp8_;
            } else {
                  _tmp6_ = FALSE;
            }
            if (_tmp6_) {
                  ValaSourceReference* _tmp9_ = NULL;
                  ValaSourceFile* _tmp10_ = NULL;
                  gchar* _tmp11_ = NULL;
                  gchar* _tmp12_;
                  _tmp9_ = vala_code_node_get_source_reference ((ValaCodeNode*) self);
                  _tmp10_ = vala_source_reference_get_file (_tmp9_);
                  _tmp11_ = vala_source_file_get_cinclude_filename (_tmp10_);
                  _tmp12_ = _tmp11_;
                  vala_symbol_add_cheader_filename (self, _tmp12_);
                  _g_free0 (_tmp12_);
            } else {
                  ValaList* _tmp14_;
                  if (vala_symbol__empty_string_list == NULL) {
                        ValaArrayList* _tmp13_ = NULL;
                        _tmp13_ = vala_array_list_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, g_direct_equal);
                        _vala_iterable_unref0 (vala_symbol__empty_string_list);
                        vala_symbol__empty_string_list = (ValaList*) _tmp13_;
                  }
                  _tmp14_ = _vala_iterable_ref0 (vala_symbol__empty_string_list);
                  result = _tmp14_;
                  return result;
            }
      }
      _tmp15_ = _vala_iterable_ref0 (self->priv->cheader_filenames);
      result = _tmp15_;
      return result;
}


ValaList* vala_symbol_get_cheader_filenames (ValaSymbol* self) {
      return VALA_SYMBOL_GET_CLASS (self)->get_cheader_filenames (self);
}


/**
 * Converts a string from CamelCase to lower_case.
 *
 * @param camel_case a string in camel case
 * @return           the specified string converted to lower case
 */
static gunichar string_get_char (const gchar* self, glong index) {
      gunichar result = 0U;
      gunichar _tmp0_;
      g_return_val_if_fail (self != NULL, 0U);
      _tmp0_ = g_utf8_get_char (((gchar*) self) + index);
      result = _tmp0_;
      return result;
}


gchar* vala_symbol_camel_case_to_lower_case (const gchar* camel_case) {
      gchar* result = NULL;
      gboolean _tmp0_;
      GString* _tmp2_ = NULL;
      GString* result_builder;
      const gchar* i;
      gboolean first;
      gchar* _tmp21_;
      g_return_val_if_fail (camel_case != NULL, NULL);
      _tmp0_ = string_contains (camel_case, "_");
      if (_tmp0_) {
            gchar* _tmp1_ = NULL;
            _tmp1_ = g_utf8_strdown (camel_case, (gssize) (-1));
            result = _tmp1_;
            return result;
      }
      _tmp2_ = g_string_new ("");
      result_builder = _tmp2_;
      i = camel_case;
      first = TRUE;
      while (TRUE) {
            gint _tmp3_;
            gunichar _tmp4_;
            gunichar c;
            gboolean _tmp5_ = FALSE;
            gboolean _tmp6_;
            gunichar _tmp19_;
            const gchar* _tmp20_ = NULL;
            _tmp3_ = strlen (i);
            if (!(_tmp3_ > 0)) {
                  break;
            }
            _tmp4_ = string_get_char (i, (glong) 0);
            c = _tmp4_;
            _tmp6_ = g_unichar_isupper (c);
            if (_tmp6_) {
                  _tmp5_ = !first;
            } else {
                  _tmp5_ = FALSE;
            }
            if (_tmp5_) {
                  const gchar* _tmp7_ = NULL;
                  const gchar* t;
                  gunichar _tmp8_;
                  gboolean _tmp9_;
                  gboolean prev_upper;
                  const gchar* _tmp10_ = NULL;
                  gunichar _tmp11_;
                  gboolean _tmp12_;
                  gboolean next_upper;
                  gboolean _tmp13_ = FALSE;
                  _tmp7_ = g_utf8_prev_char (i);
                  t = _tmp7_;
                  _tmp8_ = string_get_char (t, (glong) 0);
                  _tmp9_ = g_unichar_isupper (_tmp8_);
                  prev_upper = _tmp9_;
                  _tmp10_ = g_utf8_next_char (i);
                  t = _tmp10_;
                  _tmp11_ = string_get_char (t, (glong) 0);
                  _tmp12_ = g_unichar_isupper (_tmp11_);
                  next_upper = _tmp12_;
                  if (!prev_upper) {
                        _tmp13_ = TRUE;
                  } else {
                        gboolean _tmp14_ = FALSE;
                        gint _tmp15_;
                        _tmp15_ = strlen (i);
                        if (_tmp15_ >= 2) {
                              _tmp14_ = !next_upper;
                        } else {
                              _tmp14_ = FALSE;
                        }
                        _tmp13_ = _tmp14_;
                  }
                  if (_tmp13_) {
                        gint _tmp16_;
                        glong len;
                        gboolean _tmp17_ = FALSE;
                        _tmp16_ = strlen (result_builder->str);
                        len = (glong) _tmp16_;
                        if (len != ((glong) 1)) {
                              gunichar _tmp18_;
                              _tmp18_ = string_get_char (result_builder->str, len - 2);
                              _tmp17_ = _tmp18_ != ((gunichar) '_');
                        } else {
                              _tmp17_ = FALSE;
                        }
                        if (_tmp17_) {
                              g_string_append_c (result_builder, '_');
                        }
                  }
            }
            _tmp19_ = g_unichar_tolower (c);
            g_string_append_unichar (result_builder, _tmp19_);
            first = FALSE;
            _tmp20_ = g_utf8_next_char (i);
            i = _tmp20_;
      }
      _tmp21_ = g_strdup (result_builder->str);
      result = _tmp21_;
      _g_string_free0 (result_builder);
      return result;
}


/**
 * Converts a string from lower_case to CamelCase.
 *
 * @param lower_case a string in lower case
 * @return           the specified string converted to camel case
 */
gchar* vala_symbol_lower_case_to_camel_case (const gchar* lower_case) {
      gchar* result = NULL;
      GString* _tmp0_ = NULL;
      GString* result_builder;
      const gchar* i;
      gboolean last_underscore;
      gchar* _tmp7_;
      g_return_val_if_fail (lower_case != NULL, NULL);
      _tmp0_ = g_string_new ("");
      result_builder = _tmp0_;
      i = lower_case;
      last_underscore = TRUE;
      while (TRUE) {
            gint _tmp1_;
            gunichar _tmp2_;
            gunichar c;
            const gchar* _tmp6_ = NULL;
            _tmp1_ = strlen (i);
            if (!(_tmp1_ > 0)) {
                  break;
            }
            _tmp2_ = string_get_char (i, (glong) 0);
            c = _tmp2_;
            if (c == ((gunichar) '_')) {
                  last_underscore = TRUE;
            } else {
                  gboolean _tmp3_;
                  _tmp3_ = g_unichar_isupper (c);
                  if (_tmp3_) {
                        gchar* _tmp4_;
                        _tmp4_ = g_strdup (lower_case);
                        result = _tmp4_;
                        _g_string_free0 (result_builder);
                        return result;
                  } else {
                        if (last_underscore) {
                              gunichar _tmp5_;
                              _tmp5_ = g_unichar_toupper (c);
                              g_string_append_unichar (result_builder, _tmp5_);
                              last_underscore = FALSE;
                        } else {
                              g_string_append_unichar (result_builder, c);
                        }
                  }
            }
            _tmp6_ = g_utf8_next_char (i);
            i = _tmp6_;
      }
      _tmp7_ = g_strdup (result_builder->str);
      result = _tmp7_;
      _g_string_free0 (result_builder);
      return result;
}


static gpointer _vala_scope_ref0 (gpointer self) {
      return self ? vala_scope_ref (self) : NULL;
}


ValaScope* vala_symbol_get_top_accessible_scope (ValaSymbol* self, gboolean is_internal) {
      ValaScope* result = NULL;
      ValaSymbol* _tmp2_ = NULL;
      ValaSymbol* _tmp5_ = NULL;
      ValaScope* _tmp6_ = NULL;
      g_return_val_if_fail (self != NULL, NULL);
      if (self->priv->_access == VALA_SYMBOL_ACCESSIBILITY_PRIVATE) {
            ValaScope* _tmp0_ = NULL;
            ValaScope* _tmp1_;
            _tmp0_ = vala_symbol_get_owner (self);
            _tmp1_ = _vala_scope_ref0 (_tmp0_);
            result = _tmp1_;
            return result;
      }
      if (self->priv->_access == VALA_SYMBOL_ACCESSIBILITY_INTERNAL) {
            is_internal = TRUE;
      }
      _tmp2_ = vala_symbol_get_parent_symbol (self);
      if (_tmp2_ == NULL) {
            if (is_internal) {
                  ValaScope* _tmp3_ = NULL;
                  ValaScope* _tmp4_;
                  _tmp3_ = vala_symbol_get_scope (self);
                  _tmp4_ = _vala_scope_ref0 (_tmp3_);
                  result = _tmp4_;
                  return result;
            } else {
                  result = NULL;
                  return result;
            }
      }
      _tmp5_ = vala_symbol_get_parent_symbol (self);
      _tmp6_ = vala_symbol_get_top_accessible_scope (_tmp5_, is_internal);
      result = _tmp6_;
      return result;
}


static gboolean vala_symbol_real_is_instance_member (ValaSymbol* self) {
      gboolean result = FALSE;
      gboolean instance;
      g_return_val_if_fail (self != NULL, FALSE);
      instance = TRUE;
      if (VALA_IS_FIELD (self)) {
            ValaField* _tmp0_;
            ValaField* f;
            ValaMemberBinding _tmp1_;
            _tmp0_ = _vala_code_node_ref0 (VALA_FIELD (self));
            f = _tmp0_;
            _tmp1_ = vala_field_get_binding (f);
            instance = _tmp1_ == VALA_MEMBER_BINDING_INSTANCE;
            _vala_code_node_unref0 (f);
      } else {
            if (VALA_IS_METHOD (self)) {
                  ValaMethod* _tmp2_;
                  ValaMethod* m;
                  _tmp2_ = _vala_code_node_ref0 (VALA_METHOD (self));
                  m = _tmp2_;
                  if (!VALA_IS_CREATION_METHOD (m)) {
                        ValaMemberBinding _tmp3_;
                        _tmp3_ = vala_method_get_binding (m);
                        instance = _tmp3_ == VALA_MEMBER_BINDING_INSTANCE;
                  }
                  _vala_code_node_unref0 (m);
            } else {
                  if (VALA_IS_PROPERTY (self)) {
                        ValaProperty* _tmp4_;
                        ValaProperty* prop;
                        ValaMemberBinding _tmp5_;
                        _tmp4_ = _vala_code_node_ref0 (VALA_PROPERTY (self));
                        prop = _tmp4_;
                        _tmp5_ = vala_property_get_binding (prop);
                        instance = _tmp5_ == VALA_MEMBER_BINDING_INSTANCE;
                        _vala_code_node_unref0 (prop);
                  } else {
                        if (VALA_IS_ENUM_VALUE (self)) {
                              instance = FALSE;
                        } else {
                              if (VALA_IS_ERROR_CODE (self)) {
                                    instance = FALSE;
                              }
                        }
                  }
            }
      }
      result = instance;
      return result;
}


gboolean vala_symbol_is_instance_member (ValaSymbol* self) {
      return VALA_SYMBOL_GET_CLASS (self)->is_instance_member (self);
}


static gboolean vala_symbol_real_is_class_member (ValaSymbol* self) {
      gboolean result = FALSE;
      gboolean isclass;
      g_return_val_if_fail (self != NULL, FALSE);
      isclass = TRUE;
      if (VALA_IS_FIELD (self)) {
            ValaField* _tmp0_;
            ValaField* f;
            ValaMemberBinding _tmp1_;
            _tmp0_ = _vala_code_node_ref0 (VALA_FIELD (self));
            f = _tmp0_;
            _tmp1_ = vala_field_get_binding (f);
            isclass = _tmp1_ == VALA_MEMBER_BINDING_CLASS;
            _vala_code_node_unref0 (f);
      } else {
            if (VALA_IS_METHOD (self)) {
                  ValaMethod* _tmp2_;
                  ValaMethod* m;
                  _tmp2_ = _vala_code_node_ref0 (VALA_METHOD (self));
                  m = _tmp2_;
                  if (!VALA_IS_CREATION_METHOD (m)) {
                        ValaMemberBinding _tmp3_;
                        _tmp3_ = vala_method_get_binding (m);
                        isclass = _tmp3_ == VALA_MEMBER_BINDING_CLASS;
                  }
                  _vala_code_node_unref0 (m);
            } else {
                  if (VALA_IS_PROPERTY (self)) {
                        ValaProperty* _tmp4_;
                        ValaProperty* prop;
                        ValaMemberBinding _tmp5_;
                        _tmp4_ = _vala_code_node_ref0 (VALA_PROPERTY (self));
                        prop = _tmp4_;
                        _tmp5_ = vala_property_get_binding (prop);
                        isclass = _tmp5_ == VALA_MEMBER_BINDING_CLASS;
                        _vala_code_node_unref0 (prop);
                  } else {
                        if (VALA_IS_ENUM_VALUE (self)) {
                              isclass = FALSE;
                        } else {
                              if (VALA_IS_ERROR_CODE (self)) {
                                    isclass = FALSE;
                              }
                        }
                  }
            }
      }
      result = isclass;
      return result;
}


gboolean vala_symbol_is_class_member (ValaSymbol* self) {
      return VALA_SYMBOL_GET_CLASS (self)->is_class_member (self);
}


/**
 * Process a [Deprecated] attribute
 */
static void vala_symbol_real_process_deprecated_attribute (ValaSymbol* self, ValaAttribute* attr) {
      const gchar* _tmp0_ = NULL;
      gboolean _tmp1_;
      gboolean _tmp4_;
      g_return_if_fail (self != NULL);
      g_return_if_fail (attr != NULL);
      _tmp0_ = vala_attribute_get_name (attr);
      if (g_strcmp0 (_tmp0_, "Deprecated") != 0) {
            return;
      }
      vala_symbol_set_deprecated (self, TRUE);
      _tmp1_ = vala_attribute_has_argument (attr, "since");
      if (_tmp1_) {
            gchar* _tmp2_ = NULL;
            gchar* _tmp3_;
            _tmp2_ = vala_attribute_get_string (attr, "since");
            _tmp3_ = _tmp2_;
            vala_symbol_set_deprecated_since (self, _tmp3_);
            _g_free0 (_tmp3_);
      }
      _tmp4_ = vala_attribute_has_argument (attr, "replacement");
      if (_tmp4_) {
            gchar* _tmp5_ = NULL;
            gchar* _tmp6_;
            _tmp5_ = vala_attribute_get_string (attr, "replacement");
            _tmp6_ = _tmp5_;
            vala_symbol_set_replacement (self, _tmp6_);
            _g_free0 (_tmp6_);
      }
}


void vala_symbol_process_deprecated_attribute (ValaSymbol* self, ValaAttribute* attr) {
      VALA_SYMBOL_GET_CLASS (self)->process_deprecated_attribute (self, attr);
}


/**
 * Check to see if the symbol has been deprecated, and emit a warning
 * if it has.
 */
gboolean vala_symbol_check_deprecated (ValaSymbol* self, ValaSourceReference* source_ref) {
      gboolean result = FALSE;
      g_return_val_if_fail (self != NULL, FALSE);
      if (self->priv->_deprecated) {
            ValaCodeContext* _tmp0_ = NULL;
            ValaCodeContext* _tmp1_;
            gboolean _tmp2_;
            gboolean _tmp3_;
            _tmp0_ = vala_code_context_get ();
            _tmp1_ = _tmp0_;
            _tmp2_ = vala_code_context_get_deprecated (_tmp1_);
            _tmp3_ = !_tmp2_;
            _vala_code_context_unref0 (_tmp1_);
            if (_tmp3_) {
                  gchar* _tmp4_ = NULL;
                  gchar* _tmp7_ = NULL;
                  gchar* _tmp10_ = NULL;
                  gchar* _tmp11_;
                  gchar* _tmp12_ = NULL;
                  gchar* _tmp13_;
                  if (self->priv->_deprecated_since == NULL) {
                        gchar* _tmp5_;
                        _tmp5_ = g_strdup ("is deprecated");
                        _g_free0 (_tmp4_);
                        _tmp4_ = _tmp5_;
                  } else {
                        gchar* _tmp6_ = NULL;
                        _tmp6_ = g_strdup_printf ("has been deprecated since %s", self->priv->_deprecated_since);
                        _g_free0 (_tmp4_);
                        _tmp4_ = _tmp6_;
                  }
                  if (self->priv->_replacement == NULL) {
                        gchar* _tmp8_;
                        _tmp8_ = g_strdup ("");
                        _g_free0 (_tmp7_);
                        _tmp7_ = _tmp8_;
                  } else {
                        gchar* _tmp9_ = NULL;
                        _tmp9_ = g_strdup_printf (". Use %s", self->priv->_replacement);
                        _g_free0 (_tmp7_);
                        _tmp7_ = _tmp9_;
                  }
                  _tmp10_ = vala_symbol_get_full_name (self);
                  _tmp11_ = _tmp10_;
                  _tmp12_ = g_strdup_printf ("%s %s%s", _tmp11_, _tmp4_, _tmp7_);
                  _tmp13_ = _tmp12_;
                  vala_report_deprecated (source_ref, _tmp13_);
                  _g_free0 (_tmp13_);
                  _g_free0 (_tmp11_);
                  _g_free0 (_tmp7_);
                  _g_free0 (_tmp4_);
            }
            result = TRUE;
            return result;
      } else {
            result = FALSE;
            return result;
      }
}


/**
 * Process a [Experimental] attribute
 */
static void vala_symbol_real_process_experimental_attribute (ValaSymbol* self, ValaAttribute* attr) {
      const gchar* _tmp0_ = NULL;
      g_return_if_fail (self != NULL);
      g_return_if_fail (attr != NULL);
      _tmp0_ = vala_attribute_get_name (attr);
      if (g_strcmp0 (_tmp0_, "Experimental") != 0) {
            return;
      }
      vala_symbol_set_experimental (self, TRUE);
}


void vala_symbol_process_experimental_attribute (ValaSymbol* self, ValaAttribute* attr) {
      VALA_SYMBOL_GET_CLASS (self)->process_experimental_attribute (self, attr);
}


/**
 * Check to see if the symbol is experimental, and emit a warning
 * if it is.
 */
gboolean vala_symbol_check_experimental (ValaSymbol* self, ValaSourceReference* source_ref) {
      gboolean result = FALSE;
      g_return_val_if_fail (self != NULL, FALSE);
      if (self->priv->_experimental) {
            ValaCodeContext* _tmp0_ = NULL;
            ValaCodeContext* _tmp1_;
            gboolean _tmp2_;
            gboolean _tmp3_;
            _tmp0_ = vala_code_context_get ();
            _tmp1_ = _tmp0_;
            _tmp2_ = vala_code_context_get_experimental (_tmp1_);
            _tmp3_ = !_tmp2_;
            _vala_code_context_unref0 (_tmp1_);
            if (_tmp3_) {
                  gchar* _tmp4_ = NULL;
                  gchar* _tmp5_;
                  gchar* _tmp6_ = NULL;
                  gchar* _tmp7_;
                  _tmp4_ = vala_symbol_get_full_name (self);
                  _tmp5_ = _tmp4_;
                  _tmp6_ = g_strdup_printf ("%s is experimental", _tmp5_);
                  _tmp7_ = _tmp6_;
                  vala_report_experimental (source_ref, _tmp7_);
                  _g_free0 (_tmp7_);
                  _g_free0 (_tmp5_);
            }
            result = TRUE;
            return result;
      } else {
            result = FALSE;
            return result;
      }
}


/**
 * Sets the C header filename of this namespace to the specified
 * filename.
 *
 * @param cheader_filename header filename
 */
void vala_symbol_set_cheader_filename (ValaSymbol* self, const gchar* cheader_filename) {
      ValaArrayList* _tmp0_ = NULL;
      g_return_if_fail (self != NULL);
      g_return_if_fail (cheader_filename != NULL);
      _tmp0_ = vala_array_list_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, g_direct_equal);
      _vala_iterable_unref0 (self->priv->cheader_filenames);
      self->priv->cheader_filenames = (ValaList*) _tmp0_;
      vala_collection_add ((ValaCollection*) self->priv->cheader_filenames, cheader_filename);
}


/**
 * Adds a filename to the list of C header filenames users of this data
 * type must include.
 *
 * @param filename a C header filename
 */
void vala_symbol_add_cheader_filename (ValaSymbol* self, const gchar* filename) {
      g_return_if_fail (self != NULL);
      g_return_if_fail (filename != NULL);
      if (self->priv->cheader_filenames == NULL) {
            ValaArrayList* _tmp0_ = NULL;
            _tmp0_ = vala_array_list_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, g_direct_equal);
            _vala_iterable_unref0 (self->priv->cheader_filenames);
            self->priv->cheader_filenames = (ValaList*) _tmp0_;
      }
      vala_collection_add ((ValaCollection*) self->priv->cheader_filenames, filename);
}


ValaSymbol* vala_symbol_get_hidden_member (ValaSymbol* self) {
      ValaSymbol* result = NULL;
      ValaSymbol* sym;
      ValaSymbol* _tmp0_ = NULL;
      g_return_val_if_fail (self != NULL, NULL);
      sym = NULL;
      _tmp0_ = vala_symbol_get_parent_symbol (self);
      if (VALA_IS_CLASS (_tmp0_)) {
            ValaSymbol* _tmp1_ = NULL;
            ValaClass* _tmp2_ = NULL;
            ValaClass* _tmp3_;
            ValaClass* cl;
            _tmp1_ = vala_symbol_get_parent_symbol (self);
            _tmp2_ = vala_class_get_base_class (VALA_CLASS (_tmp1_));
            _tmp3_ = _vala_code_node_ref0 (_tmp2_);
            cl = _tmp3_;
            while (TRUE) {
                  ValaScope* _tmp4_ = NULL;
                  ValaSymbol* _tmp5_ = NULL;
                  gboolean _tmp6_ = FALSE;
                  ValaClass* _tmp7_ = NULL;
                  ValaClass* _tmp8_;
                  if (!(cl != NULL)) {
                        break;
                  }
                  _tmp4_ = vala_symbol_get_scope ((ValaSymbol*) cl);
                  _tmp5_ = vala_scope_lookup (_tmp4_, self->priv->_name);
                  _vala_code_node_unref0 (sym);
                  sym = _tmp5_;
                  if (sym != NULL) {
                        _tmp6_ = sym->priv->_access != VALA_SYMBOL_ACCESSIBILITY_PRIVATE;
                  } else {
                        _tmp6_ = FALSE;
                  }
                  if (_tmp6_) {
                        result = sym;
                        _vala_code_node_unref0 (cl);
                        return result;
                  }
                  _tmp7_ = vala_class_get_base_class (cl);
                  _tmp8_ = _vala_code_node_ref0 (_tmp7_);
                  _vala_code_node_unref0 (cl);
                  cl = _tmp8_;
            }
            _vala_code_node_unref0 (cl);
      } else {
            ValaSymbol* _tmp9_ = NULL;
            _tmp9_ = vala_symbol_get_parent_symbol (self);
            if (VALA_IS_STRUCT (_tmp9_)) {
                  ValaSymbol* _tmp10_ = NULL;
                  ValaStruct* _tmp11_ = NULL;
                  ValaStruct* _tmp12_;
                  ValaStruct* st;
                  _tmp10_ = vala_symbol_get_parent_symbol (self);
                  _tmp11_ = vala_struct_get_base_struct (VALA_STRUCT (_tmp10_));
                  _tmp12_ = _vala_code_node_ref0 (_tmp11_);
                  st = _tmp12_;
                  while (TRUE) {
                        ValaScope* _tmp13_ = NULL;
                        ValaSymbol* _tmp14_ = NULL;
                        gboolean _tmp15_ = FALSE;
                        ValaStruct* _tmp16_ = NULL;
                        ValaStruct* _tmp17_;
                        if (!(st != NULL)) {
                              break;
                        }
                        _tmp13_ = vala_symbol_get_scope ((ValaSymbol*) st);
                        _tmp14_ = vala_scope_lookup (_tmp13_, self->priv->_name);
                        _vala_code_node_unref0 (sym);
                        sym = _tmp14_;
                        if (sym != NULL) {
                              _tmp15_ = sym->priv->_access != VALA_SYMBOL_ACCESSIBILITY_PRIVATE;
                        } else {
                              _tmp15_ = FALSE;
                        }
                        if (_tmp15_) {
                              result = sym;
                              _vala_code_node_unref0 (st);
                              return result;
                        }
                        _tmp16_ = vala_struct_get_base_struct (st);
                        _tmp17_ = _vala_code_node_ref0 (_tmp16_);
                        _vala_code_node_unref0 (st);
                        st = _tmp17_;
                  }
                  _vala_code_node_unref0 (st);
            }
      }
      result = NULL;
      _vala_code_node_unref0 (sym);
      return result;
}


gboolean vala_symbol_is_accessible (ValaSymbol* self, ValaSymbol* sym) {
      gboolean result = FALSE;
      ValaScope* _tmp0_ = NULL;
      ValaScope* sym_scope;
      ValaScope* _tmp1_ = NULL;
      ValaScope* this_scope;
      gboolean _tmp2_ = FALSE;
      gboolean _tmp3_ = FALSE;
      g_return_val_if_fail (self != NULL, FALSE);
      g_return_val_if_fail (sym != NULL, FALSE);
      _tmp0_ = vala_symbol_get_top_accessible_scope (sym, FALSE);
      sym_scope = _tmp0_;
      _tmp1_ = vala_symbol_get_top_accessible_scope (self, FALSE);
      this_scope = _tmp1_;
      if (sym_scope == NULL) {
            _tmp3_ = this_scope != NULL;
      } else {
            _tmp3_ = FALSE;
      }
      if (_tmp3_) {
            _tmp2_ = TRUE;
      } else {
            gboolean _tmp4_ = FALSE;
            if (sym_scope != NULL) {
                  gboolean _tmp5_;
                  _tmp5_ = vala_scope_is_subscope_of (sym_scope, this_scope);
                  _tmp4_ = !_tmp5_;
            } else {
                  _tmp4_ = FALSE;
            }
            _tmp2_ = _tmp4_;
      }
      if (_tmp2_) {
            result = FALSE;
            _vala_scope_unref0 (this_scope);
            _vala_scope_unref0 (sym_scope);
            return result;
      }
      result = TRUE;
      _vala_scope_unref0 (this_scope);
      _vala_scope_unref0 (sym_scope);
      return result;
}


static void vala_symbol_real_add_namespace (ValaSymbol* self, ValaNamespace* ns) {
      ValaSourceReference* _tmp0_ = NULL;
      g_return_if_fail (self != NULL);
      g_return_if_fail (ns != NULL);
      _tmp0_ = vala_code_node_get_source_reference ((ValaCodeNode*) ns);
      vala_report_error (_tmp0_, "unexpected declaration");
}


void vala_symbol_add_namespace (ValaSymbol* self, ValaNamespace* ns) {
      VALA_SYMBOL_GET_CLASS (self)->add_namespace (self, ns);
}


static void vala_symbol_real_add_class (ValaSymbol* self, ValaClass* cl) {
      ValaSourceReference* _tmp0_ = NULL;
      g_return_if_fail (self != NULL);
      g_return_if_fail (cl != NULL);
      _tmp0_ = vala_code_node_get_source_reference ((ValaCodeNode*) cl);
      vala_report_error (_tmp0_, "unexpected declaration");
}


void vala_symbol_add_class (ValaSymbol* self, ValaClass* cl) {
      VALA_SYMBOL_GET_CLASS (self)->add_class (self, cl);
}


static void vala_symbol_real_add_interface (ValaSymbol* self, ValaInterface* iface) {
      ValaSourceReference* _tmp0_ = NULL;
      g_return_if_fail (self != NULL);
      g_return_if_fail (iface != NULL);
      _tmp0_ = vala_code_node_get_source_reference ((ValaCodeNode*) iface);
      vala_report_error (_tmp0_, "unexpected declaration");
}


void vala_symbol_add_interface (ValaSymbol* self, ValaInterface* iface) {
      VALA_SYMBOL_GET_CLASS (self)->add_interface (self, iface);
}


static void vala_symbol_real_add_struct (ValaSymbol* self, ValaStruct* st) {
      ValaSourceReference* _tmp0_ = NULL;
      g_return_if_fail (self != NULL);
      g_return_if_fail (st != NULL);
      _tmp0_ = vala_code_node_get_source_reference ((ValaCodeNode*) st);
      vala_report_error (_tmp0_, "unexpected declaration");
}


void vala_symbol_add_struct (ValaSymbol* self, ValaStruct* st) {
      VALA_SYMBOL_GET_CLASS (self)->add_struct (self, st);
}


static void vala_symbol_real_add_enum (ValaSymbol* self, ValaEnum* en) {
      ValaSourceReference* _tmp0_ = NULL;
      g_return_if_fail (self != NULL);
      g_return_if_fail (en != NULL);
      _tmp0_ = vala_code_node_get_source_reference ((ValaCodeNode*) en);
      vala_report_error (_tmp0_, "unexpected declaration");
}


void vala_symbol_add_enum (ValaSymbol* self, ValaEnum* en) {
      VALA_SYMBOL_GET_CLASS (self)->add_enum (self, en);
}


static void vala_symbol_real_add_error_domain (ValaSymbol* self, ValaErrorDomain* edomain) {
      ValaSourceReference* _tmp0_ = NULL;
      g_return_if_fail (self != NULL);
      g_return_if_fail (edomain != NULL);
      _tmp0_ = vala_code_node_get_source_reference ((ValaCodeNode*) edomain);
      vala_report_error (_tmp0_, "unexpected declaration");
}


void vala_symbol_add_error_domain (ValaSymbol* self, ValaErrorDomain* edomain) {
      VALA_SYMBOL_GET_CLASS (self)->add_error_domain (self, edomain);
}


static void vala_symbol_real_add_delegate (ValaSymbol* self, ValaDelegate* d) {
      ValaSourceReference* _tmp0_ = NULL;
      g_return_if_fail (self != NULL);
      g_return_if_fail (d != NULL);
      _tmp0_ = vala_code_node_get_source_reference ((ValaCodeNode*) d);
      vala_report_error (_tmp0_, "unexpected declaration");
}


void vala_symbol_add_delegate (ValaSymbol* self, ValaDelegate* d) {
      VALA_SYMBOL_GET_CLASS (self)->add_delegate (self, d);
}


static void vala_symbol_real_add_constant (ValaSymbol* self, ValaConstant* constant) {
      ValaSourceReference* _tmp0_ = NULL;
      g_return_if_fail (self != NULL);
      g_return_if_fail (constant != NULL);
      _tmp0_ = vala_code_node_get_source_reference ((ValaCodeNode*) constant);
      vala_report_error (_tmp0_, "unexpected declaration");
}


void vala_symbol_add_constant (ValaSymbol* self, ValaConstant* constant) {
      VALA_SYMBOL_GET_CLASS (self)->add_constant (self, constant);
}


static void vala_symbol_real_add_field (ValaSymbol* self, ValaField* f) {
      ValaSourceReference* _tmp0_ = NULL;
      g_return_if_fail (self != NULL);
      g_return_if_fail (f != NULL);
      _tmp0_ = vala_code_node_get_source_reference ((ValaCodeNode*) f);
      vala_report_error (_tmp0_, "unexpected declaration");
}


void vala_symbol_add_field (ValaSymbol* self, ValaField* f) {
      VALA_SYMBOL_GET_CLASS (self)->add_field (self, f);
}


static void vala_symbol_real_add_method (ValaSymbol* self, ValaMethod* m) {
      ValaSourceReference* _tmp0_ = NULL;
      g_return_if_fail (self != NULL);
      g_return_if_fail (m != NULL);
      _tmp0_ = vala_code_node_get_source_reference ((ValaCodeNode*) m);
      vala_report_error (_tmp0_, "unexpected declaration");
}


void vala_symbol_add_method (ValaSymbol* self, ValaMethod* m) {
      VALA_SYMBOL_GET_CLASS (self)->add_method (self, m);
}


static void vala_symbol_real_add_property (ValaSymbol* self, ValaProperty* prop) {
      ValaSourceReference* _tmp0_ = NULL;
      g_return_if_fail (self != NULL);
      g_return_if_fail (prop != NULL);
      _tmp0_ = vala_code_node_get_source_reference ((ValaCodeNode*) prop);
      vala_report_error (_tmp0_, "unexpected declaration");
}


void vala_symbol_add_property (ValaSymbol* self, ValaProperty* prop) {
      VALA_SYMBOL_GET_CLASS (self)->add_property (self, prop);
}


static void vala_symbol_real_add_signal (ValaSymbol* self, ValaSignal* sig) {
      ValaSourceReference* _tmp0_ = NULL;
      g_return_if_fail (self != NULL);
      g_return_if_fail (sig != NULL);
      _tmp0_ = vala_code_node_get_source_reference ((ValaCodeNode*) sig);
      vala_report_error (_tmp0_, "unexpected declaration");
}


void vala_symbol_add_signal (ValaSymbol* self, ValaSignal* sig) {
      VALA_SYMBOL_GET_CLASS (self)->add_signal (self, sig);
}


static void vala_symbol_real_add_constructor (ValaSymbol* self, ValaConstructor* c) {
      ValaSourceReference* _tmp0_ = NULL;
      g_return_if_fail (self != NULL);
      g_return_if_fail (c != NULL);
      _tmp0_ = vala_code_node_get_source_reference ((ValaCodeNode*) c);
      vala_report_error (_tmp0_, "unexpected declaration");
}


void vala_symbol_add_constructor (ValaSymbol* self, ValaConstructor* c) {
      VALA_SYMBOL_GET_CLASS (self)->add_constructor (self, c);
}


static void vala_symbol_real_add_destructor (ValaSymbol* self, ValaDestructor* d) {
      ValaSourceReference* _tmp0_ = NULL;
      g_return_if_fail (self != NULL);
      g_return_if_fail (d != NULL);
      _tmp0_ = vala_code_node_get_source_reference ((ValaCodeNode*) d);
      vala_report_error (_tmp0_, "unexpected declaration");
}


void vala_symbol_add_destructor (ValaSymbol* self, ValaDestructor* d) {
      VALA_SYMBOL_GET_CLASS (self)->add_destructor (self, d);
}


ValaSymbol* vala_symbol_get_parent_symbol (ValaSymbol* self) {
      ValaSymbol* result;
      ValaScope* _tmp0_ = NULL;
      g_return_val_if_fail (self != NULL, NULL);
      _tmp0_ = vala_symbol_get_owner (self);
      if (_tmp0_ == NULL) {
            result = NULL;
            return result;
      } else {
            ValaScope* _tmp1_ = NULL;
            ValaSymbol* _tmp2_ = NULL;
            _tmp1_ = vala_symbol_get_owner (self);
            _tmp2_ = vala_scope_get_owner (_tmp1_);
            result = _tmp2_;
            return result;
      }
}


ValaScope* vala_symbol_get_owner (ValaSymbol* self) {
      ValaScope* result;
      g_return_val_if_fail (self != NULL, NULL);
      result = self->priv->_owner;
      return result;
}


void vala_symbol_set_owner (ValaSymbol* self, ValaScope* value) {
      g_return_if_fail (self != NULL);
      self->priv->_owner = value;
      vala_scope_set_parent_scope (self->priv->_scope, value);
}


const gchar* vala_symbol_get_gir_name (ValaSymbol* self) {
      const gchar* result;
      const gchar* _tmp0_ = NULL;
      g_return_val_if_fail (self != NULL, NULL);
      if (self->priv->_gir_name == NULL) {
            _tmp0_ = self->priv->_name;
      } else {
            _tmp0_ = self->priv->_gir_name;
      }
      result = _tmp0_;
      return result;
}


void vala_symbol_set_gir_name (ValaSymbol* self, const gchar* value) {
      gchar* _tmp0_;
      g_return_if_fail (self != NULL);
      _tmp0_ = g_strdup (value);
      _g_free0 (self->priv->_gir_name);
      self->priv->_gir_name = _tmp0_;
}


const gchar* vala_symbol_get_name (ValaSymbol* self) {
      const gchar* result;
      g_return_val_if_fail (self != NULL, NULL);
      result = self->priv->_name;
      return result;
}


void vala_symbol_set_name (ValaSymbol* self, const gchar* value) {
      gchar* _tmp0_;
      g_return_if_fail (self != NULL);
      _tmp0_ = g_strdup (value);
      _g_free0 (self->priv->_name);
      self->priv->_name = _tmp0_;
}


gboolean vala_symbol_get_active (ValaSymbol* self) {
      gboolean result;
      g_return_val_if_fail (self != NULL, FALSE);
      result = self->priv->_active;
      return result;
}


void vala_symbol_set_active (ValaSymbol* self, gboolean value) {
      g_return_if_fail (self != NULL);
      self->priv->_active = value;
}


gboolean vala_symbol_get_deprecated (ValaSymbol* self) {
      gboolean result;
      g_return_val_if_fail (self != NULL, FALSE);
      result = self->priv->_deprecated;
      return result;
}


void vala_symbol_set_deprecated (ValaSymbol* self, gboolean value) {
      g_return_if_fail (self != NULL);
      self->priv->_deprecated = value;
}


const gchar* vala_symbol_get_deprecated_since (ValaSymbol* self) {
      const gchar* result;
      g_return_val_if_fail (self != NULL, NULL);
      result = self->priv->_deprecated_since;
      return result;
}


void vala_symbol_set_deprecated_since (ValaSymbol* self, const gchar* value) {
      gchar* _tmp0_;
      g_return_if_fail (self != NULL);
      _tmp0_ = g_strdup (value);
      _g_free0 (self->priv->_deprecated_since);
      self->priv->_deprecated_since = _tmp0_;
}


const gchar* vala_symbol_get_replacement (ValaSymbol* self) {
      const gchar* result;
      g_return_val_if_fail (self != NULL, NULL);
      result = self->priv->_replacement;
      return result;
}


void vala_symbol_set_replacement (ValaSymbol* self, const gchar* value) {
      gchar* _tmp0_;
      g_return_if_fail (self != NULL);
      _tmp0_ = g_strdup (value);
      _g_free0 (self->priv->_replacement);
      self->priv->_replacement = _tmp0_;
}


gboolean vala_symbol_get_experimental (ValaSymbol* self) {
      gboolean result;
      g_return_val_if_fail (self != NULL, FALSE);
      result = self->priv->_experimental;
      return result;
}


void vala_symbol_set_experimental (ValaSymbol* self, gboolean value) {
      g_return_if_fail (self != NULL);
      self->priv->_experimental = value;
}


gboolean vala_symbol_get_used (ValaSymbol* self) {
      gboolean result;
      g_return_val_if_fail (self != NULL, FALSE);
      result = self->priv->_used;
      return result;
}


void vala_symbol_set_used (ValaSymbol* self, gboolean value) {
      g_return_if_fail (self != NULL);
      self->priv->_used = value;
}


ValaSymbolAccessibility vala_symbol_get_access (ValaSymbol* self) {
      ValaSymbolAccessibility result;
      g_return_val_if_fail (self != NULL, 0);
      result = self->priv->_access;
      return result;
}


void vala_symbol_set_access (ValaSymbol* self, ValaSymbolAccessibility value) {
      g_return_if_fail (self != NULL);
      self->priv->_access = value;
}


ValaComment* vala_symbol_get_comment (ValaSymbol* self) {
      ValaComment* result;
      g_return_val_if_fail (self != NULL, NULL);
      result = self->priv->_comment;
      return result;
}


static gpointer _vala_comment_ref0 (gpointer self) {
      return self ? vala_comment_ref (self) : NULL;
}


void vala_symbol_set_comment (ValaSymbol* self, ValaComment* value) {
      ValaComment* _tmp0_;
      g_return_if_fail (self != NULL);
      _tmp0_ = _vala_comment_ref0 (value);
      _vala_comment_unref0 (self->priv->_comment);
      self->priv->_comment = _tmp0_;
}


gboolean vala_symbol_get_hides (ValaSymbol* self) {
      gboolean result;
      g_return_val_if_fail (self != NULL, FALSE);
      result = self->priv->_hides;
      return result;
}


void vala_symbol_set_hides (ValaSymbol* self, gboolean value) {
      g_return_if_fail (self != NULL);
      self->priv->_hides = value;
}


ValaScope* vala_symbol_get_scope (ValaSymbol* self) {
      ValaScope* result;
      g_return_val_if_fail (self != NULL, NULL);
      result = self->priv->_scope;
      return result;
}


gboolean vala_symbol_get_external (ValaSymbol* self) {
      gboolean result;
      g_return_val_if_fail (self != NULL, FALSE);
      result = self->priv->_external;
      return result;
}


void vala_symbol_set_external (ValaSymbol* self, gboolean value) {
      g_return_if_fail (self != NULL);
      self->priv->_external = value;
}


gboolean vala_symbol_get_external_package (ValaSymbol* self) {
      gboolean result;
      ValaSourceFileType _tmp0_;
      g_return_val_if_fail (self != NULL, FALSE);
      _tmp0_ = vala_symbol_get_source_type (self);
      result = _tmp0_ == VALA_SOURCE_FILE_TYPE_PACKAGE;
      return result;
}


ValaSourceFileType vala_symbol_get_source_type (ValaSymbol* self) {
      ValaSourceFileType result;
      ValaSourceReference* _tmp0_ = NULL;
      g_return_val_if_fail (self != NULL, 0);
      _tmp0_ = vala_code_node_get_source_reference ((ValaCodeNode*) self);
      if (_tmp0_ != NULL) {
            ValaSourceReference* _tmp1_ = NULL;
            ValaSourceFile* _tmp2_ = NULL;
            ValaSourceFileType _tmp3_;
            _tmp1_ = vala_code_node_get_source_reference ((ValaCodeNode*) self);
            _tmp2_ = vala_source_reference_get_file (_tmp1_);
            _tmp3_ = vala_source_file_get_file_type (_tmp2_);
            result = _tmp3_;
            return result;
      } else {
            result = VALA_SOURCE_FILE_TYPE_NONE;
            return result;
      }
}


static void vala_symbol_class_init (ValaSymbolClass * klass) {
      vala_symbol_parent_class = g_type_class_peek_parent (klass);
      VALA_CODE_NODE_CLASS (klass)->finalize = vala_symbol_finalize;
      g_type_class_add_private (klass, sizeof (ValaSymbolPrivate));
      VALA_SYMBOL_CLASS (klass)->get_cprefix = vala_symbol_real_get_cprefix;
      VALA_SYMBOL_CLASS (klass)->get_lower_case_cname = vala_symbol_real_get_lower_case_cname;
      VALA_SYMBOL_CLASS (klass)->get_lower_case_cprefix = vala_symbol_real_get_lower_case_cprefix;
      VALA_SYMBOL_CLASS (klass)->get_cheader_filenames = vala_symbol_real_get_cheader_filenames;
      VALA_SYMBOL_CLASS (klass)->is_instance_member = vala_symbol_real_is_instance_member;
      VALA_SYMBOL_CLASS (klass)->is_class_member = vala_symbol_real_is_class_member;
      VALA_SYMBOL_CLASS (klass)->process_deprecated_attribute = vala_symbol_real_process_deprecated_attribute;
      VALA_SYMBOL_CLASS (klass)->process_experimental_attribute = vala_symbol_real_process_experimental_attribute;
      VALA_SYMBOL_CLASS (klass)->add_namespace = vala_symbol_real_add_namespace;
      VALA_SYMBOL_CLASS (klass)->add_class = vala_symbol_real_add_class;
      VALA_SYMBOL_CLASS (klass)->add_interface = vala_symbol_real_add_interface;
      VALA_SYMBOL_CLASS (klass)->add_struct = vala_symbol_real_add_struct;
      VALA_SYMBOL_CLASS (klass)->add_enum = vala_symbol_real_add_enum;
      VALA_SYMBOL_CLASS (klass)->add_error_domain = vala_symbol_real_add_error_domain;
      VALA_SYMBOL_CLASS (klass)->add_delegate = vala_symbol_real_add_delegate;
      VALA_SYMBOL_CLASS (klass)->add_constant = vala_symbol_real_add_constant;
      VALA_SYMBOL_CLASS (klass)->add_field = vala_symbol_real_add_field;
      VALA_SYMBOL_CLASS (klass)->add_method = vala_symbol_real_add_method;
      VALA_SYMBOL_CLASS (klass)->add_property = vala_symbol_real_add_property;
      VALA_SYMBOL_CLASS (klass)->add_signal = vala_symbol_real_add_signal;
      VALA_SYMBOL_CLASS (klass)->add_constructor = vala_symbol_real_add_constructor;
      VALA_SYMBOL_CLASS (klass)->add_destructor = vala_symbol_real_add_destructor;
}


static void vala_symbol_instance_init (ValaSymbol * self) {
      self->priv = VALA_SYMBOL_GET_PRIVATE (self);
      self->priv->_active = TRUE;
      self->priv->_deprecated = FALSE;
      self->priv->_deprecated_since = NULL;
      self->priv->_replacement = NULL;
      self->priv->_experimental = FALSE;
      self->priv->_gir_name = NULL;
}


static void vala_symbol_finalize (ValaCodeNode* obj) {
      ValaSymbol * self;
      self = VALA_SYMBOL (obj);
      _g_free0 (self->priv->_name);
      _g_free0 (self->priv->_deprecated_since);
      _g_free0 (self->priv->_replacement);
      _vala_comment_unref0 (self->priv->_comment);
      _vala_iterable_unref0 (self->priv->cheader_filenames);
      _vala_scope_unref0 (self->priv->_scope);
      _g_free0 (self->priv->_gir_name);
      VALA_CODE_NODE_CLASS (vala_symbol_parent_class)->finalize (obj);
}


/**
 * Represents a node in the symbol tree.
 */
GType vala_symbol_get_type (void) {
      static volatile gsize vala_symbol_type_id__volatile = 0;
      if (g_once_init_enter (&vala_symbol_type_id__volatile)) {
            static const GTypeInfo g_define_type_info = { sizeof (ValaSymbolClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) vala_symbol_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ValaSymbol), 0, (GInstanceInitFunc) vala_symbol_instance_init, NULL };
            GType vala_symbol_type_id;
            vala_symbol_type_id = g_type_register_static (VALA_TYPE_CODE_NODE, "ValaSymbol", &g_define_type_info, G_TYPE_FLAG_ABSTRACT);
            g_once_init_leave (&vala_symbol_type_id__volatile, vala_symbol_type_id);
      }
      return vala_symbol_type_id__volatile;
}


GType vala_symbol_accessibility_get_type (void) {
      static volatile gsize vala_symbol_accessibility_type_id__volatile = 0;
      if (g_once_init_enter (&vala_symbol_accessibility_type_id__volatile)) {
            static const GEnumValue values[] = {{VALA_SYMBOL_ACCESSIBILITY_PRIVATE, "VALA_SYMBOL_ACCESSIBILITY_PRIVATE", "private"}, {VALA_SYMBOL_ACCESSIBILITY_INTERNAL, "VALA_SYMBOL_ACCESSIBILITY_INTERNAL", "internal"}, {VALA_SYMBOL_ACCESSIBILITY_PROTECTED, "VALA_SYMBOL_ACCESSIBILITY_PROTECTED", "protected"}, {VALA_SYMBOL_ACCESSIBILITY_PUBLIC, "VALA_SYMBOL_ACCESSIBILITY_PUBLIC", "public"}, {0, NULL, NULL}};
            GType vala_symbol_accessibility_type_id;
            vala_symbol_accessibility_type_id = g_enum_register_static ("ValaSymbolAccessibility", values);
            g_once_init_leave (&vala_symbol_accessibility_type_id__volatile, vala_symbol_accessibility_type_id);
      }
      return vala_symbol_accessibility_type_id__volatile;
}


GType vala_member_binding_get_type (void) {
      static volatile gsize vala_member_binding_type_id__volatile = 0;
      if (g_once_init_enter (&vala_member_binding_type_id__volatile)) {
            static const GEnumValue values[] = {{VALA_MEMBER_BINDING_INSTANCE, "VALA_MEMBER_BINDING_INSTANCE", "instance"}, {VALA_MEMBER_BINDING_CLASS, "VALA_MEMBER_BINDING_CLASS", "class"}, {VALA_MEMBER_BINDING_STATIC, "VALA_MEMBER_BINDING_STATIC", "static"}, {0, NULL, NULL}};
            GType vala_member_binding_type_id;
            vala_member_binding_type_id = g_enum_register_static ("ValaMemberBinding", values);
            g_once_init_leave (&vala_member_binding_type_id__volatile, vala_member_binding_type_id);
      }
      return vala_member_binding_type_id__volatile;
}




Generated by  Doxygen 1.6.0   Back to index