| valaccodebinding.h | | valaccodebinding.h | |
| /* valaccodebinding.vala | | /* valaccodebinding.vala | |
| * | | * | |
|
| * Copyright (C) 2007 Jürg Billeter | | * Copyright (C) 2007-2008 Jürg Billeter | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * 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, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
| skipping to change at line 29 | | skipping to change at line 29 | |
| * Author: | | * Author: | |
| * Jürg Billeter <j@bitron.ch> | | * Jürg Billeter <j@bitron.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __GOBJECT_VALACCODEBINDING_H__ | | #ifndef __GOBJECT_VALACCODEBINDING_H__ | |
| #define __GOBJECT_VALACCODEBINDING_H__ | | #define __GOBJECT_VALACCODEBINDING_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| #include <vala/valacodebinding.h> | | #include <vala/valacodebinding.h> | |
|
| #include <gobject/valaccodegenerator.h> | | #include <ccode/valaccodeidentifier.h> | |
| | | #include <vala/valadatatype.h> | |
| | | #include <ccode/valaccodeexpression.h> | |
| | | #include <ccode/valaccodeconstant.h> | |
| | | #include <vala/valacodenode.h> | |
| | | #include <vala/valamethod.h> | |
| | | #include <vala/valaarraycreationexpression.h> | |
| | | #include <vala/valaelementaccess.h> | |
| | | #include <vala/valaassignment.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
|
| | | typedef struct _ValaCCodeArrayCreationExpressionBinding ValaCCodeArrayCreat | |
| | | ionExpressionBinding; | |
| | | typedef struct _ValaCCodeArrayCreationExpressionBindingClass ValaCCodeArray | |
| | | CreationExpressionBindingClass; | |
| | | typedef struct _ValaCCodeExpressionBinding ValaCCodeExpressionBinding; | |
| | | typedef struct _ValaCCodeExpressionBindingClass ValaCCodeExpressionBindingC | |
| | | lass; | |
| | | typedef struct _ValaCCodeBinding ValaCCodeBinding; | |
| | | typedef struct _ValaCCodeBindingClass ValaCCodeBindingClass; | |
| | | typedef struct _ValaCCodeMethodBinding ValaCCodeMethodBinding; | |
| | | typedef struct _ValaCCodeMethodBindingClass ValaCCodeMethodBindingClass; | |
| | | typedef struct _ValaCCodeGenerator ValaCCodeGenerator; | |
| | | typedef struct _ValaCCodeGeneratorClass ValaCCodeGeneratorClass; | |
| | | typedef struct _ValaCCodeDynamicMethodBinding ValaCCodeDynamicMethodBinding | |
| | | ; | |
| | | typedef struct _ValaCCodeDynamicMethodBindingClass ValaCCodeDynamicMethodBi | |
| | | ndingClass; | |
| | | typedef struct _ValaCCodeDynamicSignalBinding ValaCCodeDynamicSignalBinding | |
| | | ; | |
| | | typedef struct _ValaCCodeDynamicSignalBindingClass ValaCCodeDynamicSignalBi | |
| | | ndingClass; | |
| | | typedef struct _ValaCCodeElementAccessBinding ValaCCodeElementAccessBinding | |
| | | ; | |
| | | typedef struct _ValaCCodeElementAccessBindingClass ValaCCodeElementAccessBi | |
| | | ndingClass; | |
| | | typedef struct _ValaCCodeAssignmentBinding ValaCCodeAssignmentBinding; | |
| | | typedef struct _ValaCCodeAssignmentBindingClass ValaCCodeAssignmentBindingC | |
| | | lass; | |
| | | | |
| #define VALA_TYPE_CCODE_BINDING (vala_ccode_binding_get_type ()) | | #define VALA_TYPE_CCODE_BINDING (vala_ccode_binding_get_type ()) | |
| #define VALA_CCODE_BINDING(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TY
PE_CCODE_BINDING, ValaCCodeBinding)) | | #define VALA_CCODE_BINDING(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TY
PE_CCODE_BINDING, ValaCCodeBinding)) | |
| #define VALA_CCODE_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
VALA_TYPE_CCODE_BINDING, ValaCCodeBindingClass)) | | #define VALA_CCODE_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
VALA_TYPE_CCODE_BINDING, ValaCCodeBindingClass)) | |
| #define VALA_IS_CCODE_BINDING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA
_TYPE_CCODE_BINDING)) | | #define VALA_IS_CCODE_BINDING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA
_TYPE_CCODE_BINDING)) | |
| #define VALA_IS_CCODE_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass
), VALA_TYPE_CCODE_BINDING)) | | #define VALA_IS_CCODE_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass
), VALA_TYPE_CCODE_BINDING)) | |
| #define VALA_CCODE_BINDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj)
, VALA_TYPE_CCODE_BINDING, ValaCCodeBindingClass)) | | #define VALA_CCODE_BINDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj)
, VALA_TYPE_CCODE_BINDING, ValaCCodeBindingClass)) | |
| | | | |
|
| typedef struct _ValaCCodeBinding ValaCCodeBinding; | | | |
| typedef struct _ValaCCodeBindingClass ValaCCodeBindingClass; | | | |
| typedef struct _ValaCCodeBindingPrivate ValaCCodeBindingPrivate; | | typedef struct _ValaCCodeBindingPrivate ValaCCodeBindingPrivate; | |
| | | | |
| /** | | /** | |
| * The link between a source code node and generated code. | | * The link between a source code node and generated code. | |
| */ | | */ | |
| struct _ValaCCodeBinding { | | struct _ValaCCodeBinding { | |
| ValaCodeBinding parent_instance; | | ValaCodeBinding parent_instance; | |
| ValaCCodeBindingPrivate * priv; | | ValaCCodeBindingPrivate * priv; | |
| }; | | }; | |
| struct _ValaCCodeBindingClass { | | struct _ValaCCodeBindingClass { | |
| ValaCodeBindingClass parent_class; | | ValaCodeBindingClass parent_class; | |
|
| | | void (*emit) (ValaCCodeBinding* self); | |
| }; | | }; | |
| | | | |
|
| | | void vala_ccode_binding_emit (ValaCCodeBinding* self); | |
| | | ValaCCodeIdentifier* vala_ccode_binding_get_value_setter_function (ValaCCod | |
| | | eBinding* self, ValaDataType* type_reference); | |
| | | ValaCCodeExpression* vala_ccode_binding_get_construct_property_assignment ( | |
| | | ValaCCodeBinding* self, ValaCCodeConstant* canonical_cconstant, ValaDataTyp | |
| | | e* property_type, ValaCCodeExpression* value); | |
| | | ValaCCodeBinding* vala_ccode_binding_code_binding (ValaCCodeBinding* self, | |
| | | ValaCodeNode* node); | |
| | | ValaCCodeMethodBinding* vala_ccode_binding_method_binding (ValaCCodeBinding | |
| | | * self, ValaMethod* node); | |
| | | ValaCCodeArrayCreationExpressionBinding* vala_ccode_binding_array_creation_ | |
| | | expression_binding (ValaCCodeBinding* self, ValaArrayCreationExpression* no | |
| | | de); | |
| | | ValaCCodeElementAccessBinding* vala_ccode_binding_element_access_binding (V | |
| | | alaCCodeBinding* self, ValaElementAccess* node); | |
| | | ValaCCodeAssignmentBinding* vala_ccode_binding_assignment_binding (ValaCCod | |
| | | eBinding* self, ValaAssignment* node); | |
| | | ValaCCodeBinding* vala_ccode_binding_new (void); | |
| ValaCCodeGenerator* vala_ccode_binding_get_codegen (ValaCCodeBinding* self)
; | | ValaCCodeGenerator* vala_ccode_binding_get_codegen (ValaCCodeBinding* self)
; | |
| void vala_ccode_binding_set_codegen (ValaCCodeBinding* self, ValaCCodeGener
ator* value); | | void vala_ccode_binding_set_codegen (ValaCCodeBinding* self, ValaCCodeGener
ator* value); | |
| GType vala_ccode_binding_get_type (void); | | GType vala_ccode_binding_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 6 change blocks. |
| 4 lines changed or deleted | | 58 lines changed or added | |
|
| valaccodegenerator.h | | valaccodegenerator.h | |
| | | | |
| skipping to change at line 30 | | skipping to change at line 30 | |
| * Jürg Billeter <j@bitron.ch> | | * Jürg Billeter <j@bitron.ch> | |
| * Raffaele Sandrini <raffaele@sandrini.ch> | | * Raffaele Sandrini <raffaele@sandrini.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __GOBJECT_VALACCODEGENERATOR_H__ | | #ifndef __GOBJECT_VALACCODEGENERATOR_H__ | |
| #define __GOBJECT_VALACCODEGENERATOR_H__ | | #define __GOBJECT_VALACCODEGENERATOR_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| #include <vala/valacodegenerator.h> | | #include <vala/valacodegenerator.h> | |
|
| | | #include <vala/valacodecontext.h> | |
| | | #include <vala/valasymbol.h> | |
| #include <vala/valatypesymbol.h> | | #include <vala/valatypesymbol.h> | |
| #include <vala/valaclass.h> | | #include <vala/valaclass.h> | |
|
| | | #include <vala/valamethod.h> | |
| | | #include <vala/valadatatype.h> | |
| | | #include <vala/valatrystatement.h> | |
| | | #include <vala/valapropertyaccessor.h> | |
| #include <ccode/valaccodefragment.h> | | #include <ccode/valaccodefragment.h> | |
|
| | | #include <ccode/valaccodestruct.h> | |
| | | #include <ccode/valaccodeenum.h> | |
| | | #include <ccode/valaccodefunction.h> | |
| | | #include <ccode/valaccodeblock.h> | |
| #include <gee/arraylist.h> | | #include <gee/arraylist.h> | |
|
| #include <vala/valadatatype.h> | | #include <gee/set.h> | |
| #include <vala/valaerrortype.h> | | #include <vala/valaerrortype.h> | |
|
| #include <vala/valacodecontext.h> | | #include <vala/valainterface.h> | |
| | | #include <stdlib.h> | |
| | | #include <string.h> | |
| #include <vala/valaenum.h> | | #include <vala/valaenum.h> | |
| #include <vala/valaenumvalue.h> | | #include <vala/valaenumvalue.h> | |
| #include <vala/valaerrordomain.h> | | #include <vala/valaerrordomain.h> | |
| #include <vala/valaerrorcode.h> | | #include <vala/valaerrorcode.h> | |
| #include <vala/valadelegate.h> | | #include <vala/valadelegate.h> | |
| #include <vala/valamember.h> | | #include <vala/valamember.h> | |
| #include <vala/valaconstant.h> | | #include <vala/valaconstant.h> | |
| #include <vala/valafield.h> | | #include <vala/valafield.h> | |
| #include <ccode/valaccodeexpression.h> | | #include <ccode/valaccodeexpression.h> | |
|
| | | #include <vala/valacreationmethod.h> | |
| #include <vala/valaformalparameter.h> | | #include <vala/valaformalparameter.h> | |
| #include <vala/valaproperty.h> | | #include <vala/valaproperty.h> | |
|
| #include <vala/valapropertyaccessor.h> | | | |
| #include <vala/valaconstructor.h> | | #include <vala/valaconstructor.h> | |
| #include <vala/valadestructor.h> | | #include <vala/valadestructor.h> | |
| #include <vala/valablock.h> | | #include <vala/valablock.h> | |
| #include <vala/valaemptystatement.h> | | #include <vala/valaemptystatement.h> | |
| #include <vala/valadeclarationstatement.h> | | #include <vala/valadeclarationstatement.h> | |
|
| #include <vala/valavariabledeclarator.h> | | #include <vala/valalocalvariable.h> | |
| #include <vala/valainitializerlist.h> | | #include <vala/valainitializerlist.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| #include <vala/valaexpression.h> | | #include <vala/valaexpression.h> | |
| #include <vala/valaexpressionstatement.h> | | #include <vala/valaexpressionstatement.h> | |
| #include <vala/valaifstatement.h> | | #include <vala/valaifstatement.h> | |
| #include <vala/valaswitchstatement.h> | | #include <vala/valaswitchstatement.h> | |
| #include <vala/valaswitchsection.h> | | #include <vala/valaswitchsection.h> | |
| #include <vala/valawhilestatement.h> | | #include <vala/valawhilestatement.h> | |
| #include <vala/valadostatement.h> | | #include <vala/valadostatement.h> | |
| #include <vala/valaforstatement.h> | | #include <vala/valaforstatement.h> | |
| #include <vala/valaforeachstatement.h> | | #include <vala/valaforeachstatement.h> | |
| #include <vala/valabreakstatement.h> | | #include <vala/valabreakstatement.h> | |
| #include <vala/valacontinuestatement.h> | | #include <vala/valacontinuestatement.h> | |
| #include <vala/valareturnstatement.h> | | #include <vala/valareturnstatement.h> | |
| #include <vala/valathrowstatement.h> | | #include <vala/valathrowstatement.h> | |
|
| #include <vala/valatrystatement.h> | | | |
| #include <vala/valacatchclause.h> | | #include <vala/valacatchclause.h> | |
| #include <vala/valalockstatement.h> | | #include <vala/valalockstatement.h> | |
| #include <vala/valadeletestatement.h> | | #include <vala/valadeletestatement.h> | |
| #include <vala/valaarraycreationexpression.h> | | #include <vala/valaarraycreationexpression.h> | |
| #include <vala/valabooleanliteral.h> | | #include <vala/valabooleanliteral.h> | |
| #include <vala/valacharacterliteral.h> | | #include <vala/valacharacterliteral.h> | |
| #include <vala/valaintegerliteral.h> | | #include <vala/valaintegerliteral.h> | |
| #include <vala/valarealliteral.h> | | #include <vala/valarealliteral.h> | |
| #include <vala/valastringliteral.h> | | #include <vala/valastringliteral.h> | |
| #include <vala/valanullliteral.h> | | #include <vala/valanullliteral.h> | |
| #include <vala/valaparenthesizedexpression.h> | | #include <vala/valaparenthesizedexpression.h> | |
|
| | | #include <vala/valamemberaccess.h> | |
| | | #include <vala/valainvocationexpression.h> | |
| #include <vala/valaelementaccess.h> | | #include <vala/valaelementaccess.h> | |
| #include <vala/valabaseaccess.h> | | #include <vala/valabaseaccess.h> | |
| #include <vala/valapostfixexpression.h> | | #include <vala/valapostfixexpression.h> | |
| #include <vala/valaobjectcreationexpression.h> | | #include <vala/valaobjectcreationexpression.h> | |
| #include <vala/valasizeofexpression.h> | | #include <vala/valasizeofexpression.h> | |
| #include <vala/valatypeofexpression.h> | | #include <vala/valatypeofexpression.h> | |
| #include <vala/valaunaryexpression.h> | | #include <vala/valaunaryexpression.h> | |
| #include <vala/valacastexpression.h> | | #include <vala/valacastexpression.h> | |
| #include <vala/valapointerindirection.h> | | #include <vala/valapointerindirection.h> | |
| #include <vala/valaaddressofexpression.h> | | #include <vala/valaaddressofexpression.h> | |
| #include <vala/valareferencetransferexpression.h> | | #include <vala/valareferencetransferexpression.h> | |
| #include <vala/valabinaryexpression.h> | | #include <vala/valabinaryexpression.h> | |
| #include <vala/valatypecheck.h> | | #include <vala/valatypecheck.h> | |
| #include <vala/valaconditionalexpression.h> | | #include <vala/valaconditionalexpression.h> | |
| #include <vala/valalambdaexpression.h> | | #include <vala/valalambdaexpression.h> | |
| #include <vala/valaassignment.h> | | #include <vala/valaassignment.h> | |
| #include <ccode/valaccodefunctioncall.h> | | #include <ccode/valaccodefunctioncall.h> | |
|
| #include <vala/valamemberaccess.h> | | #include <ccode/valaccodestatement.h> | |
| #include <stdlib.h> | | #include <float.h> | |
| #include <string.h> | | #include <math.h> | |
| #include <vala/valacodebinding.h> | | #include <vala/valacodebinding.h> | |
| #include <vala/valanamespace.h> | | #include <vala/valanamespace.h> | |
| #include <vala/valastruct.h> | | #include <vala/valastruct.h> | |
|
| #include <vala/valainterface.h> | | #include <vala/valadynamicmethod.h> | |
| #include <vala/valamethod.h> | | | |
| #include <vala/valacreationmethod.h> | | | |
| #include <vala/valasignal.h> | | #include <vala/valasignal.h> | |
|
| | | #include <vala/valadynamicsignal.h> | |
| #include <vala/valatypeparameter.h> | | #include <vala/valatypeparameter.h> | |
|
| #include <vala/valalocalvariabledeclaration.h> | | | |
| #include <vala/valaswitchlabel.h> | | #include <vala/valaswitchlabel.h> | |
|
| #include <vala/valainvocationexpression.h> | | #include <gee/collection.h> | |
| #include <ccode/valaccodeidentifier.h> | | | |
| #include <float.h> | | | |
| #include <math.h> | | | |
| #include <vala/valasourcefile.h> | | #include <vala/valasourcefile.h> | |
|
| | | #include <gobject/valaccodebinding.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_CCODE_GENERATOR (vala_ccode_generator_get_type ()) | | #define VALA_TYPE_CCODE_GENERATOR (vala_ccode_generator_get_type ()) | |
| #define VALA_CCODE_GENERATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_
TYPE_CCODE_GENERATOR, ValaCCodeGenerator)) | | #define VALA_CCODE_GENERATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_
TYPE_CCODE_GENERATOR, ValaCCodeGenerator)) | |
| #define VALA_CCODE_GENERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass)
, VALA_TYPE_CCODE_GENERATOR, ValaCCodeGeneratorClass)) | | #define VALA_CCODE_GENERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass)
, VALA_TYPE_CCODE_GENERATOR, ValaCCodeGeneratorClass)) | |
| #define VALA_IS_CCODE_GENERATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA
LA_TYPE_CCODE_GENERATOR)) | | #define VALA_IS_CCODE_GENERATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA
LA_TYPE_CCODE_GENERATOR)) | |
| #define VALA_IS_CCODE_GENERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla
ss), VALA_TYPE_CCODE_GENERATOR)) | | #define VALA_IS_CCODE_GENERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla
ss), VALA_TYPE_CCODE_GENERATOR)) | |
| #define VALA_CCODE_GENERATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob
j), VALA_TYPE_CCODE_GENERATOR, ValaCCodeGeneratorClass)) | | #define VALA_CCODE_GENERATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob
j), VALA_TYPE_CCODE_GENERATOR, ValaCCodeGeneratorClass)) | |
| | | | |
|
| typedef struct _ValaCCodeGenerator ValaCCodeGenerator; | | | |
| typedef struct _ValaCCodeGeneratorClass ValaCCodeGeneratorClass; | | | |
| typedef struct _ValaCCodeGeneratorPrivate ValaCCodeGeneratorPrivate; | | typedef struct _ValaCCodeGeneratorPrivate ValaCCodeGeneratorPrivate; | |
| | | | |
| /** | | /** | |
| * Code visitor generating C Code. | | * Code visitor generating C Code. | |
| */ | | */ | |
| struct _ValaCCodeGenerator { | | struct _ValaCCodeGenerator { | |
| ValaCodeGenerator parent_instance; | | ValaCodeGenerator parent_instance; | |
| ValaCCodeGeneratorPrivate * priv; | | ValaCCodeGeneratorPrivate * priv; | |
|
| | | ValaCodeContext* context; | |
| | | ValaSymbol* root_symbol; | |
| | | ValaSymbol* current_symbol; | |
| ValaTypesymbol* current_type_symbol; | | ValaTypesymbol* current_type_symbol; | |
| ValaClass* current_class; | | ValaClass* current_class; | |
|
| | | ValaMethod* current_method; | |
| | | ValaDataType* current_return_type; | |
| | | ValaTryStatement* current_try; | |
| | | ValaPropertyAccessor* current_property_accessor; | |
| | | ValaCCodeFragment* header_begin; | |
| | | ValaCCodeFragment* header_type_declaration; | |
| | | ValaCCodeFragment* header_type_definition; | |
| | | ValaCCodeFragment* header_type_member_declaration; | |
| | | ValaCCodeFragment* header_constant_declaration; | |
| | | ValaCCodeFragment* source_begin; | |
| | | ValaCCodeFragment* source_include_directives; | |
| | | ValaCCodeFragment* source_type_declaration; | |
| | | ValaCCodeFragment* source_type_definition; | |
| ValaCCodeFragment* source_type_member_declaration; | | ValaCCodeFragment* source_type_member_declaration; | |
|
| | | ValaCCodeFragment* source_constant_declaration; | |
| | | ValaCCodeFragment* source_signal_marshaller_declaration; | |
| ValaCCodeFragment* source_type_member_definition; | | ValaCCodeFragment* source_type_member_definition; | |
|
| | | ValaCCodeFragment* class_init_fragment; | |
| | | ValaCCodeFragment* instance_init_fragment; | |
| | | ValaCCodeFragment* instance_dispose_fragment; | |
| | | ValaCCodeFragment* source_signal_marshaller_definition; | |
| | | ValaCCodeFragment* module_init_fragment; | |
| | | ValaCCodeStruct* instance_struct; | |
| | | ValaCCodeStruct* type_struct; | |
| | | ValaCCodeStruct* instance_priv_struct; | |
| | | ValaCCodeEnum* prop_enum; | |
| | | ValaCCodeEnum* cenum; | |
| | | ValaCCodeFunction* function; | |
| | | ValaCCodeBlock* block; | |
| GeeArrayList* temp_vars; | | GeeArrayList* temp_vars; | |
|
| | | GeeArrayList* temp_ref_vars; | |
| | | GeeSet* user_marshal_set; | |
| | | GeeSet* predefined_marshal_set; | |
| | | GeeSet* c_keywords; | |
| | | gint next_temp_var_id; | |
| gboolean in_creation_method; | | gboolean in_creation_method; | |
|
| | | gboolean current_method_inner_error; | |
| ValaDataType* bool_type; | | ValaDataType* bool_type; | |
| ValaDataType* char_type; | | ValaDataType* char_type; | |
| ValaDataType* unichar_type; | | ValaDataType* unichar_type; | |
| ValaDataType* short_type; | | ValaDataType* short_type; | |
| ValaDataType* ushort_type; | | ValaDataType* ushort_type; | |
| ValaDataType* int_type; | | ValaDataType* int_type; | |
| ValaDataType* uint_type; | | ValaDataType* uint_type; | |
| ValaDataType* long_type; | | ValaDataType* long_type; | |
| ValaDataType* ulong_type; | | ValaDataType* ulong_type; | |
| ValaDataType* int64_type; | | ValaDataType* int64_type; | |
| ValaDataType* uint64_type; | | ValaDataType* uint64_type; | |
| ValaDataType* string_type; | | ValaDataType* string_type; | |
| ValaDataType* float_type; | | ValaDataType* float_type; | |
| ValaDataType* double_type; | | ValaDataType* double_type; | |
| ValaTypesymbol* gtype_type; | | ValaTypesymbol* gtype_type; | |
| ValaTypesymbol* gtypeinstance_type; | | ValaTypesymbol* gtypeinstance_type; | |
| ValaTypesymbol* gobject_type; | | ValaTypesymbol* gobject_type; | |
| ValaErrorType* gerror_type; | | ValaErrorType* gerror_type; | |
|
| ValaTypesymbol* glist_type; | | ValaClass* glist_type; | |
| ValaTypesymbol* gslist_type; | | ValaClass* gslist_type; | |
| ValaTypesymbol* gstring_type; | | | |
| ValaTypesymbol* gstringbuilder_type; | | ValaTypesymbol* gstringbuilder_type; | |
| ValaTypesymbol* garray_type; | | ValaTypesymbol* garray_type; | |
| ValaDataType* gquark_type; | | ValaDataType* gquark_type; | |
| ValaDataType* mutex_type; | | ValaDataType* mutex_type; | |
| ValaTypesymbol* type_module_type; | | ValaTypesymbol* type_module_type; | |
|
| ValaTypesymbol* iterable_type; | | ValaInterface* iterable_type; | |
| ValaTypesymbol* iterator_type; | | ValaInterface* iterator_type; | |
| ValaTypesymbol* list_type; | | ValaInterface* list_type; | |
| ValaTypesymbol* map_type; | | ValaInterface* map_type; | |
| ValaTypesymbol* connection_type; | | ValaTypesymbol* dbus_object_type; | |
| | | ValaMethod* substring_method; | |
| | | gboolean in_plugin; | |
| | | char* module_init_param_name; | |
| | | gboolean string_h_needed; | |
| | | gboolean requires_array_move; | |
| | | gboolean dbus_glib_h_needed; | |
| }; | | }; | |
| struct _ValaCCodeGeneratorClass { | | struct _ValaCCodeGeneratorClass { | |
| ValaCodeGeneratorClass parent_class; | | ValaCodeGeneratorClass parent_class; | |
| }; | | }; | |
| | | | |
| ValaCCodeGenerator* vala_ccode_generator_new (void); | | ValaCCodeGenerator* vala_ccode_generator_new (void); | |
| gboolean vala_ccode_generator_is_pure_ccode_expression (ValaCCodeGenerator*
self, ValaCCodeExpression* cexpr); | | gboolean vala_ccode_generator_is_pure_ccode_expression (ValaCCodeGenerator*
self, ValaCCodeExpression* cexpr); | |
|
| ValaVariableDeclarator* vala_ccode_generator_get_temp_variable_declarator ( | | char* vala_ccode_generator_get_variable_cname (ValaCCodeGenerator* self, co | |
| ValaCCodeGenerator* self, ValaDataType* type, gboolean takes_ownership, Val | | nst char* name); | |
| aCodeNode* node_reference); | | ValaLocalVariable* vala_ccode_generator_get_temp_variable (ValaCCodeGenerat | |
| | | or* self, ValaDataType* type, gboolean takes_ownership, ValaCodeNode* node_ | |
| | | reference); | |
| ValaCCodeExpression* vala_ccode_generator_get_unref_expression (ValaCCodeGe
nerator* self, ValaCCodeExpression* cvar, ValaDataType* type, ValaExpressio
n* expr); | | ValaCCodeExpression* vala_ccode_generator_get_unref_expression (ValaCCodeGe
nerator* self, ValaCCodeExpression* cvar, ValaDataType* type, ValaExpressio
n* expr); | |
|
| | | char* vala_ccode_generator_get_array_length_cname (ValaCCodeGenerator* self
, const char* array_cname, gint dim); | |
| ValaCCodeExpression* vala_ccode_generator_get_array_length_cexpression (Val
aCCodeGenerator* self, ValaExpression* array_expr, gint dim); | | ValaCCodeExpression* vala_ccode_generator_get_array_length_cexpression (Val
aCCodeGenerator* self, ValaExpression* array_expr, gint dim); | |
|
| | | char* vala_ccode_generator_get_delegate_target_cname (ValaCCodeGenerator* s
elf, const char* delegate_cname); | |
| ValaCCodeExpression* vala_ccode_generator_get_delegate_target_cexpression (
ValaCCodeGenerator* self, ValaExpression* delegate_expr); | | ValaCCodeExpression* vala_ccode_generator_get_delegate_target_cexpression (
ValaCCodeGenerator* self, ValaExpression* delegate_expr); | |
| void vala_ccode_generator_visit_expression (ValaCCodeGenerator* self, ValaE
xpression* expr); | | void vala_ccode_generator_visit_expression (ValaCCodeGenerator* self, ValaE
xpression* expr); | |
| ValaCCodeExpression* vala_ccode_generator_convert_from_generic_pointer (Val
aCCodeGenerator* self, ValaCCodeExpression* cexpr, ValaDataType* actual_typ
e); | | ValaCCodeExpression* vala_ccode_generator_convert_from_generic_pointer (Val
aCCodeGenerator* self, ValaCCodeExpression* cexpr, ValaDataType* actual_typ
e); | |
| ValaCCodeExpression* vala_ccode_generator_convert_to_generic_pointer (ValaC
CodeGenerator* self, ValaCCodeExpression* cexpr, ValaDataType* actual_type)
; | | ValaCCodeExpression* vala_ccode_generator_convert_to_generic_pointer (ValaC
CodeGenerator* self, ValaCCodeExpression* cexpr, ValaDataType* actual_type)
; | |
| ValaCCodeExpression* vala_ccode_generator_get_implicit_cast_expression (Val
aCCodeGenerator* self, ValaCCodeExpression* cexpr, ValaDataType* expression
_type, ValaDataType* target_type); | | ValaCCodeExpression* vala_ccode_generator_get_implicit_cast_expression (Val
aCCodeGenerator* self, ValaCCodeExpression* cexpr, ValaDataType* expression
_type, ValaDataType* target_type); | |
| ValaCCodeFunctionCall* vala_ccode_generator_get_property_set_call (ValaCCod
eGenerator* self, ValaProperty* prop, ValaMemberAccess* ma, ValaCCodeExpres
sion* cexpr); | | ValaCCodeFunctionCall* vala_ccode_generator_get_property_set_call (ValaCCod
eGenerator* self, ValaProperty* prop, ValaMemberAccess* ma, ValaCCodeExpres
sion* cexpr); | |
| gboolean vala_ccode_generator_is_address_of_possible (ValaCCodeGenerator* s
elf, ValaExpression* e); | | gboolean vala_ccode_generator_is_address_of_possible (ValaCCodeGenerator* s
elf, ValaExpression* e); | |
| ValaCCodeExpression* vala_ccode_generator_get_address_of_expression (ValaCC
odeGenerator* self, ValaExpression* e, ValaCCodeExpression* ce); | | ValaCCodeExpression* vala_ccode_generator_get_address_of_expression (ValaCC
odeGenerator* self, ValaExpression* e, ValaCCodeExpression* ce); | |
| gboolean vala_ccode_generator_add_wrapper (ValaCCodeGenerator* self, const
char* wrapper_name); | | gboolean vala_ccode_generator_add_wrapper (ValaCCodeGenerator* self, const
char* wrapper_name); | |
| ValaDataType* vala_ccode_generator_get_data_type_for_symbol (ValaTypesymbol
* sym); | | ValaDataType* vala_ccode_generator_get_data_type_for_symbol (ValaTypesymbol
* sym); | |
|
| ValaCCodeIdentifier* vala_ccode_generator_get_value_setter_function (ValaCC | | ValaCCodeExpression* vala_ccode_generator_default_value_for_type (ValaCCode | |
| odeGenerator* self, ValaDataType* type_reference); | | Generator* self, ValaDataType* type, gboolean initializer_expression); | |
| | | ValaCCodeStatement* vala_ccode_generator_create_type_check_statement (ValaC | |
| | | CodeGenerator* self, ValaCodeNode* method_node, ValaDataType* ret_type, Val | |
| | | aTypesymbol* t, gboolean non_null, const char* var_name); | |
| gint vala_ccode_generator_get_param_pos (ValaCCodeGenerator* self, double p
aram_pos, gboolean ellipsis); | | gint vala_ccode_generator_get_param_pos (ValaCCodeGenerator* self, double p
aram_pos, gboolean ellipsis); | |
|
| char* vala_ccode_generator_get_signal_marshaller_function (ValaCCodeGenerat | | ValaCCodeBinding* vala_ccode_generator_code_binding (ValaCCodeGenerator* se | |
| or* self, ValaSignal* sig, const char* prefix); | | lf, ValaCodeNode* node); | |
| | | ValaCCodeMethodBinding* vala_ccode_generator_method_binding (ValaCCodeGener | |
| | | ator* self, ValaMethod* node); | |
| | | ValaCCodeDynamicMethodBinding* vala_ccode_generator_dynamic_method_binding | |
| | | (ValaCCodeGenerator* self, ValaDynamicMethod* node); | |
| | | ValaCCodeDynamicSignalBinding* vala_ccode_generator_dynamic_signal_binding | |
| | | (ValaCCodeGenerator* self, ValaDynamicSignal* node); | |
| | | ValaCCodeArrayCreationExpressionBinding* vala_ccode_generator_array_creatio | |
| | | n_expression_binding (ValaCCodeGenerator* self, ValaArrayCreationExpression | |
| | | * node); | |
| | | ValaCCodeElementAccessBinding* vala_ccode_generator_element_access_binding | |
| | | (ValaCCodeGenerator* self, ValaElementAccess* node); | |
| | | ValaCCodeAssignmentBinding* vala_ccode_generator_assignment_binding (ValaCC | |
| | | odeGenerator* self, ValaAssignment* node); | |
| | | char* vala_ccode_generator_get_marshaller_function (ValaCCodeGenerator* sel | |
| | | f, GeeCollection* params, ValaDataType* return_type, const char* prefix); | |
| | | void vala_ccode_generator_generate_marshaller (ValaCCodeGenerator* self, Ge | |
| | | eCollection* params, ValaDataType* return_type); | |
| GType vala_ccode_generator_get_type (void); | | GType vala_ccode_generator_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 30 change blocks. |
| 33 lines changed or deleted | | 105 lines changed or added | |
|
| valaccodemethodbinding.h | | valaccodemethodbinding.h | |
| /* valaccodemethodbinding.vala | | /* valaccodemethodbinding.vala | |
| * | | * | |
|
| * Copyright (C) 2007 Jürg Billeter | | * Copyright (C) 2007-2008 Jürg Billeter | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * 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, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
| skipping to change at line 28 | | skipping to change at line 28 | |
| * | | * | |
| * Author: | | * Author: | |
| * Jürg Billeter <j@bitron.ch> | | * Jürg Billeter <j@bitron.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __GOBJECT_VALACCODEMETHODBINDING_H__ | | #ifndef __GOBJECT_VALACCODEMETHODBINDING_H__ | |
| #define __GOBJECT_VALACCODEMETHODBINDING_H__ | | #define __GOBJECT_VALACCODEMETHODBINDING_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| #include <vala/valacodegenerator.h> | | | |
| #include <vala/valamethod.h> | | #include <vala/valamethod.h> | |
|
| | | #include <vala/valadatatype.h> | |
| | | #include <gee/map.h> | |
| | | #include <ccode/valaccodefunction.h> | |
| | | #include <ccode/valaccodefunctiondeclarator.h> | |
| #include <gobject/valaccodebinding.h> | | #include <gobject/valaccodebinding.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_CCODE_METHOD_BINDING (vala_ccode_method_binding_get_type
()) | | #define VALA_TYPE_CCODE_METHOD_BINDING (vala_ccode_method_binding_get_type
()) | |
| #define VALA_CCODE_METHOD_BINDING(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
VALA_TYPE_CCODE_METHOD_BINDING, ValaCCodeMethodBinding)) | | #define VALA_CCODE_METHOD_BINDING(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
VALA_TYPE_CCODE_METHOD_BINDING, ValaCCodeMethodBinding)) | |
| #define VALA_CCODE_METHOD_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((k
lass), VALA_TYPE_CCODE_METHOD_BINDING, ValaCCodeMethodBindingClass)) | | #define VALA_CCODE_METHOD_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((k
lass), VALA_TYPE_CCODE_METHOD_BINDING, ValaCCodeMethodBindingClass)) | |
| #define VALA_IS_CCODE_METHOD_BINDING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj
), VALA_TYPE_CCODE_METHOD_BINDING)) | | #define VALA_IS_CCODE_METHOD_BINDING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj
), VALA_TYPE_CCODE_METHOD_BINDING)) | |
| #define VALA_IS_CCODE_METHOD_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE
((klass), VALA_TYPE_CCODE_METHOD_BINDING)) | | #define VALA_IS_CCODE_METHOD_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE
((klass), VALA_TYPE_CCODE_METHOD_BINDING)) | |
| #define VALA_CCODE_METHOD_BINDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS
((obj), VALA_TYPE_CCODE_METHOD_BINDING, ValaCCodeMethodBindingClass)) | | #define VALA_CCODE_METHOD_BINDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS
((obj), VALA_TYPE_CCODE_METHOD_BINDING, ValaCCodeMethodBindingClass)) | |
| | | | |
|
| typedef struct _ValaCCodeMethodBinding ValaCCodeMethodBinding; | | | |
| typedef struct _ValaCCodeMethodBindingClass ValaCCodeMethodBindingClass; | | | |
| typedef struct _ValaCCodeMethodBindingPrivate ValaCCodeMethodBindingPrivate
; | | typedef struct _ValaCCodeMethodBindingPrivate ValaCCodeMethodBindingPrivate
; | |
| | | | |
| /** | | /** | |
| * The link between a method and generated code. | | * The link between a method and generated code. | |
| */ | | */ | |
| struct _ValaCCodeMethodBinding { | | struct _ValaCCodeMethodBinding { | |
| ValaCCodeBinding parent_instance; | | ValaCCodeBinding parent_instance; | |
| ValaCCodeMethodBindingPrivate * priv; | | ValaCCodeMethodBindingPrivate * priv; | |
| }; | | }; | |
| struct _ValaCCodeMethodBindingClass { | | struct _ValaCCodeMethodBindingClass { | |
| ValaCCodeBindingClass parent_class; | | ValaCCodeBindingClass parent_class; | |
| }; | | }; | |
| | | | |
|
| ValaCCodeMethodBinding* vala_ccode_method_binding_new (ValaCodeGenerator* c | | ValaCCodeMethodBinding* vala_ccode_method_binding_new (ValaCCodeGenerator* | |
| odegen, ValaMethod* method); | | codegen, ValaMethod* method); | |
| ValaCCodeMethodBinding* vala_ccode_method_binding_get (ValaMethod* method); | | void vala_ccode_method_binding_generate_cparameters (ValaCCodeMethodBinding | |
| | | * self, ValaMethod* m, ValaDataType* creturn_type, GeeMap* cparam_map, Vala | |
| | | CCodeFunction* func, ValaCCodeFunctionDeclarator* vdeclarator); | |
| ValaMethod* vala_ccode_method_binding_get_method (ValaCCodeMethodBinding* s
elf); | | ValaMethod* vala_ccode_method_binding_get_method (ValaCCodeMethodBinding* s
elf); | |
| void vala_ccode_method_binding_set_method (ValaCCodeMethodBinding* self, Va
laMethod* value); | | void vala_ccode_method_binding_set_method (ValaCCodeMethodBinding* self, Va
laMethod* value); | |
| gboolean vala_ccode_method_binding_get_has_wrapper (ValaCCodeMethodBinding*
self); | | gboolean vala_ccode_method_binding_get_has_wrapper (ValaCCodeMethodBinding*
self); | |
| GType vala_ccode_method_binding_get_type (void); | | GType vala_ccode_method_binding_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 5 change blocks. |
| 7 lines changed or deleted | | 10 lines changed or added | |
|
| valacodecontext.h | | valacodecontext.h | |
| | | | |
| skipping to change at line 31 | | skipping to change at line 31 | |
| */ | | */ | |
| | | | |
| #ifndef __VALA_VALACODECONTEXT_H__ | | #ifndef __VALA_VALACODECONTEXT_H__ | |
| #define __VALA_VALACODECONTEXT_H__ | | #define __VALA_VALACODECONTEXT_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| #include <gee/collection.h> | | #include <gee/collection.h> | |
| #include <stdlib.h> | | #include <stdlib.h> | |
| #include <string.h> | | #include <string.h> | |
|
| #include <vala/valaunaryexpression.h> | | | |
| #include <vala/valabinaryexpression.h> | | | |
| #include <vala/valaassignment.h> | | | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_CODE_CONTEXT (vala_code_context_get_type ()) | | #define VALA_TYPE_CODE_CONTEXT (vala_code_context_get_type ()) | |
| #define VALA_CODE_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP
E_CODE_CONTEXT, ValaCodeContext)) | | #define VALA_CODE_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP
E_CODE_CONTEXT, ValaCodeContext)) | |
| #define VALA_CODE_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V
ALA_TYPE_CODE_CONTEXT, ValaCodeContextClass)) | | #define VALA_CODE_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V
ALA_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(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_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)) | | #define VALA_CODE_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),
VALA_TYPE_CODE_CONTEXT, ValaCodeContextClass)) | |
| | | | |
| skipping to change at line 59 | | skipping to change at line 56 | |
| */ | | */ | |
| struct _ValaCodeContext { | | struct _ValaCodeContext { | |
| GObject parent_instance; | | GObject parent_instance; | |
| ValaCodeContextPrivate * priv; | | ValaCodeContextPrivate * priv; | |
| }; | | }; | |
| struct _ValaCodeContextClass { | | struct _ValaCodeContextClass { | |
| GObjectClass parent_class; | | GObjectClass parent_class; | |
| }; | | }; | |
| | | | |
| ValaCodeContext* vala_code_context_new (void); | | ValaCodeContext* vala_code_context_new (void); | |
|
| gboolean vala_code_context_is_non_null_enabled (void); | | | |
| GeeCollection* vala_code_context_get_source_files (ValaCodeContext* self); | | GeeCollection* vala_code_context_get_source_files (ValaCodeContext* self); | |
| GeeCollection* vala_code_context_get_c_source_files (ValaCodeContext* self)
; | | GeeCollection* vala_code_context_get_c_source_files (ValaCodeContext* self)
; | |
| void vala_code_context_add_source_file (ValaCodeContext* self, ValaSourceFi
le* file); | | void vala_code_context_add_source_file (ValaCodeContext* self, ValaSourceFi
le* file); | |
| void vala_code_context_add_c_source_file (ValaCodeContext* self, const char
* file); | | void vala_code_context_add_c_source_file (ValaCodeContext* self, const char
* file); | |
| GeeCollection* vala_code_context_get_packages (ValaCodeContext* self); | | GeeCollection* vala_code_context_get_packages (ValaCodeContext* self); | |
| gboolean vala_code_context_has_package (ValaCodeContext* self, const char*
pkg); | | gboolean vala_code_context_has_package (ValaCodeContext* self, const char*
pkg); | |
| void vala_code_context_add_package (ValaCodeContext* self, const char* pkg)
; | | void vala_code_context_add_package (ValaCodeContext* self, const char* pkg)
; | |
| void vala_code_context_accept (ValaCodeContext* self, ValaCodeVisitor* visi
tor); | | void vala_code_context_accept (ValaCodeContext* self, ValaCodeVisitor* visi
tor); | |
| void vala_code_context_find_header_cycles (ValaCodeContext* self); | | void vala_code_context_find_header_cycles (ValaCodeContext* self); | |
| void vala_code_context_add_define (ValaCodeContext* self, const char* defin
e); | | void vala_code_context_add_define (ValaCodeContext* self, const char* defin
e); | |
| gboolean vala_code_context_ignore_node (ValaCodeContext* self, ValaCodeNode
* node); | | gboolean vala_code_context_ignore_node (ValaCodeContext* self, ValaCodeNode
* node); | |
| char* vala_code_context_get_package_path (ValaCodeContext* self, const char
* pkg, int vapi_directories_length1, char** vapi_directories); | | char* vala_code_context_get_package_path (ValaCodeContext* self, const char
* pkg, int vapi_directories_length1, char** vapi_directories); | |
|
| ValaNamespace* vala_code_context_create_namespace (ValaCodeContext* self, c | | void vala_code_context_add_dynamic_member (ValaCodeContext* self, ValaSymbo | |
| onst char* name, ValaSourceReference* source_reference); | | l* dynamic_member); | |
| ValaClass* vala_code_context_create_class (ValaCodeContext* self, const cha | | | |
| r* name, ValaSourceReference* source_reference); | | | |
| ValaStruct* vala_code_context_create_struct (ValaCodeContext* self, const c | | | |
| har* name, ValaSourceReference* source_reference); | | | |
| ValaInterface* vala_code_context_create_interface (ValaCodeContext* self, c | | | |
| onst char* name, ValaSourceReference* source_reference); | | | |
| ValaEnum* vala_code_context_create_enum (ValaCodeContext* self, const char* | | | |
| name, ValaSourceReference* source_reference); | | | |
| ValaEnumValue* vala_code_context_create_enum_value (ValaCodeContext* self, | | | |
| const char* name, ValaSourceReference* source_reference); | | | |
| ValaEnumValue* vala_code_context_create_enum_value_with_value (ValaCodeCont | | | |
| ext* self, const char* name, ValaExpression* value, ValaSourceReference* so | | | |
| urce_reference); | | | |
| ValaErrorDomain* vala_code_context_create_error_domain (ValaCodeContext* se | | | |
| lf, const char* name, ValaSourceReference* source_reference); | | | |
| ValaErrorCode* vala_code_context_create_error_code (ValaCodeContext* self, | | | |
| const char* name); | | | |
| ValaErrorCode* vala_code_context_create_error_code_with_value (ValaCodeCont | | | |
| ext* self, const char* name, ValaExpression* value); | | | |
| ValaDelegate* vala_code_context_create_delegate (ValaCodeContext* self, con | | | |
| st char* name, ValaDataType* return_type, ValaSourceReference* source_refer | | | |
| ence); | | | |
| ValaConstant* vala_code_context_create_constant (ValaCodeContext* self, con | | | |
| st char* name, ValaDataType* type_reference, ValaExpression* initializer, V | | | |
| alaSourceReference* source_reference); | | | |
| ValaField* vala_code_context_create_field (ValaCodeContext* self, const cha | | | |
| r* name, ValaDataType* type_reference, ValaExpression* initializer, ValaSou | | | |
| rceReference* source_reference); | | | |
| ValaMethod* vala_code_context_create_method (ValaCodeContext* self, const c | | | |
| har* name, ValaDataType* return_type, ValaSourceReference* source_reference | | | |
| ); | | | |
| ValaCreationMethod* vala_code_context_create_creation_method (ValaCodeConte | | | |
| xt* self, const char* type_name, const char* name, ValaSourceReference* sou | | | |
| rce_reference); | | | |
| ValaFormalParameter* vala_code_context_create_formal_parameter (ValaCodeCon | | | |
| text* self, const char* name, ValaDataType* type_reference, ValaSourceRefer | | | |
| ence* source_reference); | | | |
| ValaFormalParameter* vala_code_context_create_formal_parameter_with_ellipsi | | | |
| s (ValaCodeContext* self, ValaSourceReference* source_reference); | | | |
| ValaProperty* vala_code_context_create_property (ValaCodeContext* self, con | | | |
| st char* name, ValaDataType* type_reference, ValaPropertyAccessor* get_acce | | | |
| ssor, ValaPropertyAccessor* set_accessor, ValaSourceReference* source_refer | | | |
| ence); | | | |
| ValaPropertyAccessor* vala_code_context_create_property_accessor (ValaCodeC | | | |
| ontext* self, gboolean readable, gboolean writable, gboolean construction, | | | |
| ValaBlock* body, ValaSourceReference* source_reference); | | | |
| ValaSignal* vala_code_context_create_signal (ValaCodeContext* self, const c | | | |
| har* name, ValaDataType* return_type, ValaSourceReference* source_reference | | | |
| ); | | | |
| ValaConstructor* vala_code_context_create_constructor (ValaCodeContext* sel | | | |
| f, ValaSourceReference* source_reference); | | | |
| ValaDestructor* vala_code_context_create_destructor (ValaCodeContext* self, | | | |
| ValaSourceReference* source_reference); | | | |
| ValaTypeParameter* vala_code_context_create_type_parameter (ValaCodeContext | | | |
| * self, const char* name, ValaSourceReference* source_reference); | | | |
| ValaBlock* vala_code_context_create_block (ValaCodeContext* self, ValaSourc | | | |
| eReference* source_reference); | | | |
| ValaEmptyStatement* vala_code_context_create_empty_statement (ValaCodeConte | | | |
| xt* self, ValaSourceReference* source_reference); | | | |
| ValaDeclarationStatement* vala_code_context_create_declaration_statement (V | | | |
| alaCodeContext* self, ValaLocalVariableDeclaration* declaration, ValaSource | | | |
| Reference* source_reference); | | | |
| ValaLocalVariableDeclaration* vala_code_context_create_local_variable_decla | | | |
| ration (ValaCodeContext* self, ValaDataType* type_reference, ValaSourceRefe | | | |
| rence* source_reference); | | | |
| ValaLocalVariableDeclaration* vala_code_context_create_local_variable_decla | | | |
| ration_var_type (ValaCodeContext* self, ValaSourceReference* source_referen | | | |
| ce); | | | |
| ValaVariableDeclarator* vala_code_context_create_variable_declarator (ValaC | | | |
| odeContext* self, const char* name, ValaExpression* initializer, ValaSource | | | |
| Reference* source_reference); | | | |
| ValaInitializerList* vala_code_context_create_initializer_list (ValaCodeCon | | | |
| text* self, ValaSourceReference* source_reference); | | | |
| ValaExpressionStatement* vala_code_context_create_expression_statement (Val | | | |
| aCodeContext* self, ValaExpression* expression, ValaSourceReference* source | | | |
| _reference); | | | |
| ValaIfStatement* vala_code_context_create_if_statement (ValaCodeContext* se | | | |
| lf, ValaExpression* condition, ValaBlock* true_statement, ValaBlock* false_ | | | |
| statement, ValaSourceReference* source_reference); | | | |
| ValaSwitchStatement* vala_code_context_create_switch_statement (ValaCodeCon | | | |
| text* self, ValaExpression* expression, ValaSourceReference* source_referen | | | |
| ce); | | | |
| ValaSwitchSection* vala_code_context_create_switch_section (ValaCodeContext | | | |
| * self, ValaSourceReference* source_reference); | | | |
| ValaSwitchLabel* vala_code_context_create_switch_label (ValaCodeContext* se | | | |
| lf, ValaExpression* expression, ValaSourceReference* source_reference); | | | |
| ValaSwitchLabel* vala_code_context_create_switch_label_with_default (ValaCo | | | |
| deContext* self, ValaSourceReference* source_reference); | | | |
| ValaWhileStatement* vala_code_context_create_while_statement (ValaCodeConte | | | |
| xt* self, ValaExpression* condition, ValaBlock* body, ValaSourceReference* | | | |
| source_reference); | | | |
| ValaDoStatement* vala_code_context_create_do_statement (ValaCodeContext* se | | | |
| lf, ValaBlock* body, ValaExpression* condition, ValaSourceReference* source | | | |
| _reference); | | | |
| ValaForStatement* vala_code_context_create_for_statement (ValaCodeContext* | | | |
| self, ValaExpression* condition, ValaBlock* body, ValaSourceReference* sour | | | |
| ce_reference); | | | |
| ValaForeachStatement* vala_code_context_create_foreach_statement (ValaCodeC | | | |
| ontext* self, ValaDataType* type_reference, const char* variable_name, Vala | | | |
| Expression* collection, ValaBlock* body, ValaSourceReference* source_refere | | | |
| nce); | | | |
| ValaBreakStatement* vala_code_context_create_break_statement (ValaCodeConte | | | |
| xt* self, ValaSourceReference* source_reference); | | | |
| ValaContinueStatement* vala_code_context_create_continue_statement (ValaCod | | | |
| eContext* self, ValaSourceReference* source_reference); | | | |
| ValaReturnStatement* vala_code_context_create_return_statement (ValaCodeCon | | | |
| text* self, ValaExpression* return_expression, ValaSourceReference* source_ | | | |
| reference); | | | |
| ValaThrowStatement* vala_code_context_create_throw_statement (ValaCodeConte | | | |
| xt* self, ValaExpression* error_expression, ValaSourceReference* source_ref | | | |
| erence); | | | |
| ValaTryStatement* vala_code_context_create_try_statement (ValaCodeContext* | | | |
| self, ValaBlock* body, ValaBlock* finally_body, ValaSourceReference* source | | | |
| _reference); | | | |
| ValaCatchClause* vala_code_context_create_catch_clause (ValaCodeContext* se | | | |
| lf, ValaDataType* type_reference, const char* variable_name, ValaBlock* bod | | | |
| y, ValaSourceReference* source_reference); | | | |
| ValaLockStatement* vala_code_context_create_lock_statement (ValaCodeContext | | | |
| * self, ValaExpression* resource, ValaBlock* body, ValaSourceReference* sou | | | |
| rce_reference); | | | |
| ValaDeleteStatement* vala_code_context_create_delete_statement (ValaCodeCon | | | |
| text* self, ValaExpression* expression, ValaSourceReference* source_referen | | | |
| ce); | | | |
| ValaArrayCreationExpression* vala_code_context_create_array_creation_expres | | | |
| sion (ValaCodeContext* self, ValaDataType* element_type, gint rank, ValaIni | | | |
| tializerList* initializer_list, ValaSourceReference* source_reference); | | | |
| ValaBooleanLiteral* vala_code_context_create_boolean_literal (ValaCodeConte | | | |
| xt* self, gboolean value, ValaSourceReference* source_reference); | | | |
| ValaCharacterLiteral* vala_code_context_create_character_literal (ValaCodeC | | | |
| ontext* self, const char* value, ValaSourceReference* source_reference); | | | |
| ValaIntegerLiteral* vala_code_context_create_integer_literal (ValaCodeConte | | | |
| xt* self, const char* value, ValaSourceReference* source_reference); | | | |
| ValaRealLiteral* vala_code_context_create_real_literal (ValaCodeContext* se | | | |
| lf, const char* value, ValaSourceReference* source_reference); | | | |
| ValaStringLiteral* vala_code_context_create_string_literal (ValaCodeContext | | | |
| * self, const char* value, ValaSourceReference* source_reference); | | | |
| ValaNullLiteral* vala_code_context_create_null_literal (ValaCodeContext* se | | | |
| lf, ValaSourceReference* source_reference); | | | |
| ValaParenthesizedExpression* vala_code_context_create_parenthesized_express | | | |
| ion (ValaCodeContext* self, ValaExpression* inner, ValaSourceReference* sou | | | |
| rce_reference); | | | |
| ValaMemberAccess* vala_code_context_create_member_access (ValaCodeContext* | | | |
| self, ValaExpression* inner, const char* member_name, ValaSourceReference* | | | |
| source_reference); | | | |
| ValaMemberAccess* vala_code_context_create_member_access_simple (ValaCodeCo | | | |
| ntext* self, const char* member_name, ValaSourceReference* source_reference | | | |
| ); | | | |
| ValaMemberAccess* vala_code_context_create_member_access_pointer (ValaCodeC | | | |
| ontext* self, ValaExpression* inner, const char* member_name, ValaSourceRef | | | |
| erence* source_reference); | | | |
| ValaInvocationExpression* vala_code_context_create_invocation_expression (V | | | |
| alaCodeContext* self, ValaExpression* call, ValaSourceReference* source_ref | | | |
| erence); | | | |
| ValaElementAccess* vala_code_context_create_element_access (ValaCodeContext | | | |
| * self, ValaExpression* container, ValaSourceReference* source_reference); | | | |
| ValaBaseAccess* vala_code_context_create_base_access (ValaCodeContext* self | | | |
| , ValaSourceReference* source_reference); | | | |
| ValaPostfixExpression* vala_code_context_create_postfix_expression (ValaCod | | | |
| eContext* self, ValaExpression* inner, gboolean increment, ValaSourceRefere | | | |
| nce* source_reference); | | | |
| ValaObjectCreationExpression* vala_code_context_create_object_creation_expr | | | |
| ession (ValaCodeContext* self, ValaMemberAccess* member_name, ValaSourceRef | | | |
| erence* source_reference); | | | |
| ValaSizeofExpression* vala_code_context_create_sizeof_expression (ValaCodeC | | | |
| ontext* self, ValaDataType* type_reference, ValaSourceReference* source_ref | | | |
| erence); | | | |
| ValaTypeofExpression* vala_code_context_create_typeof_expression (ValaCodeC | | | |
| ontext* self, ValaDataType* type_reference, ValaSourceReference* source_ref | | | |
| erence); | | | |
| ValaUnaryExpression* vala_code_context_create_unary_expression (ValaCodeCon | | | |
| text* self, ValaUnaryOperator operator, ValaExpression* inner, ValaSourceRe | | | |
| ference* source_reference); | | | |
| ValaCastExpression* vala_code_context_create_cast_expression (ValaCodeConte | | | |
| xt* self, ValaExpression* inner, ValaDataType* type_reference, ValaSourceRe | | | |
| ference* source_reference, gboolean is_silent_cast); | | | |
| ValaPointerIndirection* vala_code_context_create_pointer_indirection (ValaC | | | |
| odeContext* self, ValaExpression* inner, ValaSourceReference* source_refere | | | |
| nce); | | | |
| ValaAddressofExpression* vala_code_context_create_addressof_expression (Val | | | |
| aCodeContext* self, ValaExpression* inner, ValaSourceReference* source_refe | | | |
| rence); | | | |
| ValaReferenceTransferExpression* vala_code_context_create_reference_transfe | | | |
| r_expression (ValaCodeContext* self, ValaExpression* inner, ValaSourceRefer | | | |
| ence* source_reference); | | | |
| ValaBinaryExpression* vala_code_context_create_binary_expression (ValaCodeC | | | |
| ontext* self, ValaBinaryOperator operator, ValaExpression* left, ValaExpres | | | |
| sion* right, ValaSourceReference* source_reference); | | | |
| ValaTypeCheck* vala_code_context_create_type_check (ValaCodeContext* self, | | | |
| ValaExpression* expression, ValaDataType* type_reference, ValaSourceReferen | | | |
| ce* source_reference); | | | |
| ValaConditionalExpression* vala_code_context_create_conditional_expression | | | |
| (ValaCodeContext* self, ValaExpression* condition, ValaExpression* true_exp | | | |
| ression, ValaExpression* false_expression, ValaSourceReference* source_refe | | | |
| rence); | | | |
| ValaLambdaExpression* vala_code_context_create_lambda_expression (ValaCodeC | | | |
| ontext* self, ValaExpression* expression_body, ValaSourceReference* source_ | | | |
| reference); | | | |
| ValaLambdaExpression* vala_code_context_create_lambda_expression_with_state | | | |
| ment_body (ValaCodeContext* self, ValaBlock* statement_body, ValaSourceRefe | | | |
| rence* source_reference); | | | |
| ValaAssignment* vala_code_context_create_assignment (ValaCodeContext* self, | | | |
| ValaExpression* left, ValaExpression* right, ValaAssignmentOperator operat | | | |
| or, ValaSourceReference* source_reference); | | | |
| char* vala_code_context_get_library (ValaCodeContext* self); | | char* vala_code_context_get_library (ValaCodeContext* self); | |
| void vala_code_context_set_library (ValaCodeContext* self, const char* valu
e); | | void vala_code_context_set_library (ValaCodeContext* self, const char* valu
e); | |
| gboolean vala_code_context_get_memory_management (ValaCodeContext* self); | | gboolean vala_code_context_get_memory_management (ValaCodeContext* self); | |
| void vala_code_context_set_memory_management (ValaCodeContext* self, gboole
an value); | | void vala_code_context_set_memory_management (ValaCodeContext* self, gboole
an value); | |
| gboolean vala_code_context_get_assert (ValaCodeContext* self); | | gboolean vala_code_context_get_assert (ValaCodeContext* self); | |
| void vala_code_context_set_assert (ValaCodeContext* self, gboolean value); | | void vala_code_context_set_assert (ValaCodeContext* self, gboolean value); | |
| gboolean vala_code_context_get_checking (ValaCodeContext* self); | | gboolean vala_code_context_get_checking (ValaCodeContext* self); | |
| void vala_code_context_set_checking (ValaCodeContext* self, gboolean value)
; | | void vala_code_context_set_checking (ValaCodeContext* self, gboolean value)
; | |
| gboolean vala_code_context_get_non_null (ValaCodeContext* self); | | gboolean vala_code_context_get_non_null (ValaCodeContext* self); | |
| void vala_code_context_set_non_null (ValaCodeContext* self, gboolean value)
; | | void vala_code_context_set_non_null (ValaCodeContext* self, gboolean value)
; | |
|
| | | gboolean vala_code_context_get_non_null_experimental (ValaCodeContext* self | |
| | | ); | |
| | | void vala_code_context_set_non_null_experimental (ValaCodeContext* self, gb | |
| | | oolean value); | |
| gboolean vala_code_context_get_ccode_only (ValaCodeContext* self); | | gboolean vala_code_context_get_ccode_only (ValaCodeContext* self); | |
| void vala_code_context_set_ccode_only (ValaCodeContext* self, gboolean valu
e); | | void vala_code_context_set_ccode_only (ValaCodeContext* self, gboolean valu
e); | |
| gboolean vala_code_context_get_compile_only (ValaCodeContext* self); | | gboolean vala_code_context_get_compile_only (ValaCodeContext* self); | |
| void vala_code_context_set_compile_only (ValaCodeContext* self, gboolean va
lue); | | void vala_code_context_set_compile_only (ValaCodeContext* self, gboolean va
lue); | |
| char* vala_code_context_get_output (ValaCodeContext* self); | | char* vala_code_context_get_output (ValaCodeContext* self); | |
| void vala_code_context_set_output (ValaCodeContext* self, const char* value
); | | void vala_code_context_set_output (ValaCodeContext* self, const char* value
); | |
| char* vala_code_context_get_basedir (ValaCodeContext* self); | | char* vala_code_context_get_basedir (ValaCodeContext* self); | |
| void vala_code_context_set_basedir (ValaCodeContext* self, const char* valu
e); | | void vala_code_context_set_basedir (ValaCodeContext* self, const char* valu
e); | |
| char* vala_code_context_get_directory (ValaCodeContext* self); | | char* vala_code_context_get_directory (ValaCodeContext* self); | |
| void vala_code_context_set_directory (ValaCodeContext* self, const char* va
lue); | | void vala_code_context_set_directory (ValaCodeContext* self, const char* va
lue); | |
| | | | |
End of changes. 4 change blocks. |
| 209 lines changed or deleted | | 6 lines changed or added | |
|
| valacodegenerator.h | | valacodegenerator.h | |
| | | | |
| skipping to change at line 65 | | skipping to change at line 65 | |
| ValaCodeBinding* (*create_struct_binding) (ValaCodeGenerator* self,
ValaStruct* node); | | ValaCodeBinding* (*create_struct_binding) (ValaCodeGenerator* self,
ValaStruct* node); | |
| ValaCodeBinding* (*create_interface_binding) (ValaCodeGenerator* sel
f, ValaInterface* node); | | ValaCodeBinding* (*create_interface_binding) (ValaCodeGenerator* sel
f, ValaInterface* node); | |
| ValaCodeBinding* (*create_enum_binding) (ValaCodeGenerator* self, Va
laEnum* node); | | ValaCodeBinding* (*create_enum_binding) (ValaCodeGenerator* self, Va
laEnum* node); | |
| ValaCodeBinding* (*create_enum_value_binding) (ValaCodeGenerator* se
lf, ValaEnumValue* node); | | ValaCodeBinding* (*create_enum_value_binding) (ValaCodeGenerator* se
lf, ValaEnumValue* node); | |
| ValaCodeBinding* (*create_error_domain_binding) (ValaCodeGenerator*
self, ValaErrorDomain* node); | | ValaCodeBinding* (*create_error_domain_binding) (ValaCodeGenerator*
self, ValaErrorDomain* node); | |
| ValaCodeBinding* (*create_error_code_binding) (ValaCodeGenerator* se
lf, ValaErrorCode* node); | | ValaCodeBinding* (*create_error_code_binding) (ValaCodeGenerator* se
lf, ValaErrorCode* node); | |
| ValaCodeBinding* (*create_delegate_binding) (ValaCodeGenerator* self
, ValaDelegate* node); | | ValaCodeBinding* (*create_delegate_binding) (ValaCodeGenerator* self
, ValaDelegate* node); | |
| ValaCodeBinding* (*create_constant_binding) (ValaCodeGenerator* self
, ValaConstant* node); | | ValaCodeBinding* (*create_constant_binding) (ValaCodeGenerator* self
, ValaConstant* node); | |
| ValaCodeBinding* (*create_field_binding) (ValaCodeGenerator* self, V
alaField* node); | | ValaCodeBinding* (*create_field_binding) (ValaCodeGenerator* self, V
alaField* node); | |
| ValaCodeBinding* (*create_method_binding) (ValaCodeGenerator* self,
ValaMethod* node); | | ValaCodeBinding* (*create_method_binding) (ValaCodeGenerator* self,
ValaMethod* node); | |
|
| | | ValaCodeBinding* (*create_dynamic_method_binding) (ValaCodeGenerator
* self, ValaDynamicMethod* node); | |
| ValaCodeBinding* (*create_creation_method_binding) (ValaCodeGenerato
r* self, ValaCreationMethod* node); | | ValaCodeBinding* (*create_creation_method_binding) (ValaCodeGenerato
r* self, ValaCreationMethod* node); | |
| ValaCodeBinding* (*create_formal_parameter_binding) (ValaCodeGenerat
or* self, ValaFormalParameter* node); | | ValaCodeBinding* (*create_formal_parameter_binding) (ValaCodeGenerat
or* self, ValaFormalParameter* node); | |
| ValaCodeBinding* (*create_property_binding) (ValaCodeGenerator* self
, ValaProperty* node); | | ValaCodeBinding* (*create_property_binding) (ValaCodeGenerator* self
, ValaProperty* node); | |
| ValaCodeBinding* (*create_property_accessor_binding) (ValaCodeGenera
tor* self, ValaPropertyAccessor* node); | | ValaCodeBinding* (*create_property_accessor_binding) (ValaCodeGenera
tor* self, ValaPropertyAccessor* node); | |
| ValaCodeBinding* (*create_signal_binding) (ValaCodeGenerator* self,
ValaSignal* node); | | ValaCodeBinding* (*create_signal_binding) (ValaCodeGenerator* self,
ValaSignal* node); | |
|
| | | ValaCodeBinding* (*create_dynamic_signal_binding) (ValaCodeGenerator
* self, ValaDynamicSignal* node); | |
| ValaCodeBinding* (*create_constructor_binding) (ValaCodeGenerator* s
elf, ValaConstructor* node); | | ValaCodeBinding* (*create_constructor_binding) (ValaCodeGenerator* s
elf, ValaConstructor* node); | |
| ValaCodeBinding* (*create_destructor_binding) (ValaCodeGenerator* se
lf, ValaDestructor* node); | | ValaCodeBinding* (*create_destructor_binding) (ValaCodeGenerator* se
lf, ValaDestructor* node); | |
| ValaCodeBinding* (*create_type_parameter_binding) (ValaCodeGenerator
* self, ValaTypeParameter* node); | | ValaCodeBinding* (*create_type_parameter_binding) (ValaCodeGenerator
* self, ValaTypeParameter* node); | |
| ValaCodeBinding* (*create_block_binding) (ValaCodeGenerator* self, V
alaBlock* node); | | ValaCodeBinding* (*create_block_binding) (ValaCodeGenerator* self, V
alaBlock* node); | |
| ValaCodeBinding* (*create_empty_statement_binding) (ValaCodeGenerato
r* self, ValaEmptyStatement* node); | | ValaCodeBinding* (*create_empty_statement_binding) (ValaCodeGenerato
r* self, ValaEmptyStatement* node); | |
| ValaCodeBinding* (*create_declaration_statement_binding) (ValaCodeGe
nerator* self, ValaDeclarationStatement* node); | | ValaCodeBinding* (*create_declaration_statement_binding) (ValaCodeGe
nerator* self, ValaDeclarationStatement* node); | |
|
| ValaCodeBinding* (*create_local_variable_declaration_binding) (ValaC | | ValaCodeBinding* (*create_local_variable_binding) (ValaCodeGenerator | |
| odeGenerator* self, ValaLocalVariableDeclaration* node); | | * self, ValaLocalVariable* node); | |
| ValaCodeBinding* (*create_variable_declarator_binding) (ValaCodeGene | | | |
| rator* self, ValaVariableDeclarator* node); | | | |
| ValaCodeBinding* (*create_initializer_list_binding) (ValaCodeGenerat
or* self, ValaInitializerList* node); | | ValaCodeBinding* (*create_initializer_list_binding) (ValaCodeGenerat
or* self, ValaInitializerList* node); | |
| ValaCodeBinding* (*create_expression_statement_binding) (ValaCodeGen
erator* self, ValaExpressionStatement* node); | | ValaCodeBinding* (*create_expression_statement_binding) (ValaCodeGen
erator* self, ValaExpressionStatement* node); | |
| ValaCodeBinding* (*create_if_statement_binding) (ValaCodeGenerator*
self, ValaIfStatement* node); | | ValaCodeBinding* (*create_if_statement_binding) (ValaCodeGenerator*
self, ValaIfStatement* node); | |
| ValaCodeBinding* (*create_switch_statement_binding) (ValaCodeGenerat
or* self, ValaSwitchStatement* node); | | ValaCodeBinding* (*create_switch_statement_binding) (ValaCodeGenerat
or* self, ValaSwitchStatement* node); | |
| ValaCodeBinding* (*create_switch_section_binding) (ValaCodeGenerator
* self, ValaSwitchSection* node); | | ValaCodeBinding* (*create_switch_section_binding) (ValaCodeGenerator
* self, ValaSwitchSection* node); | |
| ValaCodeBinding* (*create_switch_label_binding) (ValaCodeGenerator*
self, ValaSwitchLabel* node); | | ValaCodeBinding* (*create_switch_label_binding) (ValaCodeGenerator*
self, ValaSwitchLabel* node); | |
| ValaCodeBinding* (*create_while_statement_binding) (ValaCodeGenerato
r* self, ValaWhileStatement* node); | | ValaCodeBinding* (*create_while_statement_binding) (ValaCodeGenerato
r* self, ValaWhileStatement* node); | |
| ValaCodeBinding* (*create_do_statement_binding) (ValaCodeGenerator*
self, ValaDoStatement* node); | | ValaCodeBinding* (*create_do_statement_binding) (ValaCodeGenerator*
self, ValaDoStatement* node); | |
| ValaCodeBinding* (*create_for_statement_binding) (ValaCodeGenerator*
self, ValaForStatement* node); | | ValaCodeBinding* (*create_for_statement_binding) (ValaCodeGenerator*
self, ValaForStatement* node); | |
| ValaCodeBinding* (*create_foreach_statement_binding) (ValaCodeGenera
tor* self, ValaForeachStatement* node); | | ValaCodeBinding* (*create_foreach_statement_binding) (ValaCodeGenera
tor* self, ValaForeachStatement* node); | |
| | | | |
| skipping to change at line 105 | | skipping to change at line 106 | |
| ValaCodeBinding* (*create_delete_statement_binding) (ValaCodeGenerat
or* self, ValaDeleteStatement* node); | | ValaCodeBinding* (*create_delete_statement_binding) (ValaCodeGenerat
or* self, ValaDeleteStatement* node); | |
| ValaCodeBinding* (*create_array_creation_expression_binding) (ValaCo
deGenerator* self, ValaArrayCreationExpression* node); | | ValaCodeBinding* (*create_array_creation_expression_binding) (ValaCo
deGenerator* self, ValaArrayCreationExpression* node); | |
| ValaCodeBinding* (*create_boolean_literal_binding) (ValaCodeGenerato
r* self, ValaBooleanLiteral* node); | | ValaCodeBinding* (*create_boolean_literal_binding) (ValaCodeGenerato
r* self, ValaBooleanLiteral* node); | |
| ValaCodeBinding* (*create_character_literal_binding) (ValaCodeGenera
tor* self, ValaCharacterLiteral* node); | | ValaCodeBinding* (*create_character_literal_binding) (ValaCodeGenera
tor* self, ValaCharacterLiteral* node); | |
| ValaCodeBinding* (*create_integer_literal_binding) (ValaCodeGenerato
r* self, ValaIntegerLiteral* node); | | ValaCodeBinding* (*create_integer_literal_binding) (ValaCodeGenerato
r* self, ValaIntegerLiteral* node); | |
| ValaCodeBinding* (*create_real_literal_binding) (ValaCodeGenerator*
self, ValaRealLiteral* node); | | ValaCodeBinding* (*create_real_literal_binding) (ValaCodeGenerator*
self, ValaRealLiteral* node); | |
| ValaCodeBinding* (*create_string_literal_binding) (ValaCodeGenerator
* self, ValaStringLiteral* node); | | ValaCodeBinding* (*create_string_literal_binding) (ValaCodeGenerator
* self, ValaStringLiteral* node); | |
| ValaCodeBinding* (*create_null_literal_binding) (ValaCodeGenerator*
self, ValaNullLiteral* node); | | ValaCodeBinding* (*create_null_literal_binding) (ValaCodeGenerator*
self, ValaNullLiteral* node); | |
| ValaCodeBinding* (*create_parenthesized_expression_binding) (ValaCod
eGenerator* self, ValaParenthesizedExpression* node); | | ValaCodeBinding* (*create_parenthesized_expression_binding) (ValaCod
eGenerator* self, ValaParenthesizedExpression* node); | |
| ValaCodeBinding* (*create_member_access_binding) (ValaCodeGenerator*
self, ValaMemberAccess* node); | | ValaCodeBinding* (*create_member_access_binding) (ValaCodeGenerator*
self, ValaMemberAccess* node); | |
|
| ValaCodeBinding* (*create_member_access_simple_binding) (ValaCodeGen
erator* self, ValaMemberAccess* node); | | | |
| ValaCodeBinding* (*create_invocation_expression_binding) (ValaCodeGe
nerator* self, ValaInvocationExpression* node); | | ValaCodeBinding* (*create_invocation_expression_binding) (ValaCodeGe
nerator* self, ValaInvocationExpression* node); | |
| ValaCodeBinding* (*create_element_access_binding) (ValaCodeGenerator
* self, ValaElementAccess* node); | | ValaCodeBinding* (*create_element_access_binding) (ValaCodeGenerator
* self, ValaElementAccess* node); | |
| ValaCodeBinding* (*create_base_access_binding) (ValaCodeGenerator* s
elf, ValaBaseAccess* node); | | ValaCodeBinding* (*create_base_access_binding) (ValaCodeGenerator* s
elf, ValaBaseAccess* node); | |
| ValaCodeBinding* (*create_postfix_expression_binding) (ValaCodeGener
ator* self, ValaPostfixExpression* node); | | ValaCodeBinding* (*create_postfix_expression_binding) (ValaCodeGener
ator* self, ValaPostfixExpression* node); | |
| ValaCodeBinding* (*create_object_creation_expression_binding) (ValaC
odeGenerator* self, ValaObjectCreationExpression* node); | | ValaCodeBinding* (*create_object_creation_expression_binding) (ValaC
odeGenerator* self, ValaObjectCreationExpression* node); | |
| ValaCodeBinding* (*create_sizeof_expression_binding) (ValaCodeGenera
tor* self, ValaSizeofExpression* node); | | ValaCodeBinding* (*create_sizeof_expression_binding) (ValaCodeGenera
tor* self, ValaSizeofExpression* node); | |
| ValaCodeBinding* (*create_typeof_expression_binding) (ValaCodeGenera
tor* self, ValaTypeofExpression* node); | | ValaCodeBinding* (*create_typeof_expression_binding) (ValaCodeGenera
tor* self, ValaTypeofExpression* node); | |
| ValaCodeBinding* (*create_unary_expression_binding) (ValaCodeGenerat
or* self, ValaUnaryExpression* node); | | ValaCodeBinding* (*create_unary_expression_binding) (ValaCodeGenerat
or* self, ValaUnaryExpression* node); | |
| ValaCodeBinding* (*create_cast_expression_binding) (ValaCodeGenerato
r* self, ValaCastExpression* node); | | ValaCodeBinding* (*create_cast_expression_binding) (ValaCodeGenerato
r* self, ValaCastExpression* node); | |
| ValaCodeBinding* (*create_pointer_indirection_binding) (ValaCodeGene
rator* self, ValaPointerIndirection* node); | | ValaCodeBinding* (*create_pointer_indirection_binding) (ValaCodeGene
rator* self, ValaPointerIndirection* node); | |
| ValaCodeBinding* (*create_addressof_expression_binding) (ValaCodeGen
erator* self, ValaAddressofExpression* node); | | ValaCodeBinding* (*create_addressof_expression_binding) (ValaCodeGen
erator* self, ValaAddressofExpression* node); | |
| ValaCodeBinding* (*create_reference_transfer_expression_binding) (Va
laCodeGenerator* self, ValaReferenceTransferExpression* node); | | ValaCodeBinding* (*create_reference_transfer_expression_binding) (Va
laCodeGenerator* self, ValaReferenceTransferExpression* node); | |
| ValaCodeBinding* (*create_binary_expression_binding) (ValaCodeGenera
tor* self, ValaBinaryExpression* node); | | ValaCodeBinding* (*create_binary_expression_binding) (ValaCodeGenera
tor* self, ValaBinaryExpression* node); | |
| ValaCodeBinding* (*create_type_check_binding) (ValaCodeGenerator* se
lf, ValaTypeCheck* node); | | ValaCodeBinding* (*create_type_check_binding) (ValaCodeGenerator* se
lf, ValaTypeCheck* node); | |
| ValaCodeBinding* (*create_conditional_expression_binding) (ValaCodeG
enerator* self, ValaConditionalExpression* node); | | ValaCodeBinding* (*create_conditional_expression_binding) (ValaCodeG
enerator* self, ValaConditionalExpression* node); | |
| ValaCodeBinding* (*create_lambda_expression_binding) (ValaCodeGenera
tor* self, ValaLambdaExpression* node); | | ValaCodeBinding* (*create_lambda_expression_binding) (ValaCodeGenera
tor* self, ValaLambdaExpression* node); | |
|
| ValaCodeBinding* (*create_lambda_expression_with_statement_body_bind
ing) (ValaCodeGenerator* self, ValaLambdaExpression* node); | | | |
| ValaCodeBinding* (*create_assignment_binding) (ValaCodeGenerator* se
lf, ValaAssignment* node); | | ValaCodeBinding* (*create_assignment_binding) (ValaCodeGenerator* se
lf, ValaAssignment* node); | |
| }; | | }; | |
| | | | |
| void vala_code_generator_emit (ValaCodeGenerator* self, ValaCodeContext* co
ntext); | | void vala_code_generator_emit (ValaCodeGenerator* self, ValaCodeContext* co
ntext); | |
| ValaCodeBinding* vala_code_generator_create_namespace_binding (ValaCodeGene
rator* self, ValaNamespace* node); | | ValaCodeBinding* vala_code_generator_create_namespace_binding (ValaCodeGene
rator* self, ValaNamespace* node); | |
| ValaCodeBinding* vala_code_generator_create_class_binding (ValaCodeGenerato
r* self, ValaClass* node); | | ValaCodeBinding* vala_code_generator_create_class_binding (ValaCodeGenerato
r* self, ValaClass* node); | |
| ValaCodeBinding* vala_code_generator_create_struct_binding (ValaCodeGenerat
or* self, ValaStruct* node); | | ValaCodeBinding* vala_code_generator_create_struct_binding (ValaCodeGenerat
or* self, ValaStruct* node); | |
| ValaCodeBinding* vala_code_generator_create_interface_binding (ValaCodeGene
rator* self, ValaInterface* node); | | ValaCodeBinding* vala_code_generator_create_interface_binding (ValaCodeGene
rator* self, ValaInterface* node); | |
| ValaCodeBinding* vala_code_generator_create_enum_binding (ValaCodeGenerator
* self, ValaEnum* node); | | ValaCodeBinding* vala_code_generator_create_enum_binding (ValaCodeGenerator
* self, ValaEnum* node); | |
| ValaCodeBinding* vala_code_generator_create_enum_value_binding (ValaCodeGen
erator* self, ValaEnumValue* node); | | ValaCodeBinding* vala_code_generator_create_enum_value_binding (ValaCodeGen
erator* self, ValaEnumValue* node); | |
| ValaCodeBinding* vala_code_generator_create_error_domain_binding (ValaCodeG
enerator* self, ValaErrorDomain* node); | | ValaCodeBinding* vala_code_generator_create_error_domain_binding (ValaCodeG
enerator* self, ValaErrorDomain* node); | |
| ValaCodeBinding* vala_code_generator_create_error_code_binding (ValaCodeGen
erator* self, ValaErrorCode* node); | | ValaCodeBinding* vala_code_generator_create_error_code_binding (ValaCodeGen
erator* self, ValaErrorCode* node); | |
| ValaCodeBinding* vala_code_generator_create_delegate_binding (ValaCodeGener
ator* self, ValaDelegate* node); | | ValaCodeBinding* vala_code_generator_create_delegate_binding (ValaCodeGener
ator* self, ValaDelegate* node); | |
| ValaCodeBinding* vala_code_generator_create_constant_binding (ValaCodeGener
ator* self, ValaConstant* node); | | ValaCodeBinding* vala_code_generator_create_constant_binding (ValaCodeGener
ator* self, ValaConstant* node); | |
| ValaCodeBinding* vala_code_generator_create_field_binding (ValaCodeGenerato
r* self, ValaField* node); | | ValaCodeBinding* vala_code_generator_create_field_binding (ValaCodeGenerato
r* self, ValaField* node); | |
| ValaCodeBinding* vala_code_generator_create_method_binding (ValaCodeGenerat
or* self, ValaMethod* node); | | ValaCodeBinding* vala_code_generator_create_method_binding (ValaCodeGenerat
or* self, ValaMethod* node); | |
|
| | | ValaCodeBinding* vala_code_generator_create_dynamic_method_binding (ValaCod
eGenerator* self, ValaDynamicMethod* node); | |
| ValaCodeBinding* vala_code_generator_create_creation_method_binding (ValaCo
deGenerator* self, ValaCreationMethod* node); | | ValaCodeBinding* vala_code_generator_create_creation_method_binding (ValaCo
deGenerator* self, ValaCreationMethod* node); | |
| ValaCodeBinding* vala_code_generator_create_formal_parameter_binding (ValaC
odeGenerator* self, ValaFormalParameter* node); | | ValaCodeBinding* vala_code_generator_create_formal_parameter_binding (ValaC
odeGenerator* self, ValaFormalParameter* node); | |
| ValaCodeBinding* vala_code_generator_create_property_binding (ValaCodeGener
ator* self, ValaProperty* node); | | ValaCodeBinding* vala_code_generator_create_property_binding (ValaCodeGener
ator* self, ValaProperty* node); | |
| ValaCodeBinding* vala_code_generator_create_property_accessor_binding (Vala
CodeGenerator* self, ValaPropertyAccessor* node); | | ValaCodeBinding* vala_code_generator_create_property_accessor_binding (Vala
CodeGenerator* self, ValaPropertyAccessor* node); | |
| ValaCodeBinding* vala_code_generator_create_signal_binding (ValaCodeGenerat
or* self, ValaSignal* node); | | ValaCodeBinding* vala_code_generator_create_signal_binding (ValaCodeGenerat
or* self, ValaSignal* node); | |
|
| | | ValaCodeBinding* vala_code_generator_create_dynamic_signal_binding (ValaCod
eGenerator* self, ValaDynamicSignal* node); | |
| ValaCodeBinding* vala_code_generator_create_constructor_binding (ValaCodeGe
nerator* self, ValaConstructor* node); | | ValaCodeBinding* vala_code_generator_create_constructor_binding (ValaCodeGe
nerator* self, ValaConstructor* node); | |
| ValaCodeBinding* vala_code_generator_create_destructor_binding (ValaCodeGen
erator* self, ValaDestructor* node); | | ValaCodeBinding* vala_code_generator_create_destructor_binding (ValaCodeGen
erator* self, ValaDestructor* node); | |
| ValaCodeBinding* vala_code_generator_create_type_parameter_binding (ValaCod
eGenerator* self, ValaTypeParameter* node); | | ValaCodeBinding* vala_code_generator_create_type_parameter_binding (ValaCod
eGenerator* self, ValaTypeParameter* node); | |
| ValaCodeBinding* vala_code_generator_create_block_binding (ValaCodeGenerato
r* self, ValaBlock* node); | | ValaCodeBinding* vala_code_generator_create_block_binding (ValaCodeGenerato
r* self, ValaBlock* node); | |
| ValaCodeBinding* vala_code_generator_create_empty_statement_binding (ValaCo
deGenerator* self, ValaEmptyStatement* node); | | ValaCodeBinding* vala_code_generator_create_empty_statement_binding (ValaCo
deGenerator* self, ValaEmptyStatement* node); | |
| ValaCodeBinding* vala_code_generator_create_declaration_statement_binding (
ValaCodeGenerator* self, ValaDeclarationStatement* node); | | ValaCodeBinding* vala_code_generator_create_declaration_statement_binding (
ValaCodeGenerator* self, ValaDeclarationStatement* node); | |
|
| ValaCodeBinding* vala_code_generator_create_local_variable_declaration_bind | | ValaCodeBinding* vala_code_generator_create_local_variable_binding (ValaCod | |
| ing (ValaCodeGenerator* self, ValaLocalVariableDeclaration* node); | | eGenerator* self, ValaLocalVariable* node); | |
| ValaCodeBinding* vala_code_generator_create_variable_declarator_binding (Va | | | |
| laCodeGenerator* self, ValaVariableDeclarator* node); | | | |
| ValaCodeBinding* vala_code_generator_create_initializer_list_binding (ValaC
odeGenerator* self, ValaInitializerList* node); | | ValaCodeBinding* vala_code_generator_create_initializer_list_binding (ValaC
odeGenerator* self, ValaInitializerList* node); | |
| ValaCodeBinding* vala_code_generator_create_expression_statement_binding (V
alaCodeGenerator* self, ValaExpressionStatement* node); | | ValaCodeBinding* vala_code_generator_create_expression_statement_binding (V
alaCodeGenerator* self, ValaExpressionStatement* node); | |
| ValaCodeBinding* vala_code_generator_create_if_statement_binding (ValaCodeG
enerator* self, ValaIfStatement* node); | | ValaCodeBinding* vala_code_generator_create_if_statement_binding (ValaCodeG
enerator* self, ValaIfStatement* node); | |
| ValaCodeBinding* vala_code_generator_create_switch_statement_binding (ValaC
odeGenerator* self, ValaSwitchStatement* node); | | ValaCodeBinding* vala_code_generator_create_switch_statement_binding (ValaC
odeGenerator* self, ValaSwitchStatement* node); | |
| ValaCodeBinding* vala_code_generator_create_switch_section_binding (ValaCod
eGenerator* self, ValaSwitchSection* node); | | ValaCodeBinding* vala_code_generator_create_switch_section_binding (ValaCod
eGenerator* self, ValaSwitchSection* node); | |
| ValaCodeBinding* vala_code_generator_create_switch_label_binding (ValaCodeG
enerator* self, ValaSwitchLabel* node); | | ValaCodeBinding* vala_code_generator_create_switch_label_binding (ValaCodeG
enerator* self, ValaSwitchLabel* node); | |
| ValaCodeBinding* vala_code_generator_create_while_statement_binding (ValaCo
deGenerator* self, ValaWhileStatement* node); | | ValaCodeBinding* vala_code_generator_create_while_statement_binding (ValaCo
deGenerator* self, ValaWhileStatement* node); | |
| ValaCodeBinding* vala_code_generator_create_do_statement_binding (ValaCodeG
enerator* self, ValaDoStatement* node); | | ValaCodeBinding* vala_code_generator_create_do_statement_binding (ValaCodeG
enerator* self, ValaDoStatement* node); | |
| ValaCodeBinding* vala_code_generator_create_for_statement_binding (ValaCode
Generator* self, ValaForStatement* node); | | ValaCodeBinding* vala_code_generator_create_for_statement_binding (ValaCode
Generator* self, ValaForStatement* node); | |
| ValaCodeBinding* vala_code_generator_create_foreach_statement_binding (Vala
CodeGenerator* self, ValaForeachStatement* node); | | ValaCodeBinding* vala_code_generator_create_foreach_statement_binding (Vala
CodeGenerator* self, ValaForeachStatement* node); | |
| | | | |
| skipping to change at line 179 | | skipping to change at line 179 | |
| ValaCodeBinding* vala_code_generator_create_delete_statement_binding (ValaC
odeGenerator* self, ValaDeleteStatement* node); | | ValaCodeBinding* vala_code_generator_create_delete_statement_binding (ValaC
odeGenerator* self, ValaDeleteStatement* node); | |
| ValaCodeBinding* vala_code_generator_create_array_creation_expression_bindi
ng (ValaCodeGenerator* self, ValaArrayCreationExpression* node); | | ValaCodeBinding* vala_code_generator_create_array_creation_expression_bindi
ng (ValaCodeGenerator* self, ValaArrayCreationExpression* node); | |
| ValaCodeBinding* vala_code_generator_create_boolean_literal_binding (ValaCo
deGenerator* self, ValaBooleanLiteral* node); | | ValaCodeBinding* vala_code_generator_create_boolean_literal_binding (ValaCo
deGenerator* self, ValaBooleanLiteral* node); | |
| ValaCodeBinding* vala_code_generator_create_character_literal_binding (Vala
CodeGenerator* self, ValaCharacterLiteral* node); | | ValaCodeBinding* vala_code_generator_create_character_literal_binding (Vala
CodeGenerator* self, ValaCharacterLiteral* node); | |
| ValaCodeBinding* vala_code_generator_create_integer_literal_binding (ValaCo
deGenerator* self, ValaIntegerLiteral* node); | | ValaCodeBinding* vala_code_generator_create_integer_literal_binding (ValaCo
deGenerator* self, ValaIntegerLiteral* node); | |
| ValaCodeBinding* vala_code_generator_create_real_literal_binding (ValaCodeG
enerator* self, ValaRealLiteral* node); | | ValaCodeBinding* vala_code_generator_create_real_literal_binding (ValaCodeG
enerator* self, ValaRealLiteral* node); | |
| ValaCodeBinding* vala_code_generator_create_string_literal_binding (ValaCod
eGenerator* self, ValaStringLiteral* node); | | ValaCodeBinding* vala_code_generator_create_string_literal_binding (ValaCod
eGenerator* self, ValaStringLiteral* node); | |
| ValaCodeBinding* vala_code_generator_create_null_literal_binding (ValaCodeG
enerator* self, ValaNullLiteral* node); | | ValaCodeBinding* vala_code_generator_create_null_literal_binding (ValaCodeG
enerator* self, ValaNullLiteral* node); | |
| ValaCodeBinding* vala_code_generator_create_parenthesized_expression_bindin
g (ValaCodeGenerator* self, ValaParenthesizedExpression* node); | | ValaCodeBinding* vala_code_generator_create_parenthesized_expression_bindin
g (ValaCodeGenerator* self, ValaParenthesizedExpression* node); | |
| ValaCodeBinding* vala_code_generator_create_member_access_binding (ValaCode
Generator* self, ValaMemberAccess* node); | | ValaCodeBinding* vala_code_generator_create_member_access_binding (ValaCode
Generator* self, ValaMemberAccess* node); | |
|
| ValaCodeBinding* vala_code_generator_create_member_access_simple_binding (V
alaCodeGenerator* self, ValaMemberAccess* node); | | | |
| ValaCodeBinding* vala_code_generator_create_invocation_expression_binding (
ValaCodeGenerator* self, ValaInvocationExpression* node); | | ValaCodeBinding* vala_code_generator_create_invocation_expression_binding (
ValaCodeGenerator* self, ValaInvocationExpression* node); | |
| ValaCodeBinding* vala_code_generator_create_element_access_binding (ValaCod
eGenerator* self, ValaElementAccess* node); | | ValaCodeBinding* vala_code_generator_create_element_access_binding (ValaCod
eGenerator* self, ValaElementAccess* node); | |
| ValaCodeBinding* vala_code_generator_create_base_access_binding (ValaCodeGe
nerator* self, ValaBaseAccess* node); | | ValaCodeBinding* vala_code_generator_create_base_access_binding (ValaCodeGe
nerator* self, ValaBaseAccess* node); | |
| ValaCodeBinding* vala_code_generator_create_postfix_expression_binding (Val
aCodeGenerator* self, ValaPostfixExpression* node); | | ValaCodeBinding* vala_code_generator_create_postfix_expression_binding (Val
aCodeGenerator* self, ValaPostfixExpression* node); | |
| ValaCodeBinding* vala_code_generator_create_object_creation_expression_bind
ing (ValaCodeGenerator* self, ValaObjectCreationExpression* node); | | ValaCodeBinding* vala_code_generator_create_object_creation_expression_bind
ing (ValaCodeGenerator* self, ValaObjectCreationExpression* node); | |
| ValaCodeBinding* vala_code_generator_create_sizeof_expression_binding (Vala
CodeGenerator* self, ValaSizeofExpression* node); | | ValaCodeBinding* vala_code_generator_create_sizeof_expression_binding (Vala
CodeGenerator* self, ValaSizeofExpression* node); | |
| ValaCodeBinding* vala_code_generator_create_typeof_expression_binding (Vala
CodeGenerator* self, ValaTypeofExpression* node); | | ValaCodeBinding* vala_code_generator_create_typeof_expression_binding (Vala
CodeGenerator* self, ValaTypeofExpression* node); | |
| ValaCodeBinding* vala_code_generator_create_unary_expression_binding (ValaC
odeGenerator* self, ValaUnaryExpression* node); | | ValaCodeBinding* vala_code_generator_create_unary_expression_binding (ValaC
odeGenerator* self, ValaUnaryExpression* node); | |
| ValaCodeBinding* vala_code_generator_create_cast_expression_binding (ValaCo
deGenerator* self, ValaCastExpression* node); | | ValaCodeBinding* vala_code_generator_create_cast_expression_binding (ValaCo
deGenerator* self, ValaCastExpression* node); | |
| ValaCodeBinding* vala_code_generator_create_pointer_indirection_binding (Va
laCodeGenerator* self, ValaPointerIndirection* node); | | ValaCodeBinding* vala_code_generator_create_pointer_indirection_binding (Va
laCodeGenerator* self, ValaPointerIndirection* node); | |
| ValaCodeBinding* vala_code_generator_create_addressof_expression_binding (V
alaCodeGenerator* self, ValaAddressofExpression* node); | | ValaCodeBinding* vala_code_generator_create_addressof_expression_binding (V
alaCodeGenerator* self, ValaAddressofExpression* node); | |
| ValaCodeBinding* vala_code_generator_create_reference_transfer_expression_b
inding (ValaCodeGenerator* self, ValaReferenceTransferExpression* node); | | ValaCodeBinding* vala_code_generator_create_reference_transfer_expression_b
inding (ValaCodeGenerator* self, ValaReferenceTransferExpression* node); | |
| ValaCodeBinding* vala_code_generator_create_binary_expression_binding (Vala
CodeGenerator* self, ValaBinaryExpression* node); | | ValaCodeBinding* vala_code_generator_create_binary_expression_binding (Vala
CodeGenerator* self, ValaBinaryExpression* node); | |
| ValaCodeBinding* vala_code_generator_create_type_check_binding (ValaCodeGen
erator* self, ValaTypeCheck* node); | | ValaCodeBinding* vala_code_generator_create_type_check_binding (ValaCodeGen
erator* self, ValaTypeCheck* node); | |
| ValaCodeBinding* vala_code_generator_create_conditional_expression_binding
(ValaCodeGenerator* self, ValaConditionalExpression* node); | | ValaCodeBinding* vala_code_generator_create_conditional_expression_binding
(ValaCodeGenerator* self, ValaConditionalExpression* node); | |
| ValaCodeBinding* vala_code_generator_create_lambda_expression_binding (Vala
CodeGenerator* self, ValaLambdaExpression* node); | | ValaCodeBinding* vala_code_generator_create_lambda_expression_binding (Vala
CodeGenerator* self, ValaLambdaExpression* node); | |
|
| ValaCodeBinding* vala_code_generator_create_lambda_expression_with_statemen
t_body_binding (ValaCodeGenerator* self, ValaLambdaExpression* node); | | | |
| ValaCodeBinding* vala_code_generator_create_assignment_binding (ValaCodeGen
erator* self, ValaAssignment* node); | | ValaCodeBinding* vala_code_generator_create_assignment_binding (ValaCodeGen
erator* self, ValaAssignment* node); | |
| ValaCodeGenerator* vala_code_generator_new (void); | | ValaCodeGenerator* vala_code_generator_new (void); | |
| GType vala_code_generator_get_type (void); | | GType vala_code_generator_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 10 change blocks. |
| 12 lines changed or deleted | | 8 lines changed or added | |
|
| valacodenode.h | | valacodenode.h | |
| | | | |
| skipping to change at line 47 | | skipping to change at line 47 | |
| typedef struct _ValaExpression ValaExpression; | | typedef struct _ValaExpression ValaExpression; | |
| typedef struct _ValaExpressionClass ValaExpressionClass; | | typedef struct _ValaExpressionClass ValaExpressionClass; | |
| typedef struct _ValaCodeNode ValaCodeNode; | | typedef struct _ValaCodeNode ValaCodeNode; | |
| typedef struct _ValaCodeNodeClass ValaCodeNodeClass; | | typedef struct _ValaCodeNodeClass ValaCodeNodeClass; | |
| typedef struct _ValaCodeVisitor ValaCodeVisitor; | | typedef struct _ValaCodeVisitor ValaCodeVisitor; | |
| typedef struct _ValaCodeVisitorClass ValaCodeVisitorClass; | | typedef struct _ValaCodeVisitorClass ValaCodeVisitorClass; | |
| typedef struct _ValaSourceFile ValaSourceFile; | | typedef struct _ValaSourceFile ValaSourceFile; | |
| typedef struct _ValaSourceFileClass ValaSourceFileClass; | | typedef struct _ValaSourceFileClass ValaSourceFileClass; | |
| typedef struct _ValaCodeContext ValaCodeContext; | | typedef struct _ValaCodeContext ValaCodeContext; | |
| typedef struct _ValaCodeContextClass ValaCodeContextClass; | | typedef struct _ValaCodeContextClass ValaCodeContextClass; | |
|
| typedef struct _ValaNamespace ValaNamespace; | | | |
| typedef struct _ValaNamespaceClass ValaNamespaceClass; | | | |
| typedef struct _ValaSymbol ValaSymbol; | | typedef struct _ValaSymbol ValaSymbol; | |
| typedef struct _ValaSymbolClass ValaSymbolClass; | | typedef struct _ValaSymbolClass ValaSymbolClass; | |
| typedef struct _ValaScope ValaScope; | | typedef struct _ValaScope ValaScope; | |
| typedef struct _ValaScopeClass ValaScopeClass; | | typedef struct _ValaScopeClass ValaScopeClass; | |
|
| typedef struct _ValaSourceReference ValaSourceReference; | | typedef struct _ValaMethod ValaMethod; | |
| typedef struct _ValaSourceReferenceClass ValaSourceReferenceClass; | | typedef struct _ValaMethodClass ValaMethodClass; | |
| typedef struct _ValaClass ValaClass; | | typedef struct _ValaMember ValaMember; | |
| typedef struct _ValaClassClass ValaClassClass; | | typedef struct _ValaMemberClass ValaMemberClass; | |
| typedef struct _ValaDataType ValaDataType; | | typedef struct _ValaDataType ValaDataType; | |
| typedef struct _ValaDataTypeClass ValaDataTypeClass; | | typedef struct _ValaDataTypeClass ValaDataTypeClass; | |
| typedef struct _ValaTypeParameter ValaTypeParameter; | | typedef struct _ValaTypeParameter ValaTypeParameter; | |
| typedef struct _ValaTypeParameterClass ValaTypeParameterClass; | | typedef struct _ValaTypeParameterClass ValaTypeParameterClass; | |
|
| | | typedef struct _ValaSourceReference ValaSourceReference; | |
| | | typedef struct _ValaSourceReferenceClass ValaSourceReferenceClass; | |
| | | typedef struct _ValaFormalParameter ValaFormalParameter; | |
| | | typedef struct _ValaFormalParameterClass ValaFormalParameterClass; | |
| | | typedef struct _ValaCodeGenerator ValaCodeGenerator; | |
| | | typedef struct _ValaCodeGeneratorClass ValaCodeGeneratorClass; | |
| | | typedef struct _ValaNamespace ValaNamespace; | |
| | | typedef struct _ValaNamespaceClass ValaNamespaceClass; | |
| | | typedef struct _ValaClass ValaClass; | |
| | | typedef struct _ValaClassClass ValaClassClass; | |
| typedef struct _ValaConstant ValaConstant; | | typedef struct _ValaConstant ValaConstant; | |
| typedef struct _ValaConstantClass ValaConstantClass; | | typedef struct _ValaConstantClass ValaConstantClass; | |
|
| typedef struct _ValaMember ValaMember; | | | |
| typedef struct _ValaMemberClass ValaMemberClass; | | | |
| typedef struct _ValaField ValaField; | | typedef struct _ValaField ValaField; | |
| typedef struct _ValaFieldClass ValaFieldClass; | | typedef struct _ValaFieldClass ValaFieldClass; | |
|
| typedef struct _ValaMethod ValaMethod; | | typedef struct _ValaProperty ValaProperty; | |
| typedef struct _ValaMethodClass ValaMethodClass; | | typedef struct _ValaPropertyClass ValaPropertyClass; | |
| typedef struct _ValaFormalParameter ValaFormalParameter; | | typedef struct _ValaPropertyAccessor ValaPropertyAccessor; | |
| typedef struct _ValaFormalParameterClass ValaFormalParameterClass; | | typedef struct _ValaPropertyAccessorClass ValaPropertyAccessorClass; | |
| typedef struct _ValaBlock ValaBlock; | | typedef struct _ValaBlock ValaBlock; | |
| typedef struct _ValaBlockClass ValaBlockClass; | | typedef struct _ValaBlockClass ValaBlockClass; | |
| typedef struct _ValaStatement ValaStatement; | | typedef struct _ValaStatement ValaStatement; | |
| typedef struct _ValaStatementIface ValaStatementIface; | | typedef struct _ValaStatementIface ValaStatementIface; | |
|
| typedef struct _ValaVariableDeclarator ValaVariableDeclarator; | | typedef struct _ValaLocalVariable ValaLocalVariable; | |
| typedef struct _ValaVariableDeclaratorClass ValaVariableDeclaratorClass; | | typedef struct _ValaLocalVariableClass ValaLocalVariableClass; | |
| typedef struct _ValaBasicBlock ValaBasicBlock; | | typedef struct _ValaBasicBlock ValaBasicBlock; | |
| typedef struct _ValaBasicBlockClass ValaBasicBlockClass; | | typedef struct _ValaBasicBlockClass ValaBasicBlockClass; | |
|
| typedef struct _ValaProperty ValaProperty; | | | |
| typedef struct _ValaPropertyClass ValaPropertyClass; | | | |
| typedef struct _ValaPropertyAccessor ValaPropertyAccessor; | | | |
| typedef struct _ValaPropertyAccessorClass ValaPropertyAccessorClass; | | | |
| typedef struct _ValaSignal ValaSignal; | | typedef struct _ValaSignal ValaSignal; | |
| typedef struct _ValaSignalClass ValaSignalClass; | | typedef struct _ValaSignalClass ValaSignalClass; | |
| typedef struct _ValaDelegate ValaDelegate; | | typedef struct _ValaDelegate ValaDelegate; | |
| typedef struct _ValaDelegateClass ValaDelegateClass; | | typedef struct _ValaDelegateClass ValaDelegateClass; | |
| typedef struct _ValaStruct ValaStruct; | | typedef struct _ValaStruct ValaStruct; | |
| typedef struct _ValaStructClass ValaStructClass; | | typedef struct _ValaStructClass ValaStructClass; | |
| typedef struct _ValaEnum ValaEnum; | | typedef struct _ValaEnum ValaEnum; | |
| typedef struct _ValaEnumClass ValaEnumClass; | | typedef struct _ValaEnumClass ValaEnumClass; | |
| typedef struct _ValaEnumValue ValaEnumValue; | | typedef struct _ValaEnumValue ValaEnumValue; | |
| typedef struct _ValaEnumValueClass ValaEnumValueClass; | | typedef struct _ValaEnumValueClass ValaEnumValueClass; | |
| typedef struct _ValaConstructor ValaConstructor; | | typedef struct _ValaConstructor ValaConstructor; | |
| typedef struct _ValaConstructorClass ValaConstructorClass; | | typedef struct _ValaConstructorClass ValaConstructorClass; | |
| typedef struct _ValaDestructor ValaDestructor; | | typedef struct _ValaDestructor ValaDestructor; | |
| typedef struct _ValaDestructorClass ValaDestructorClass; | | typedef struct _ValaDestructorClass ValaDestructorClass; | |
| typedef struct _ValaInterface ValaInterface; | | typedef struct _ValaInterface ValaInterface; | |
| typedef struct _ValaInterfaceClass ValaInterfaceClass; | | typedef struct _ValaInterfaceClass ValaInterfaceClass; | |
| typedef struct _ValaErrorDomain ValaErrorDomain; | | typedef struct _ValaErrorDomain ValaErrorDomain; | |
| typedef struct _ValaErrorDomainClass ValaErrorDomainClass; | | typedef struct _ValaErrorDomainClass ValaErrorDomainClass; | |
| typedef struct _ValaErrorCode ValaErrorCode; | | typedef struct _ValaErrorCode ValaErrorCode; | |
| typedef struct _ValaErrorCodeClass ValaErrorCodeClass; | | typedef struct _ValaErrorCodeClass ValaErrorCodeClass; | |
|
| | | typedef struct _ValaDynamicMethod ValaDynamicMethod; | |
| | | typedef struct _ValaDynamicMethodClass ValaDynamicMethodClass; | |
| | | typedef struct _ValaInvocationExpression ValaInvocationExpression; | |
| | | typedef struct _ValaInvocationExpressionClass ValaInvocationExpressionClass | |
| | | ; | |
| typedef struct _ValaCreationMethod ValaCreationMethod; | | typedef struct _ValaCreationMethod ValaCreationMethod; | |
| typedef struct _ValaCreationMethodClass ValaCreationMethodClass; | | typedef struct _ValaCreationMethodClass ValaCreationMethodClass; | |
|
| | | typedef struct _ValaDynamicSignal ValaDynamicSignal; | |
| | | typedef struct _ValaDynamicSignalClass ValaDynamicSignalClass; | |
| typedef struct _ValaEmptyStatement ValaEmptyStatement; | | typedef struct _ValaEmptyStatement ValaEmptyStatement; | |
| typedef struct _ValaEmptyStatementClass ValaEmptyStatementClass; | | typedef struct _ValaEmptyStatementClass ValaEmptyStatementClass; | |
| typedef struct _ValaDeclarationStatement ValaDeclarationStatement; | | typedef struct _ValaDeclarationStatement ValaDeclarationStatement; | |
| typedef struct _ValaDeclarationStatementClass ValaDeclarationStatementClass
; | | typedef struct _ValaDeclarationStatementClass ValaDeclarationStatementClass
; | |
|
| typedef struct _ValaLocalVariableDeclaration ValaLocalVariableDeclaration; | | | |
| typedef struct _ValaLocalVariableDeclarationClass ValaLocalVariableDeclarat | | | |
| ionClass; | | | |
| typedef struct _ValaInitializerList ValaInitializerList; | | typedef struct _ValaInitializerList ValaInitializerList; | |
| typedef struct _ValaInitializerListClass ValaInitializerListClass; | | typedef struct _ValaInitializerListClass ValaInitializerListClass; | |
| typedef struct _ValaExpressionStatement ValaExpressionStatement; | | typedef struct _ValaExpressionStatement ValaExpressionStatement; | |
| typedef struct _ValaExpressionStatementClass ValaExpressionStatementClass; | | typedef struct _ValaExpressionStatementClass ValaExpressionStatementClass; | |
| typedef struct _ValaIfStatement ValaIfStatement; | | typedef struct _ValaIfStatement ValaIfStatement; | |
| typedef struct _ValaIfStatementClass ValaIfStatementClass; | | typedef struct _ValaIfStatementClass ValaIfStatementClass; | |
| typedef struct _ValaSwitchStatement ValaSwitchStatement; | | typedef struct _ValaSwitchStatement ValaSwitchStatement; | |
| typedef struct _ValaSwitchStatementClass ValaSwitchStatementClass; | | typedef struct _ValaSwitchStatementClass ValaSwitchStatementClass; | |
| typedef struct _ValaSwitchSection ValaSwitchSection; | | typedef struct _ValaSwitchSection ValaSwitchSection; | |
| typedef struct _ValaSwitchSectionClass ValaSwitchSectionClass; | | typedef struct _ValaSwitchSectionClass ValaSwitchSectionClass; | |
| | | | |
| skipping to change at line 167 | | skipping to change at line 173 | |
| typedef struct _ValaRealLiteral ValaRealLiteral; | | typedef struct _ValaRealLiteral ValaRealLiteral; | |
| typedef struct _ValaRealLiteralClass ValaRealLiteralClass; | | typedef struct _ValaRealLiteralClass ValaRealLiteralClass; | |
| typedef struct _ValaStringLiteral ValaStringLiteral; | | typedef struct _ValaStringLiteral ValaStringLiteral; | |
| typedef struct _ValaStringLiteralClass ValaStringLiteralClass; | | typedef struct _ValaStringLiteralClass ValaStringLiteralClass; | |
| typedef struct _ValaNullLiteral ValaNullLiteral; | | typedef struct _ValaNullLiteral ValaNullLiteral; | |
| typedef struct _ValaNullLiteralClass ValaNullLiteralClass; | | typedef struct _ValaNullLiteralClass ValaNullLiteralClass; | |
| typedef struct _ValaParenthesizedExpression ValaParenthesizedExpression; | | typedef struct _ValaParenthesizedExpression ValaParenthesizedExpression; | |
| typedef struct _ValaParenthesizedExpressionClass ValaParenthesizedExpressio
nClass; | | typedef struct _ValaParenthesizedExpressionClass ValaParenthesizedExpressio
nClass; | |
| typedef struct _ValaMemberAccess ValaMemberAccess; | | typedef struct _ValaMemberAccess ValaMemberAccess; | |
| typedef struct _ValaMemberAccessClass ValaMemberAccessClass; | | typedef struct _ValaMemberAccessClass ValaMemberAccessClass; | |
|
| typedef struct _ValaInvocationExpression ValaInvocationExpression; | | | |
| typedef struct _ValaInvocationExpressionClass ValaInvocationExpressionClass | | | |
| ; | | | |
| typedef struct _ValaElementAccess ValaElementAccess; | | typedef struct _ValaElementAccess ValaElementAccess; | |
| typedef struct _ValaElementAccessClass ValaElementAccessClass; | | typedef struct _ValaElementAccessClass ValaElementAccessClass; | |
| typedef struct _ValaBaseAccess ValaBaseAccess; | | typedef struct _ValaBaseAccess ValaBaseAccess; | |
| typedef struct _ValaBaseAccessClass ValaBaseAccessClass; | | typedef struct _ValaBaseAccessClass ValaBaseAccessClass; | |
| typedef struct _ValaPostfixExpression ValaPostfixExpression; | | typedef struct _ValaPostfixExpression ValaPostfixExpression; | |
| typedef struct _ValaPostfixExpressionClass ValaPostfixExpressionClass; | | typedef struct _ValaPostfixExpressionClass ValaPostfixExpressionClass; | |
| typedef struct _ValaObjectCreationExpression ValaObjectCreationExpression; | | typedef struct _ValaObjectCreationExpression ValaObjectCreationExpression; | |
| typedef struct _ValaObjectCreationExpressionClass ValaObjectCreationExpress
ionClass; | | typedef struct _ValaObjectCreationExpressionClass ValaObjectCreationExpress
ionClass; | |
| typedef struct _ValaMemberInitializer ValaMemberInitializer; | | typedef struct _ValaMemberInitializer ValaMemberInitializer; | |
| typedef struct _ValaMemberInitializerClass ValaMemberInitializerClass; | | typedef struct _ValaMemberInitializerClass ValaMemberInitializerClass; | |
| | | | |
| skipping to change at line 201 | | skipping to change at line 205 | |
| typedef struct _ValaBinaryExpression ValaBinaryExpression; | | typedef struct _ValaBinaryExpression ValaBinaryExpression; | |
| typedef struct _ValaBinaryExpressionClass ValaBinaryExpressionClass; | | typedef struct _ValaBinaryExpressionClass ValaBinaryExpressionClass; | |
| typedef struct _ValaTypeCheck ValaTypeCheck; | | typedef struct _ValaTypeCheck ValaTypeCheck; | |
| typedef struct _ValaTypeCheckClass ValaTypeCheckClass; | | typedef struct _ValaTypeCheckClass ValaTypeCheckClass; | |
| typedef struct _ValaConditionalExpression ValaConditionalExpression; | | typedef struct _ValaConditionalExpression ValaConditionalExpression; | |
| typedef struct _ValaConditionalExpressionClass ValaConditionalExpressionCla
ss; | | typedef struct _ValaConditionalExpressionClass ValaConditionalExpressionCla
ss; | |
| typedef struct _ValaLambdaExpression ValaLambdaExpression; | | typedef struct _ValaLambdaExpression ValaLambdaExpression; | |
| typedef struct _ValaLambdaExpressionClass ValaLambdaExpressionClass; | | typedef struct _ValaLambdaExpressionClass ValaLambdaExpressionClass; | |
| typedef struct _ValaAssignment ValaAssignment; | | typedef struct _ValaAssignment ValaAssignment; | |
| typedef struct _ValaAssignmentClass ValaAssignmentClass; | | typedef struct _ValaAssignmentClass ValaAssignmentClass; | |
|
| typedef struct _ValaCodeGenerator ValaCodeGenerator; | | | |
| typedef struct _ValaCodeGeneratorClass ValaCodeGeneratorClass; | | | |
| typedef struct _ValaNamespaceReference ValaNamespaceReference; | | typedef struct _ValaNamespaceReference ValaNamespaceReference; | |
| typedef struct _ValaNamespaceReferenceClass ValaNamespaceReferenceClass; | | typedef struct _ValaNamespaceReferenceClass ValaNamespaceReferenceClass; | |
| typedef struct _ValaSourceFileCycle ValaSourceFileCycle; | | typedef struct _ValaSourceFileCycle ValaSourceFileCycle; | |
| typedef struct _ValaSourceFileCycleClass ValaSourceFileCycleClass; | | typedef struct _ValaSourceFileCycleClass ValaSourceFileCycleClass; | |
| typedef struct _ValaNamedArgument ValaNamedArgument; | | typedef struct _ValaNamedArgument ValaNamedArgument; | |
| typedef struct _ValaNamedArgumentClass ValaNamedArgumentClass; | | typedef struct _ValaNamedArgumentClass ValaNamedArgumentClass; | |
| typedef struct _ValaAttribute ValaAttribute; | | typedef struct _ValaAttribute ValaAttribute; | |
| typedef struct _ValaAttributeClass ValaAttributeClass; | | typedef struct _ValaAttributeClass ValaAttributeClass; | |
| | | | |
| #define VALA_TYPE_CODE_NODE (vala_code_node_get_type ()) | | #define VALA_TYPE_CODE_NODE (vala_code_node_get_type ()) | |
| | | | |
| skipping to change at line 239 | | skipping to change at line 241 | |
| ValaCodeNodePrivate * priv; | | ValaCodeNodePrivate * priv; | |
| GList* attributes; | | GList* attributes; | |
| }; | | }; | |
| struct _ValaCodeNodeClass { | | struct _ValaCodeNodeClass { | |
| GObjectClass parent_class; | | GObjectClass parent_class; | |
| void (*accept) (ValaCodeNode* self, ValaCodeVisitor* visitor); | | void (*accept) (ValaCodeNode* self, ValaCodeVisitor* visitor); | |
| void (*accept_children) (ValaCodeNode* self, ValaCodeVisitor* visito
r); | | void (*accept_children) (ValaCodeNode* self, ValaCodeVisitor* visito
r); | |
| void (*replace_type) (ValaCodeNode* self, ValaDataType* old_type, Va
laDataType* new_type); | | void (*replace_type) (ValaCodeNode* self, ValaDataType* old_type, Va
laDataType* new_type); | |
| void (*replace_expression) (ValaCodeNode* self, ValaExpression* old_
node, ValaExpression* new_node); | | void (*replace_expression) (ValaCodeNode* self, ValaExpression* old_
node, ValaExpression* new_node); | |
| char* (*to_string) (ValaCodeNode* self); | | char* (*to_string) (ValaCodeNode* self); | |
|
| | | ValaCodeBinding* (*create_code_binding) (ValaCodeNode* self, ValaCod
eGenerator* codegen); | |
| }; | | }; | |
| | | | |
| void vala_code_node_accept (ValaCodeNode* self, ValaCodeVisitor* visitor); | | void vala_code_node_accept (ValaCodeNode* self, ValaCodeVisitor* visitor); | |
| void vala_code_node_accept_children (ValaCodeNode* self, ValaCodeVisitor* v
isitor); | | void vala_code_node_accept_children (ValaCodeNode* self, ValaCodeVisitor* v
isitor); | |
| void vala_code_node_replace_type (ValaCodeNode* self, ValaDataType* old_typ
e, ValaDataType* new_type); | | void vala_code_node_replace_type (ValaCodeNode* self, ValaDataType* old_typ
e, ValaDataType* new_type); | |
| void vala_code_node_replace_expression (ValaCodeNode* self, ValaExpression*
old_node, ValaExpression* new_node); | | void vala_code_node_replace_expression (ValaCodeNode* self, ValaExpression*
old_node, ValaExpression* new_node); | |
| ValaAttribute* vala_code_node_get_attribute (ValaCodeNode* self, const char
* name); | | ValaAttribute* vala_code_node_get_attribute (ValaCodeNode* self, const char
* name); | |
| char* vala_code_node_to_string (ValaCodeNode* self); | | char* vala_code_node_to_string (ValaCodeNode* self); | |
|
| | | ValaCodeBinding* vala_code_node_get_code_binding (ValaCodeNode* self, ValaC | |
| | | odeGenerator* codegen); | |
| | | ValaCodeBinding* vala_code_node_create_code_binding (ValaCodeNode* self, Va | |
| | | laCodeGenerator* codegen); | |
| | | ValaCodeNode* vala_code_node_new (void); | |
| ValaCodeNode* vala_code_node_get_parent_node (ValaCodeNode* self); | | ValaCodeNode* vala_code_node_get_parent_node (ValaCodeNode* self); | |
| void vala_code_node_set_parent_node (ValaCodeNode* self, ValaCodeNode* valu
e); | | void vala_code_node_set_parent_node (ValaCodeNode* self, ValaCodeNode* valu
e); | |
| ValaSourceReference* vala_code_node_get_source_reference (ValaCodeNode* sel
f); | | ValaSourceReference* vala_code_node_get_source_reference (ValaCodeNode* sel
f); | |
| void vala_code_node_set_source_reference (ValaCodeNode* self, ValaSourceRef
erence* value); | | void vala_code_node_set_source_reference (ValaCodeNode* self, ValaSourceRef
erence* value); | |
| ValaCCodeNode* vala_code_node_get_ccodenode (ValaCodeNode* self); | | ValaCCodeNode* vala_code_node_get_ccodenode (ValaCodeNode* self); | |
| void vala_code_node_set_ccodenode (ValaCodeNode* self, ValaCCodeNode* value
); | | void vala_code_node_set_ccodenode (ValaCodeNode* self, ValaCCodeNode* value
); | |
|
| ValaCodeBinding* vala_code_node_get_code_binding (ValaCodeNode* self); | | | |
| void vala_code_node_set_code_binding (ValaCodeNode* self, ValaCodeBinding* | | | |
| value); | | | |
| gboolean vala_code_node_get_error (ValaCodeNode* self); | | gboolean vala_code_node_get_error (ValaCodeNode* self); | |
| void vala_code_node_set_error (ValaCodeNode* self, gboolean value); | | void vala_code_node_set_error (ValaCodeNode* self, gboolean value); | |
| gboolean vala_code_node_get_tree_can_fail (ValaCodeNode* self); | | gboolean vala_code_node_get_tree_can_fail (ValaCodeNode* self); | |
| void vala_code_node_set_tree_can_fail (ValaCodeNode* self, gboolean value); | | void vala_code_node_set_tree_can_fail (ValaCodeNode* self, gboolean value); | |
| GType vala_code_node_get_type (void); | | GType vala_code_node_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 15 change blocks. |
| 29 lines changed or deleted | | 33 lines changed or added | |
|
| valacodevisitor.h | | valacodevisitor.h | |
| | | | |
| skipping to change at line 79 | | skipping to change at line 79 | |
| void (*visit_signal) (ValaCodeVisitor* self, ValaSignal* sig); | | void (*visit_signal) (ValaCodeVisitor* self, ValaSignal* sig); | |
| void (*visit_constructor) (ValaCodeVisitor* self, ValaConstructor* c
); | | void (*visit_constructor) (ValaCodeVisitor* self, ValaConstructor* c
); | |
| void (*visit_destructor) (ValaCodeVisitor* self, ValaDestructor* d); | | void (*visit_destructor) (ValaCodeVisitor* self, ValaDestructor* d); | |
| void (*visit_named_argument) (ValaCodeVisitor* self, ValaNamedArgume
nt* n); | | void (*visit_named_argument) (ValaCodeVisitor* self, ValaNamedArgume
nt* n); | |
| void (*visit_type_parameter) (ValaCodeVisitor* self, ValaTypeParamet
er* p); | | void (*visit_type_parameter) (ValaCodeVisitor* self, ValaTypeParamet
er* p); | |
| void (*visit_namespace_reference) (ValaCodeVisitor* self, ValaNamesp
aceReference* ns); | | void (*visit_namespace_reference) (ValaCodeVisitor* self, ValaNamesp
aceReference* ns); | |
| void (*visit_data_type) (ValaCodeVisitor* self, ValaDataType* type); | | void (*visit_data_type) (ValaCodeVisitor* self, ValaDataType* type); | |
| void (*visit_block) (ValaCodeVisitor* self, ValaBlock* b); | | void (*visit_block) (ValaCodeVisitor* self, ValaBlock* b); | |
| void (*visit_empty_statement) (ValaCodeVisitor* self, ValaEmptyState
ment* stmt); | | void (*visit_empty_statement) (ValaCodeVisitor* self, ValaEmptyState
ment* stmt); | |
| void (*visit_declaration_statement) (ValaCodeVisitor* self, ValaDecl
arationStatement* stmt); | | void (*visit_declaration_statement) (ValaCodeVisitor* self, ValaDecl
arationStatement* stmt); | |
|
| void (*visit_local_variable_declaration) (ValaCodeVisitor* self, Val | | void (*visit_local_variable) (ValaCodeVisitor* self, ValaLocalVariab | |
| aLocalVariableDeclaration* decl); | | le* local); | |
| void (*visit_variable_declarator) (ValaCodeVisitor* self, ValaVariab | | | |
| leDeclarator* decl); | | | |
| void (*visit_initializer_list) (ValaCodeVisitor* self, ValaInitializ
erList* list); | | void (*visit_initializer_list) (ValaCodeVisitor* self, ValaInitializ
erList* list); | |
| void (*visit_expression_statement) (ValaCodeVisitor* self, ValaExpre
ssionStatement* stmt); | | void (*visit_expression_statement) (ValaCodeVisitor* self, ValaExpre
ssionStatement* stmt); | |
| void (*visit_if_statement) (ValaCodeVisitor* self, ValaIfStatement*
stmt); | | void (*visit_if_statement) (ValaCodeVisitor* self, ValaIfStatement*
stmt); | |
| void (*visit_switch_statement) (ValaCodeVisitor* self, ValaSwitchSta
tement* stmt); | | void (*visit_switch_statement) (ValaCodeVisitor* self, ValaSwitchSta
tement* stmt); | |
| void (*visit_switch_section) (ValaCodeVisitor* self, ValaSwitchSecti
on* section); | | void (*visit_switch_section) (ValaCodeVisitor* self, ValaSwitchSecti
on* section); | |
| void (*visit_switch_label) (ValaCodeVisitor* self, ValaSwitchLabel*
label); | | void (*visit_switch_label) (ValaCodeVisitor* self, ValaSwitchLabel*
label); | |
| void (*visit_while_statement) (ValaCodeVisitor* self, ValaWhileState
ment* stmt); | | void (*visit_while_statement) (ValaCodeVisitor* self, ValaWhileState
ment* stmt); | |
| void (*visit_do_statement) (ValaCodeVisitor* self, ValaDoStatement*
stmt); | | void (*visit_do_statement) (ValaCodeVisitor* self, ValaDoStatement*
stmt); | |
| void (*visit_for_statement) (ValaCodeVisitor* self, ValaForStatement
* stmt); | | void (*visit_for_statement) (ValaCodeVisitor* self, ValaForStatement
* stmt); | |
| void (*visit_foreach_statement) (ValaCodeVisitor* self, ValaForeachS
tatement* stmt); | | void (*visit_foreach_statement) (ValaCodeVisitor* self, ValaForeachS
tatement* stmt); | |
| | | | |
| skipping to change at line 156 | | skipping to change at line 155 | |
| void vala_code_visitor_visit_signal (ValaCodeVisitor* self, ValaSignal* sig
); | | void vala_code_visitor_visit_signal (ValaCodeVisitor* self, ValaSignal* sig
); | |
| void vala_code_visitor_visit_constructor (ValaCodeVisitor* self, ValaConstr
uctor* c); | | void vala_code_visitor_visit_constructor (ValaCodeVisitor* self, ValaConstr
uctor* c); | |
| void vala_code_visitor_visit_destructor (ValaCodeVisitor* self, ValaDestruc
tor* d); | | void vala_code_visitor_visit_destructor (ValaCodeVisitor* self, ValaDestruc
tor* d); | |
| void vala_code_visitor_visit_named_argument (ValaCodeVisitor* self, ValaNam
edArgument* n); | | void vala_code_visitor_visit_named_argument (ValaCodeVisitor* self, ValaNam
edArgument* n); | |
| void vala_code_visitor_visit_type_parameter (ValaCodeVisitor* self, ValaTyp
eParameter* p); | | void vala_code_visitor_visit_type_parameter (ValaCodeVisitor* self, ValaTyp
eParameter* p); | |
| void vala_code_visitor_visit_namespace_reference (ValaCodeVisitor* self, Va
laNamespaceReference* ns); | | void vala_code_visitor_visit_namespace_reference (ValaCodeVisitor* self, Va
laNamespaceReference* ns); | |
| void vala_code_visitor_visit_data_type (ValaCodeVisitor* self, ValaDataType
* type); | | void vala_code_visitor_visit_data_type (ValaCodeVisitor* self, ValaDataType
* type); | |
| void vala_code_visitor_visit_block (ValaCodeVisitor* self, ValaBlock* b); | | void vala_code_visitor_visit_block (ValaCodeVisitor* self, ValaBlock* b); | |
| void vala_code_visitor_visit_empty_statement (ValaCodeVisitor* self, ValaEm
ptyStatement* stmt); | | void vala_code_visitor_visit_empty_statement (ValaCodeVisitor* self, ValaEm
ptyStatement* stmt); | |
| void vala_code_visitor_visit_declaration_statement (ValaCodeVisitor* self,
ValaDeclarationStatement* stmt); | | void vala_code_visitor_visit_declaration_statement (ValaCodeVisitor* self,
ValaDeclarationStatement* stmt); | |
|
| void vala_code_visitor_visit_local_variable_declaration (ValaCodeVisitor* s | | void vala_code_visitor_visit_local_variable (ValaCodeVisitor* self, ValaLoc | |
| elf, ValaLocalVariableDeclaration* decl); | | alVariable* local); | |
| void vala_code_visitor_visit_variable_declarator (ValaCodeVisitor* self, Va | | | |
| laVariableDeclarator* decl); | | | |
| void vala_code_visitor_visit_initializer_list (ValaCodeVisitor* self, ValaI
nitializerList* list); | | void vala_code_visitor_visit_initializer_list (ValaCodeVisitor* self, ValaI
nitializerList* list); | |
| void vala_code_visitor_visit_expression_statement (ValaCodeVisitor* self, V
alaExpressionStatement* stmt); | | void vala_code_visitor_visit_expression_statement (ValaCodeVisitor* self, V
alaExpressionStatement* stmt); | |
| void vala_code_visitor_visit_if_statement (ValaCodeVisitor* self, ValaIfSta
tement* stmt); | | void vala_code_visitor_visit_if_statement (ValaCodeVisitor* self, ValaIfSta
tement* stmt); | |
| void vala_code_visitor_visit_switch_statement (ValaCodeVisitor* self, ValaS
witchStatement* stmt); | | void vala_code_visitor_visit_switch_statement (ValaCodeVisitor* self, ValaS
witchStatement* stmt); | |
| void vala_code_visitor_visit_switch_section (ValaCodeVisitor* self, ValaSwi
tchSection* section); | | void vala_code_visitor_visit_switch_section (ValaCodeVisitor* self, ValaSwi
tchSection* section); | |
| void vala_code_visitor_visit_switch_label (ValaCodeVisitor* self, ValaSwitc
hLabel* label); | | void vala_code_visitor_visit_switch_label (ValaCodeVisitor* self, ValaSwitc
hLabel* label); | |
| void vala_code_visitor_visit_while_statement (ValaCodeVisitor* self, ValaWh
ileStatement* stmt); | | void vala_code_visitor_visit_while_statement (ValaCodeVisitor* self, ValaWh
ileStatement* stmt); | |
| void vala_code_visitor_visit_do_statement (ValaCodeVisitor* self, ValaDoSta
tement* stmt); | | void vala_code_visitor_visit_do_statement (ValaCodeVisitor* self, ValaDoSta
tement* stmt); | |
| void vala_code_visitor_visit_for_statement (ValaCodeVisitor* self, ValaForS
tatement* stmt); | | void vala_code_visitor_visit_for_statement (ValaCodeVisitor* self, ValaForS
tatement* stmt); | |
| void vala_code_visitor_visit_foreach_statement (ValaCodeVisitor* self, Vala
ForeachStatement* stmt); | | void vala_code_visitor_visit_foreach_statement (ValaCodeVisitor* self, Vala
ForeachStatement* stmt); | |
| | | | |
| skipping to change at line 203 | | skipping to change at line 201 | |
| void vala_code_visitor_visit_cast_expression (ValaCodeVisitor* self, ValaCa
stExpression* expr); | | void vala_code_visitor_visit_cast_expression (ValaCodeVisitor* self, ValaCa
stExpression* expr); | |
| void vala_code_visitor_visit_pointer_indirection (ValaCodeVisitor* self, Va
laPointerIndirection* expr); | | void vala_code_visitor_visit_pointer_indirection (ValaCodeVisitor* self, Va
laPointerIndirection* expr); | |
| void vala_code_visitor_visit_addressof_expression (ValaCodeVisitor* self, V
alaAddressofExpression* expr); | | void vala_code_visitor_visit_addressof_expression (ValaCodeVisitor* self, V
alaAddressofExpression* expr); | |
| void vala_code_visitor_visit_reference_transfer_expression (ValaCodeVisitor
* self, ValaReferenceTransferExpression* expr); | | void vala_code_visitor_visit_reference_transfer_expression (ValaCodeVisitor
* self, ValaReferenceTransferExpression* expr); | |
| void vala_code_visitor_visit_binary_expression (ValaCodeVisitor* self, Vala
BinaryExpression* expr); | | void vala_code_visitor_visit_binary_expression (ValaCodeVisitor* self, Vala
BinaryExpression* expr); | |
| void vala_code_visitor_visit_type_check (ValaCodeVisitor* self, ValaTypeChe
ck* expr); | | void vala_code_visitor_visit_type_check (ValaCodeVisitor* self, ValaTypeChe
ck* expr); | |
| void vala_code_visitor_visit_conditional_expression (ValaCodeVisitor* self,
ValaConditionalExpression* expr); | | void vala_code_visitor_visit_conditional_expression (ValaCodeVisitor* self,
ValaConditionalExpression* expr); | |
| void vala_code_visitor_visit_lambda_expression (ValaCodeVisitor* self, Vala
LambdaExpression* expr); | | void vala_code_visitor_visit_lambda_expression (ValaCodeVisitor* self, Vala
LambdaExpression* expr); | |
| void vala_code_visitor_visit_assignment (ValaCodeVisitor* self, ValaAssignm
ent* a); | | void vala_code_visitor_visit_assignment (ValaCodeVisitor* self, ValaAssignm
ent* a); | |
| void vala_code_visitor_visit_end_full_expression (ValaCodeVisitor* self, Va
laExpression* expr); | | void vala_code_visitor_visit_end_full_expression (ValaCodeVisitor* self, Va
laExpression* expr); | |
|
| | | ValaCodeVisitor* vala_code_visitor_new (void); | |
| GType vala_code_visitor_get_type (void); | | GType vala_code_visitor_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 3 change blocks. |
| 8 lines changed or deleted | | 5 lines changed or added | |
|
| valadatatype.h | | valadatatype.h | |
| | | | |
| skipping to change at line 62 | | skipping to change at line 62 | |
| ValaCodeNode parent_instance; | | ValaCodeNode parent_instance; | |
| ValaDataTypePrivate * priv; | | ValaDataTypePrivate * priv; | |
| }; | | }; | |
| struct _ValaDataTypeClass { | | struct _ValaDataTypeClass { | |
| ValaCodeNodeClass parent_class; | | ValaCodeNodeClass parent_class; | |
| char* (*get_cname) (ValaDataType* self, gboolean var_type, gboolean
const_type); | | char* (*get_cname) (ValaDataType* self, gboolean var_type, gboolean
const_type); | |
| char* (*get_lower_case_cname) (ValaDataType* self, const char* infix
); | | char* (*get_lower_case_cname) (ValaDataType* self, const char* infix
); | |
| ValaDataType* (*copy) (ValaDataType* self); | | ValaDataType* (*copy) (ValaDataType* self); | |
| gboolean (*equals) (ValaDataType* self, ValaDataType* type2); | | gboolean (*equals) (ValaDataType* self, ValaDataType* type2); | |
| gboolean (*stricter) (ValaDataType* self, ValaDataType* type2); | | gboolean (*stricter) (ValaDataType* self, ValaDataType* type2); | |
|
| gboolean (*compatible) (ValaDataType* self, ValaDataType* target_typ
e, gboolean enable_non_null); | | gboolean (*compatible) (ValaDataType* self, ValaDataType* target_typ
e); | |
| gboolean (*is_invokable) (ValaDataType* self); | | gboolean (*is_invokable) (ValaDataType* self); | |
| ValaDataType* (*get_return_type) (ValaDataType* self); | | ValaDataType* (*get_return_type) (ValaDataType* self); | |
| GeeCollection* (*get_parameters) (ValaDataType* self); | | GeeCollection* (*get_parameters) (ValaDataType* self); | |
| gboolean (*is_reference_type_or_type_parameter) (ValaDataType* self)
; | | gboolean (*is_reference_type_or_type_parameter) (ValaDataType* self)
; | |
| gboolean (*is_array) (ValaDataType* self); | | gboolean (*is_array) (ValaDataType* self); | |
| GeeCollection* (*get_symbols) (ValaDataType* self); | | GeeCollection* (*get_symbols) (ValaDataType* self); | |
| ValaSymbol* (*get_member) (ValaDataType* self, const char* member_na
me); | | ValaSymbol* (*get_member) (ValaDataType* self, const char* member_na
me); | |
| ValaSymbol* (*get_pointer_member) (ValaDataType* self, const char* m
ember_name); | | ValaSymbol* (*get_pointer_member) (ValaDataType* self, const char* m
ember_name); | |
| gboolean (*is_real_struct_type) (ValaDataType* self); | | gboolean (*is_real_struct_type) (ValaDataType* self); | |
| char* (*get_type_id) (ValaDataType* self); | | char* (*get_type_id) (ValaDataType* self); | |
| | | | |
| skipping to change at line 84 | | skipping to change at line 84 | |
| | | | |
| void vala_data_type_add_type_argument (ValaDataType* self, ValaDataType* ar
g); | | void vala_data_type_add_type_argument (ValaDataType* self, ValaDataType* ar
g); | |
| GeeList* vala_data_type_get_type_arguments (ValaDataType* self); | | GeeList* vala_data_type_get_type_arguments (ValaDataType* self); | |
| void vala_data_type_remove_all_type_arguments (ValaDataType* self); | | void vala_data_type_remove_all_type_arguments (ValaDataType* self); | |
| char* vala_data_type_get_cname (ValaDataType* self, gboolean var_type, gboo
lean const_type); | | char* vala_data_type_get_cname (ValaDataType* self, gboolean var_type, gboo
lean const_type); | |
| char* vala_data_type_get_const_cname (ValaDataType* self); | | char* vala_data_type_get_const_cname (ValaDataType* self); | |
| char* vala_data_type_get_lower_case_cname (ValaDataType* self, const char*
infix); | | char* vala_data_type_get_lower_case_cname (ValaDataType* self, const char*
infix); | |
| ValaDataType* vala_data_type_copy (ValaDataType* self); | | ValaDataType* vala_data_type_copy (ValaDataType* self); | |
| gboolean vala_data_type_equals (ValaDataType* self, ValaDataType* type2); | | gboolean vala_data_type_equals (ValaDataType* self, ValaDataType* type2); | |
| gboolean vala_data_type_stricter (ValaDataType* self, ValaDataType* type2); | | gboolean vala_data_type_stricter (ValaDataType* self, ValaDataType* type2); | |
|
| gboolean vala_data_type_compatible (ValaDataType* self, ValaDataType* targe
t_type, gboolean enable_non_null); | | gboolean vala_data_type_compatible (ValaDataType* self, ValaDataType* targe
t_type); | |
| gboolean vala_data_type_is_invokable (ValaDataType* self); | | gboolean vala_data_type_is_invokable (ValaDataType* self); | |
| ValaDataType* vala_data_type_get_return_type (ValaDataType* self); | | ValaDataType* vala_data_type_get_return_type (ValaDataType* self); | |
| GeeCollection* vala_data_type_get_parameters (ValaDataType* self); | | GeeCollection* vala_data_type_get_parameters (ValaDataType* self); | |
| gboolean vala_data_type_is_reference_type_or_type_parameter (ValaDataType*
self); | | gboolean vala_data_type_is_reference_type_or_type_parameter (ValaDataType*
self); | |
| gboolean vala_data_type_is_array (ValaDataType* self); | | gboolean vala_data_type_is_array (ValaDataType* self); | |
| GeeCollection* vala_data_type_get_symbols (ValaDataType* self); | | GeeCollection* vala_data_type_get_symbols (ValaDataType* self); | |
| ValaSymbol* vala_data_type_get_member (ValaDataType* self, const char* memb
er_name); | | ValaSymbol* vala_data_type_get_member (ValaDataType* self, const char* memb
er_name); | |
| ValaSymbol* vala_data_type_get_pointer_member (ValaDataType* self, const ch
ar* member_name); | | ValaSymbol* vala_data_type_get_pointer_member (ValaDataType* self, const ch
ar* member_name); | |
| gboolean vala_data_type_is_real_struct_type (ValaDataType* self); | | gboolean vala_data_type_is_real_struct_type (ValaDataType* self); | |
| char* vala_data_type_get_type_id (ValaDataType* self); | | char* vala_data_type_get_type_id (ValaDataType* self); | |
|
| | | char* vala_data_type_get_type_signature (ValaDataType* self); | |
| | | ValaDataType* vala_data_type_new (void); | |
| gboolean vala_data_type_get_transfers_ownership (ValaDataType* self); | | gboolean vala_data_type_get_transfers_ownership (ValaDataType* self); | |
| void vala_data_type_set_transfers_ownership (ValaDataType* self, gboolean v
alue); | | void vala_data_type_set_transfers_ownership (ValaDataType* self, gboolean v
alue); | |
| gboolean vala_data_type_get_takes_ownership (ValaDataType* self); | | gboolean vala_data_type_get_takes_ownership (ValaDataType* self); | |
| void vala_data_type_set_takes_ownership (ValaDataType* self, gboolean value
); | | void vala_data_type_set_takes_ownership (ValaDataType* self, gboolean value
); | |
|
| gboolean vala_data_type_get_is_out (ValaDataType* self); | | | |
| void vala_data_type_set_is_out (ValaDataType* self, gboolean value); | | | |
| gboolean vala_data_type_get_nullable (ValaDataType* self); | | gboolean vala_data_type_get_nullable (ValaDataType* self); | |
| void vala_data_type_set_nullable (ValaDataType* self, gboolean value); | | void vala_data_type_set_nullable (ValaDataType* self, gboolean value); | |
|
| gboolean vala_data_type_get_requires_null_check (ValaDataType* self); | | | |
| void vala_data_type_set_requires_null_check (ValaDataType* self, gboolean v | | | |
| alue); | | | |
| ValaTypesymbol* vala_data_type_get_data_type (ValaDataType* self); | | ValaTypesymbol* vala_data_type_get_data_type (ValaDataType* self); | |
| void vala_data_type_set_data_type (ValaDataType* self, ValaTypesymbol* valu
e); | | void vala_data_type_set_data_type (ValaDataType* self, ValaTypesymbol* valu
e); | |
| ValaTypeParameter* vala_data_type_get_type_parameter (ValaDataType* self); | | ValaTypeParameter* vala_data_type_get_type_parameter (ValaDataType* self); | |
| void vala_data_type_set_type_parameter (ValaDataType* self, ValaTypeParamet
er* value); | | void vala_data_type_set_type_parameter (ValaDataType* self, ValaTypeParamet
er* value); | |
| gboolean vala_data_type_get_floating_reference (ValaDataType* self); | | gboolean vala_data_type_get_floating_reference (ValaDataType* self); | |
| void vala_data_type_set_floating_reference (ValaDataType* self, gboolean va
lue); | | void vala_data_type_set_floating_reference (ValaDataType* self, gboolean va
lue); | |
|
| gboolean vala_data_type_get_is_ref (ValaDataType* self); | | gboolean vala_data_type_get_is_dynamic (ValaDataType* self); | |
| void vala_data_type_set_is_ref (ValaDataType* self, gboolean value); | | void vala_data_type_set_is_dynamic (ValaDataType* self, gboolean value); | |
| GType vala_data_type_get_type (void); | | GType vala_data_type_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 6 change blocks. |
| 9 lines changed or deleted | | 6 lines changed or added | |
|
| valaformalparameter.h | | valaformalparameter.h | |
| | | | |
| skipping to change at line 47 | | skipping to change at line 47 | |
| | | | |
| #define VALA_TYPE_FORMAL_PARAMETER (vala_formal_parameter_get_type ()) | | #define VALA_TYPE_FORMAL_PARAMETER (vala_formal_parameter_get_type ()) | |
| #define VALA_FORMAL_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA
_TYPE_FORMAL_PARAMETER, ValaFormalParameter)) | | #define VALA_FORMAL_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA
_TYPE_FORMAL_PARAMETER, ValaFormalParameter)) | |
| #define VALA_FORMAL_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass
), VALA_TYPE_FORMAL_PARAMETER, ValaFormalParameterClass)) | | #define VALA_FORMAL_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass
), VALA_TYPE_FORMAL_PARAMETER, ValaFormalParameterClass)) | |
| #define VALA_IS_FORMAL_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V
ALA_TYPE_FORMAL_PARAMETER)) | | #define VALA_IS_FORMAL_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V
ALA_TYPE_FORMAL_PARAMETER)) | |
| #define VALA_IS_FORMAL_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl
ass), VALA_TYPE_FORMAL_PARAMETER)) | | #define VALA_IS_FORMAL_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl
ass), VALA_TYPE_FORMAL_PARAMETER)) | |
| #define VALA_FORMAL_PARAMETER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o
bj), VALA_TYPE_FORMAL_PARAMETER, ValaFormalParameterClass)) | | #define VALA_FORMAL_PARAMETER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o
bj), VALA_TYPE_FORMAL_PARAMETER, ValaFormalParameterClass)) | |
| | | | |
| typedef struct _ValaFormalParameterPrivate ValaFormalParameterPrivate; | | typedef struct _ValaFormalParameterPrivate ValaFormalParameterPrivate; | |
| | | | |
|
| | | #define VALA_TYPE_PARAMETER_DIRECTION (vala_parameter_direction_get_type () | |
| | | ) | |
| | | | |
| /** | | /** | |
| * Represents a formal parameter in method and callback signatures. | | * Represents a formal parameter in method and callback signatures. | |
| */ | | */ | |
| struct _ValaFormalParameter { | | struct _ValaFormalParameter { | |
| ValaSymbol parent_instance; | | ValaSymbol parent_instance; | |
| ValaFormalParameterPrivate * priv; | | ValaFormalParameterPrivate * priv; | |
| }; | | }; | |
| struct _ValaFormalParameterClass { | | struct _ValaFormalParameterClass { | |
| ValaSymbolClass parent_class; | | ValaSymbolClass parent_class; | |
| }; | | }; | |
|
| | | typedef enum { | |
| | | VALA_PARAMETER_DIRECTION_IN, | |
| | | VALA_PARAMETER_DIRECTION_OUT, | |
| | | VALA_PARAMETER_DIRECTION_REF | |
| | | } ValaParameterDirection; | |
| | | | |
| ValaFormalParameter* vala_formal_parameter_new (const char* _name, ValaData
Type* type, ValaSourceReference* source); | | ValaFormalParameter* vala_formal_parameter_new (const char* _name, ValaData
Type* type, ValaSourceReference* source); | |
| ValaFormalParameter* vala_formal_parameter_new_with_ellipsis (ValaSourceRef
erence* source); | | ValaFormalParameter* vala_formal_parameter_new_with_ellipsis (ValaSourceRef
erence* source); | |
| void vala_formal_parameter_process_attributes (ValaFormalParameter* self); | | void vala_formal_parameter_process_attributes (ValaFormalParameter* self); | |
| ValaFormalParameter* vala_formal_parameter_copy (ValaFormalParameter* self)
; | | ValaFormalParameter* vala_formal_parameter_copy (ValaFormalParameter* self)
; | |
| ValaDataType* vala_formal_parameter_get_type_reference (ValaFormalParameter
* self); | | ValaDataType* vala_formal_parameter_get_type_reference (ValaFormalParameter
* self); | |
| void vala_formal_parameter_set_type_reference (ValaFormalParameter* self, V
alaDataType* value); | | void vala_formal_parameter_set_type_reference (ValaFormalParameter* self, V
alaDataType* value); | |
|
| | | ValaParameterDirection vala_formal_parameter_get_direction (ValaFormalParam | |
| | | eter* self); | |
| | | void vala_formal_parameter_set_direction (ValaFormalParameter* self, ValaPa | |
| | | rameterDirection value); | |
| gboolean vala_formal_parameter_get_ellipsis (ValaFormalParameter* self); | | gboolean vala_formal_parameter_get_ellipsis (ValaFormalParameter* self); | |
| void vala_formal_parameter_set_ellipsis (ValaFormalParameter* self, gboolea
n value); | | void vala_formal_parameter_set_ellipsis (ValaFormalParameter* self, gboolea
n value); | |
| ValaExpression* vala_formal_parameter_get_default_expression (ValaFormalPar
ameter* self); | | ValaExpression* vala_formal_parameter_get_default_expression (ValaFormalPar
ameter* self); | |
| void vala_formal_parameter_set_default_expression (ValaFormalParameter* sel
f, ValaExpression* value); | | void vala_formal_parameter_set_default_expression (ValaFormalParameter* sel
f, ValaExpression* value); | |
| gboolean vala_formal_parameter_get_no_array_length (ValaFormalParameter* se
lf); | | gboolean vala_formal_parameter_get_no_array_length (ValaFormalParameter* se
lf); | |
| void vala_formal_parameter_set_no_array_length (ValaFormalParameter* self,
gboolean value); | | void vala_formal_parameter_set_no_array_length (ValaFormalParameter* self,
gboolean value); | |
| gboolean vala_formal_parameter_get_construct_parameter (ValaFormalParameter
* self); | | gboolean vala_formal_parameter_get_construct_parameter (ValaFormalParameter
* self); | |
| void vala_formal_parameter_set_construct_parameter (ValaFormalParameter* se
lf, gboolean value); | | void vala_formal_parameter_set_construct_parameter (ValaFormalParameter* se
lf, gboolean value); | |
| double vala_formal_parameter_get_cparameter_position (ValaFormalParameter*
self); | | double vala_formal_parameter_get_cparameter_position (ValaFormalParameter*
self); | |
| void vala_formal_parameter_set_cparameter_position (ValaFormalParameter* se
lf, double value); | | void vala_formal_parameter_set_cparameter_position (ValaFormalParameter* se
lf, double value); | |
| double vala_formal_parameter_get_carray_length_parameter_position (ValaForm
alParameter* self); | | double vala_formal_parameter_get_carray_length_parameter_position (ValaForm
alParameter* self); | |
| void vala_formal_parameter_set_carray_length_parameter_position (ValaFormal
Parameter* self, double value); | | void vala_formal_parameter_set_carray_length_parameter_position (ValaFormal
Parameter* self, double value); | |
| double vala_formal_parameter_get_cdelegate_target_parameter_position (ValaF
ormalParameter* self); | | double vala_formal_parameter_get_cdelegate_target_parameter_position (ValaF
ormalParameter* self); | |
| void vala_formal_parameter_set_cdelegate_target_parameter_position (ValaFor
malParameter* self, double value); | | void vala_formal_parameter_set_cdelegate_target_parameter_position (ValaFor
malParameter* self, double value); | |
| GType vala_formal_parameter_get_type (void); | | GType vala_formal_parameter_get_type (void); | |
|
| | | GType vala_parameter_direction_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 4 change blocks. |
| 0 lines changed or deleted | | 13 lines changed or added | |
|
| valamethod.h | | valamethod.h | |
| | | | |
| skipping to change at line 36 | | skipping to change at line 36 | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| #include <stdlib.h> | | #include <stdlib.h> | |
| #include <string.h> | | #include <string.h> | |
| #include <gee/collection.h> | | #include <gee/collection.h> | |
| #include <float.h> | | #include <float.h> | |
| #include <math.h> | | #include <math.h> | |
| #include <vala/valamember.h> | | #include <vala/valamember.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
|
| | | #include <vala/valacodebinding.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_METHOD (vala_method_get_type ()) | | #define VALA_TYPE_METHOD (vala_method_get_type ()) | |
| #define VALA_METHOD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_METH
OD, ValaMethod)) | | #define VALA_METHOD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_METH
OD, ValaMethod)) | |
| #define VALA_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY
PE_METHOD, ValaMethodClass)) | | #define VALA_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY
PE_METHOD, ValaMethodClass)) | |
| #define VALA_IS_METHOD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_M
ETHOD)) | | #define VALA_IS_METHOD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_M
ETHOD)) | |
| #define VALA_IS_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), 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)) | | #define VALA_METHOD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_
TYPE_METHOD, ValaMethodClass)) | |
| | | | |
| | | | |
| skipping to change at line 64 | | skipping to change at line 65 | |
| }; | | }; | |
| struct _ValaMethodClass { | | struct _ValaMethodClass { | |
| ValaMemberClass parent_class; | | ValaMemberClass parent_class; | |
| char* (*get_default_cname) (ValaMethod* self); | | char* (*get_default_cname) (ValaMethod* self); | |
| }; | | }; | |
| | | | |
| #define VALA_METHOD_DEFAULT_SENTINEL "NULL" | | #define VALA_METHOD_DEFAULT_SENTINEL "NULL" | |
| ValaMethod* vala_method_new (const char* name, ValaDataType* return_type, V
alaSourceReference* source_reference); | | ValaMethod* vala_method_new (const char* name, ValaDataType* return_type, V
alaSourceReference* source_reference); | |
| void vala_method_add_parameter (ValaMethod* self, ValaFormalParameter* para
m); | | void vala_method_add_parameter (ValaMethod* self, ValaFormalParameter* para
m); | |
| GeeCollection* vala_method_get_parameters (ValaMethod* self); | | GeeCollection* vala_method_get_parameters (ValaMethod* self); | |
|
| | | void vala_method_clear_parameters (ValaMethod* self); | |
| char* vala_method_get_cname (ValaMethod* self); | | char* vala_method_get_cname (ValaMethod* self); | |
| char* vala_method_get_default_cname (ValaMethod* self); | | char* vala_method_get_default_cname (ValaMethod* self); | |
| char* vala_method_get_real_cname (ValaMethod* self); | | char* vala_method_get_real_cname (ValaMethod* self); | |
| void vala_method_set_cname (ValaMethod* self, const char* cname); | | void vala_method_set_cname (ValaMethod* self, const char* cname); | |
| void vala_method_process_attributes (ValaMethod* self); | | void vala_method_process_attributes (ValaMethod* self); | |
|
| gboolean vala_method_equals (ValaMethod* self, ValaMethod* m2); | | gboolean vala_method_compatible (ValaMethod* self, ValaMethod* base_method,
const char** invalid_match); | |
| void vala_method_add_error_domain (ValaMethod* self, ValaDataType* error_do
main); | | void vala_method_add_error_domain (ValaMethod* self, ValaDataType* error_do
main); | |
| GeeCollection* vala_method_get_error_domains (ValaMethod* self); | | GeeCollection* vala_method_get_error_domains (ValaMethod* self); | |
| void vala_method_add_precondition (ValaMethod* self, ValaExpression* precon
dition); | | void vala_method_add_precondition (ValaMethod* self, ValaExpression* precon
dition); | |
| GeeCollection* vala_method_get_preconditions (ValaMethod* self); | | GeeCollection* vala_method_get_preconditions (ValaMethod* self); | |
| void vala_method_add_postcondition (ValaMethod* self, ValaExpression* postc
ondition); | | void vala_method_add_postcondition (ValaMethod* self, ValaExpression* postc
ondition); | |
| GeeCollection* vala_method_get_postconditions (ValaMethod* self); | | GeeCollection* vala_method_get_postconditions (ValaMethod* self); | |
| ValaDataType* vala_method_get_return_type (ValaMethod* self); | | ValaDataType* vala_method_get_return_type (ValaMethod* self); | |
| void vala_method_set_return_type (ValaMethod* self, ValaDataType* value); | | void vala_method_set_return_type (ValaMethod* self, ValaDataType* value); | |
| ValaBlock* vala_method_get_body (ValaMethod* self); | | ValaBlock* vala_method_get_body (ValaMethod* self); | |
| void vala_method_set_body (ValaMethod* self, ValaBlock* value); | | void vala_method_set_body (ValaMethod* self, ValaBlock* value); | |
| | | | |
| skipping to change at line 106 | | skipping to change at line 108 | |
| gboolean vala_method_get_is_inline (ValaMethod* self); | | gboolean vala_method_get_is_inline (ValaMethod* self); | |
| void vala_method_set_is_inline (ValaMethod* self, gboolean value); | | void vala_method_set_is_inline (ValaMethod* self, gboolean value); | |
| gboolean vala_method_get_returns_modified_pointer (ValaMethod* self); | | gboolean vala_method_get_returns_modified_pointer (ValaMethod* self); | |
| void vala_method_set_returns_modified_pointer (ValaMethod* self, gboolean v
alue); | | void vala_method_set_returns_modified_pointer (ValaMethod* self, gboolean v
alue); | |
| ValaMethod* vala_method_get_base_method (ValaMethod* self); | | ValaMethod* vala_method_get_base_method (ValaMethod* self); | |
| void vala_method_set_base_method (ValaMethod* self, ValaMethod* value); | | void vala_method_set_base_method (ValaMethod* self, ValaMethod* value); | |
| ValaMethod* vala_method_get_base_interface_method (ValaMethod* self); | | ValaMethod* vala_method_get_base_interface_method (ValaMethod* self); | |
| void vala_method_set_base_interface_method (ValaMethod* self, ValaMethod* v
alue); | | void vala_method_set_base_interface_method (ValaMethod* self, ValaMethod* v
alue); | |
| ValaFormalParameter* vala_method_get_this_parameter (ValaMethod* self); | | ValaFormalParameter* vala_method_get_this_parameter (ValaMethod* self); | |
| void vala_method_set_this_parameter (ValaMethod* self, ValaFormalParameter*
value); | | void vala_method_set_this_parameter (ValaMethod* self, ValaFormalParameter*
value); | |
|
| ValaVariableDeclarator* vala_method_get_result_var (ValaMethod* self); | | ValaLocalVariable* vala_method_get_result_var (ValaMethod* self); | |
| void vala_method_set_result_var (ValaMethod* self, ValaVariableDeclarator* | | void vala_method_set_result_var (ValaMethod* self, ValaLocalVariable* value | |
| value); | | ); | |
| double vala_method_get_cinstance_parameter_position (ValaMethod* self); | | double vala_method_get_cinstance_parameter_position (ValaMethod* self); | |
| void vala_method_set_cinstance_parameter_position (ValaMethod* self, double
value); | | void vala_method_set_cinstance_parameter_position (ValaMethod* self, double
value); | |
| double vala_method_get_carray_length_parameter_position (ValaMethod* self); | | double vala_method_get_carray_length_parameter_position (ValaMethod* self); | |
| void vala_method_set_carray_length_parameter_position (ValaMethod* self, do
uble value); | | void vala_method_set_carray_length_parameter_position (ValaMethod* self, do
uble value); | |
| double vala_method_get_cdelegate_target_parameter_position (ValaMethod* sel
f); | | double vala_method_get_cdelegate_target_parameter_position (ValaMethod* sel
f); | |
| void vala_method_set_cdelegate_target_parameter_position (ValaMethod* self,
double value); | | void vala_method_set_cdelegate_target_parameter_position (ValaMethod* self,
double value); | |
| gboolean vala_method_get_no_array_length (ValaMethod* self); | | gboolean vala_method_get_no_array_length (ValaMethod* self); | |
| void vala_method_set_no_array_length (ValaMethod* self, gboolean value); | | void vala_method_set_no_array_length (ValaMethod* self, gboolean value); | |
| gboolean vala_method_get_printf_format (ValaMethod* self); | | gboolean vala_method_get_printf_format (ValaMethod* self); | |
| void vala_method_set_printf_format (ValaMethod* self, gboolean value); | | void vala_method_set_printf_format (ValaMethod* self, gboolean value); | |
| | | | |
End of changes. 4 change blocks. |
| 4 lines changed or deleted | | 6 lines changed or added | |
|
| valasemanticanalyzer.h | | valasemanticanalyzer.h | |
| | | | |
| skipping to change at line 32 | | skipping to change at line 32 | |
| */ | | */ | |
| | | | |
| #ifndef __VALA_VALASEMANTICANALYZER_H__ | | #ifndef __VALA_VALASEMANTICANALYZER_H__ | |
| #define __VALA_VALASEMANTICANALYZER_H__ | | #define __VALA_VALASEMANTICANALYZER_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| #include <stdlib.h> | | #include <stdlib.h> | |
| #include <string.h> | | #include <string.h> | |
| #include <vala/valacodevisitor.h> | | #include <vala/valacodevisitor.h> | |
|
| #include <vala/valabindingprovider.h> | | | |
| #include <vala/valacodecontext.h> | | #include <vala/valacodecontext.h> | |
| #include <vala/valasourcefile.h> | | #include <vala/valasourcefile.h> | |
| #include <vala/valaclass.h> | | #include <vala/valaclass.h> | |
| #include <vala/valastruct.h> | | #include <vala/valastruct.h> | |
| #include <vala/valainterface.h> | | #include <vala/valainterface.h> | |
| #include <vala/valaenum.h> | | #include <vala/valaenum.h> | |
| #include <vala/valaenumvalue.h> | | #include <vala/valaenumvalue.h> | |
| #include <vala/valadelegate.h> | | #include <vala/valadelegate.h> | |
| #include <vala/valaconstant.h> | | #include <vala/valaconstant.h> | |
| #include <vala/valafield.h> | | #include <vala/valafield.h> | |
| #include <vala/valamethod.h> | | #include <vala/valamethod.h> | |
| #include <vala/valacreationmethod.h> | | #include <vala/valacreationmethod.h> | |
| #include <vala/valaformalparameter.h> | | #include <vala/valaformalparameter.h> | |
| #include <vala/valaproperty.h> | | #include <vala/valaproperty.h> | |
| #include <vala/valapropertyaccessor.h> | | #include <vala/valapropertyaccessor.h> | |
| #include <vala/valasignal.h> | | #include <vala/valasignal.h> | |
| #include <vala/valaconstructor.h> | | #include <vala/valaconstructor.h> | |
| #include <vala/valadestructor.h> | | #include <vala/valadestructor.h> | |
| #include <vala/valanamedargument.h> | | #include <vala/valanamedargument.h> | |
| #include <vala/valablock.h> | | #include <vala/valablock.h> | |
|
| #include <vala/valavariabledeclarator.h> | | #include <vala/valalocalvariable.h> | |
| #include <vala/valainitializerlist.h> | | #include <vala/valainitializerlist.h> | |
| #include <vala/valaexpressionstatement.h> | | #include <vala/valaexpressionstatement.h> | |
| #include <vala/valaifstatement.h> | | #include <vala/valaifstatement.h> | |
| #include <vala/valaswitchsection.h> | | #include <vala/valaswitchsection.h> | |
| #include <vala/valawhilestatement.h> | | #include <vala/valawhilestatement.h> | |
| #include <vala/valadostatement.h> | | #include <vala/valadostatement.h> | |
| #include <vala/valaforstatement.h> | | #include <vala/valaforstatement.h> | |
| #include <vala/valaforeachstatement.h> | | #include <vala/valaforeachstatement.h> | |
| #include <vala/valareturnstatement.h> | | #include <vala/valareturnstatement.h> | |
| #include <vala/valathrowstatement.h> | | #include <vala/valathrowstatement.h> | |
| | | | |
| skipping to change at line 123 | | skipping to change at line 122 | |
| */ | | */ | |
| struct _ValaSemanticAnalyzer { | | struct _ValaSemanticAnalyzer { | |
| ValaCodeVisitor parent_instance; | | ValaCodeVisitor parent_instance; | |
| ValaSemanticAnalyzerPrivate * priv; | | ValaSemanticAnalyzerPrivate * priv; | |
| }; | | }; | |
| struct _ValaSemanticAnalyzerClass { | | struct _ValaSemanticAnalyzerClass { | |
| ValaCodeVisitorClass parent_class; | | ValaCodeVisitorClass parent_class; | |
| }; | | }; | |
| | | | |
| ValaSemanticAnalyzer* vala_semantic_analyzer_new (void); | | ValaSemanticAnalyzer* vala_semantic_analyzer_new (void); | |
|
| void vala_semantic_analyzer_add_binding_provider (ValaSemanticAnalyzer* sel
f, ValaBindingProvider* binding_provider); | | | |
| void vala_semantic_analyzer_analyze (ValaSemanticAnalyzer* self, ValaCodeCo
ntext* context); | | void vala_semantic_analyzer_analyze (ValaSemanticAnalyzer* self, ValaCodeCo
ntext* context); | |
| ValaSymbol* vala_semantic_analyzer_symbol_lookup_inherited (ValaSymbol* sym
, const char* name); | | ValaSymbol* vala_semantic_analyzer_symbol_lookup_inherited (ValaSymbol* sym
, const char* name); | |
| ValaDataType* vala_semantic_analyzer_get_actual_type (ValaDataType* derived
_instance_type, ValaSymbol* generic_member, ValaDataType* generic_type, Val
aCodeNode* node_reference); | | ValaDataType* vala_semantic_analyzer_get_actual_type (ValaDataType* derived
_instance_type, ValaSymbol* generic_member, ValaDataType* generic_type, Val
aCodeNode* node_reference); | |
| GType vala_semantic_analyzer_get_type (void); | | GType vala_semantic_analyzer_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 3 change blocks. |
| 3 lines changed or deleted | | 1 lines changed or added | |
|
| valasourcefile.h | | valasourcefile.h | |
| | | | |
| skipping to change at line 66 | | skipping to change at line 66 | |
| typedef enum { | | typedef enum { | |
| VALA_SOURCE_FILE_DEPENDENCY_TYPE_HEADER_FULL, | | VALA_SOURCE_FILE_DEPENDENCY_TYPE_HEADER_FULL, | |
| VALA_SOURCE_FILE_DEPENDENCY_TYPE_HEADER_SHALLOW, | | VALA_SOURCE_FILE_DEPENDENCY_TYPE_HEADER_SHALLOW, | |
| VALA_SOURCE_FILE_DEPENDENCY_TYPE_SOURCE | | VALA_SOURCE_FILE_DEPENDENCY_TYPE_SOURCE | |
| } ValaSourceFileDependencyType; | | } ValaSourceFileDependencyType; | |
| | | | |
| ValaSourceFile* vala_source_file_new (ValaCodeContext* context, const char*
filename, gboolean pkg); | | ValaSourceFile* vala_source_file_new (ValaCodeContext* context, const char*
filename, gboolean pkg); | |
| void vala_source_file_add_using_directive (ValaSourceFile* self, ValaNamesp
aceReference* ns); | | void vala_source_file_add_using_directive (ValaSourceFile* self, ValaNamesp
aceReference* ns); | |
| GeeCollection* vala_source_file_get_using_directives (ValaSourceFile* self)
; | | GeeCollection* vala_source_file_get_using_directives (ValaSourceFile* self)
; | |
| void vala_source_file_add_node (ValaSourceFile* self, ValaCodeNode* node); | | void vala_source_file_add_node (ValaSourceFile* self, ValaCodeNode* node); | |
|
| | | void vala_source_file_remove_node (ValaSourceFile* self, ValaCodeNode* node
); | |
| GeeCollection* vala_source_file_get_nodes (ValaSourceFile* self); | | GeeCollection* vala_source_file_get_nodes (ValaSourceFile* self); | |
| void vala_source_file_accept (ValaSourceFile* self, ValaCodeVisitor* visito
r); | | void vala_source_file_accept (ValaSourceFile* self, ValaCodeVisitor* visito
r); | |
| void vala_source_file_accept_children (ValaSourceFile* self, ValaCodeVisito
r* visitor); | | void vala_source_file_accept_children (ValaSourceFile* self, ValaCodeVisito
r* visitor); | |
| char* vala_source_file_get_cheader_filename (ValaSourceFile* self); | | char* vala_source_file_get_cheader_filename (ValaSourceFile* self); | |
| char* vala_source_file_get_csource_filename (ValaSourceFile* self); | | char* vala_source_file_get_csource_filename (ValaSourceFile* self); | |
| char* vala_source_file_get_cinclude_filename (ValaSourceFile* self); | | char* vala_source_file_get_cinclude_filename (ValaSourceFile* self); | |
| void vala_source_file_add_symbol_dependency (ValaSourceFile* self, ValaSymb
ol* sym, ValaSourceFileDependencyType dep_type); | | void vala_source_file_add_symbol_dependency (ValaSourceFile* self, ValaSymb
ol* sym, ValaSourceFileDependencyType dep_type); | |
| void vala_source_file_add_type_dependency (ValaSourceFile* self, ValaDataTy
pe* type, ValaSourceFileDependencyType dep_type); | | void vala_source_file_add_type_dependency (ValaSourceFile* self, ValaDataTy
pe* type, ValaSourceFileDependencyType dep_type); | |
| GeeCollection* vala_source_file_get_header_external_includes (ValaSourceFil
e* self); | | GeeCollection* vala_source_file_get_header_external_includes (ValaSourceFil
e* self); | |
| void vala_source_file_add_header_internal_include (ValaSourceFile* self, co
nst char* include); | | void vala_source_file_add_header_internal_include (ValaSourceFile* self, co
nst char* include); | |
| GeeCollection* vala_source_file_get_header_internal_includes (ValaSourceFil
e* self); | | GeeCollection* vala_source_file_get_header_internal_includes (ValaSourceFil
e* self); | |
| GeeCollection* vala_source_file_get_source_external_includes (ValaSourceFil
e* self); | | GeeCollection* vala_source_file_get_source_external_includes (ValaSourceFil
e* self); | |
| GeeCollection* vala_source_file_get_source_internal_includes (ValaSourceFil
e* self); | | GeeCollection* vala_source_file_get_source_internal_includes (ValaSourceFil
e* self); | |
| GeeCollection* vala_source_file_get_header_internal_full_dependencies (Vala
SourceFile* self); | | GeeCollection* vala_source_file_get_header_internal_full_dependencies (Vala
SourceFile* self); | |
| GeeCollection* vala_source_file_get_header_internal_dependencies (ValaSourc
eFile* self); | | GeeCollection* vala_source_file_get_header_internal_dependencies (ValaSourc
eFile* self); | |
| char* vala_source_file_get_source_line (ValaSourceFile* self, gint lineno); | | char* vala_source_file_get_source_line (ValaSourceFile* self, gint lineno); | |
|
| | | gchar* vala_source_file_get_mapped_contents (ValaSourceFile* self); | |
| | | gsize vala_source_file_get_mapped_length (ValaSourceFile* self); | |
| char* vala_source_file_get_filename (ValaSourceFile* self); | | char* vala_source_file_get_filename (ValaSourceFile* self); | |
| void vala_source_file_set_filename (ValaSourceFile* self, const char* value
); | | void vala_source_file_set_filename (ValaSourceFile* self, const char* value
); | |
| char* vala_source_file_get_comment (ValaSourceFile* self); | | char* vala_source_file_get_comment (ValaSourceFile* self); | |
| void vala_source_file_set_comment (ValaSourceFile* self, const char* value)
; | | void vala_source_file_set_comment (ValaSourceFile* self, const char* value)
; | |
|
| gboolean vala_source_file_get_pkg (ValaSourceFile* self); | | gboolean vala_source_file_get_external_package (ValaSourceFile* self); | |
| void vala_source_file_set_pkg (ValaSourceFile* self, gboolean value); | | void vala_source_file_set_external_package (ValaSourceFile* self, gboolean | |
| | | value); | |
| ValaSourceFileCycle* vala_source_file_get_cycle (ValaSourceFile* self); | | ValaSourceFileCycle* vala_source_file_get_cycle (ValaSourceFile* self); | |
| void vala_source_file_set_cycle (ValaSourceFile* self, ValaSourceFileCycle*
value); | | void vala_source_file_set_cycle (ValaSourceFile* self, ValaSourceFileCycle*
value); | |
| gboolean vala_source_file_get_is_cycle_head (ValaSourceFile* self); | | gboolean vala_source_file_get_is_cycle_head (ValaSourceFile* self); | |
| void vala_source_file_set_is_cycle_head (ValaSourceFile* self, gboolean val
ue); | | void vala_source_file_set_is_cycle_head (ValaSourceFile* self, gboolean val
ue); | |
| gint vala_source_file_get_mark (ValaSourceFile* self); | | gint vala_source_file_get_mark (ValaSourceFile* self); | |
| void vala_source_file_set_mark (ValaSourceFile* self, gint value); | | void vala_source_file_set_mark (ValaSourceFile* self, gint value); | |
| ValaCodeContext* vala_source_file_get_context (ValaSourceFile* self); | | ValaCodeContext* vala_source_file_get_context (ValaSourceFile* self); | |
| void vala_source_file_set_context (ValaSourceFile* self, ValaCodeContext* v
alue); | | void vala_source_file_set_context (ValaSourceFile* self, ValaCodeContext* v
alue); | |
| GType vala_source_file_get_type (void); | | GType vala_source_file_get_type (void); | |
| GType vala_source_file_dependency_type_get_type (void); | | GType vala_source_file_dependency_type_get_type (void); | |
| | | | |
End of changes. 3 change blocks. |
| 2 lines changed or deleted | | 6 lines changed or added | |
|
| valatypesymbol.h | | valatypesymbol.h | |
| /* valatype.vala | | /* valatype.vala | |
| * | | * | |
|
| * Copyright (C) 2006-2007 Jürg Billeter, Raffaele Sandrini | | * Copyright (C) 2006-2008 Jürg Billeter, Raffaele Sandrini | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * 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, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
| skipping to change at line 61 | | skipping to change at line 61 | |
| struct _ValaTypesymbol { | | struct _ValaTypesymbol { | |
| ValaSymbol parent_instance; | | ValaSymbol parent_instance; | |
| ValaTypesymbolPrivate * priv; | | ValaTypesymbolPrivate * priv; | |
| }; | | }; | |
| struct _ValaTypesymbolClass { | | struct _ValaTypesymbolClass { | |
| ValaSymbolClass parent_class; | | ValaSymbolClass parent_class; | |
| char* (*get_cname) (ValaTypesymbol* self, gboolean const_type); | | char* (*get_cname) (ValaTypesymbol* self, gboolean const_type); | |
| gboolean (*is_reference_type) (ValaTypesymbol* self); | | gboolean (*is_reference_type) (ValaTypesymbol* self); | |
| char* (*get_dup_function) (ValaTypesymbol* self); | | char* (*get_dup_function) (ValaTypesymbol* self); | |
| char* (*get_free_function) (ValaTypesymbol* self); | | char* (*get_free_function) (ValaTypesymbol* self); | |
|
| | | char* (*get_copy_function) (ValaTypesymbol* self); | |
| | | char* (*get_destroy_function) (ValaTypesymbol* self); | |
| gboolean (*is_reference_counting) (ValaTypesymbol* self); | | gboolean (*is_reference_counting) (ValaTypesymbol* self); | |
| char* (*get_ref_function) (ValaTypesymbol* self); | | char* (*get_ref_function) (ValaTypesymbol* self); | |
| char* (*get_unref_function) (ValaTypesymbol* self); | | char* (*get_unref_function) (ValaTypesymbol* self); | |
| char* (*get_type_id) (ValaTypesymbol* self); | | char* (*get_type_id) (ValaTypesymbol* self); | |
| char* (*get_marshaller_type_name) (ValaTypesymbol* self); | | char* (*get_marshaller_type_name) (ValaTypesymbol* self); | |
| char* (*get_get_value_function) (ValaTypesymbol* self); | | char* (*get_get_value_function) (ValaTypesymbol* self); | |
| char* (*get_set_value_function) (ValaTypesymbol* self); | | char* (*get_set_value_function) (ValaTypesymbol* self); | |
| char* (*get_upper_case_cname) (ValaTypesymbol* self, const char* inf
ix); | | char* (*get_upper_case_cname) (ValaTypesymbol* self, const char* inf
ix); | |
| char* (*get_default_value) (ValaTypesymbol* self); | | char* (*get_default_value) (ValaTypesymbol* self); | |
| gboolean (*is_subtype_of) (ValaTypesymbol* self, ValaTypesymbol* t); | | gboolean (*is_subtype_of) (ValaTypesymbol* self, ValaTypesymbol* t); | |
| gint (*get_type_parameter_index) (ValaTypesymbol* self, const char*
name); | | gint (*get_type_parameter_index) (ValaTypesymbol* self, const char*
name); | |
|
| | | char* (*get_type_signature) (ValaTypesymbol* self); | |
| }; | | }; | |
| | | | |
| char* vala_typesymbol_get_cname (ValaTypesymbol* self, gboolean const_type)
; | | char* vala_typesymbol_get_cname (ValaTypesymbol* self, gboolean const_type)
; | |
| gboolean vala_typesymbol_is_reference_type (ValaTypesymbol* self); | | gboolean vala_typesymbol_is_reference_type (ValaTypesymbol* self); | |
| char* vala_typesymbol_get_dup_function (ValaTypesymbol* self); | | char* vala_typesymbol_get_dup_function (ValaTypesymbol* self); | |
| char* vala_typesymbol_get_free_function (ValaTypesymbol* self); | | char* vala_typesymbol_get_free_function (ValaTypesymbol* self); | |
|
| | | char* vala_typesymbol_get_copy_function (ValaTypesymbol* self); | |
| | | char* vala_typesymbol_get_destroy_function (ValaTypesymbol* self); | |
| gboolean vala_typesymbol_is_reference_counting (ValaTypesymbol* self); | | gboolean vala_typesymbol_is_reference_counting (ValaTypesymbol* self); | |
| char* vala_typesymbol_get_ref_function (ValaTypesymbol* self); | | char* vala_typesymbol_get_ref_function (ValaTypesymbol* self); | |
| char* vala_typesymbol_get_unref_function (ValaTypesymbol* self); | | char* vala_typesymbol_get_unref_function (ValaTypesymbol* self); | |
| char* vala_typesymbol_get_type_id (ValaTypesymbol* self); | | char* vala_typesymbol_get_type_id (ValaTypesymbol* self); | |
| char* vala_typesymbol_get_marshaller_type_name (ValaTypesymbol* self); | | char* vala_typesymbol_get_marshaller_type_name (ValaTypesymbol* self); | |
| char* vala_typesymbol_get_get_value_function (ValaTypesymbol* self); | | char* vala_typesymbol_get_get_value_function (ValaTypesymbol* self); | |
| char* vala_typesymbol_get_set_value_function (ValaTypesymbol* self); | | char* vala_typesymbol_get_set_value_function (ValaTypesymbol* self); | |
| char* vala_typesymbol_get_upper_case_cname (ValaTypesymbol* self, const cha
r* infix); | | char* vala_typesymbol_get_upper_case_cname (ValaTypesymbol* self, const cha
r* infix); | |
| char* vala_typesymbol_get_default_value (ValaTypesymbol* self); | | char* vala_typesymbol_get_default_value (ValaTypesymbol* self); | |
| void vala_typesymbol_add_cheader_filename (ValaTypesymbol* self, const char
* filename); | | void vala_typesymbol_add_cheader_filename (ValaTypesymbol* self, const char
* filename); | |
| gboolean vala_typesymbol_is_subtype_of (ValaTypesymbol* self, ValaTypesymbo
l* t); | | gboolean vala_typesymbol_is_subtype_of (ValaTypesymbol* self, ValaTypesymbo
l* t); | |
| gint vala_typesymbol_get_type_parameter_index (ValaTypesymbol* self, const
char* name); | | gint vala_typesymbol_get_type_parameter_index (ValaTypesymbol* self, const
char* name); | |
|
| | | char* vala_typesymbol_get_type_signature (ValaTypesymbol* self); | |
| | | ValaTypesymbol* vala_typesymbol_new (void); | |
| GType vala_typesymbol_get_type (void); | | GType vala_typesymbol_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 5 change blocks. |
| 1 lines changed or deleted | | 8 lines changed or added | |
|