~ubuntu-branches/ubuntu/maverick/vala/maverick

« back to all changes in this revision

Viewing changes to vala/valacodevisitor.c

  • Committer: Bazaar Package Importer
  • Author(s): Julien Lavergne
  • Date: 2010-02-13 17:59:22 UTC
  • mfrom: (7.3.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100213175922-n8bq2xv2q1hihhqb
Tags: 0.7.10-1ubuntu1
* Sync with Debian unstable.
* Remaining changes :
 - debian/rules: Don't make unit test failures fatal to fix FTBFS. It was
   needed if vala need to enter main but it's not the case for now. 
   (See #374151)

Show diffs side-by-side

added added

removed removed

Lines of Context:
641
641
typedef struct _ValaStringLiteral ValaStringLiteral;
642
642
typedef struct _ValaStringLiteralClass ValaStringLiteralClass;
643
643
 
 
644
#define VALA_TYPE_TEMPLATE (vala_template_get_type ())
 
645
#define VALA_TEMPLATE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_TEMPLATE, ValaTemplate))
 
646
#define VALA_TEMPLATE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_TEMPLATE, ValaTemplateClass))
 
647
#define VALA_IS_TEMPLATE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_TEMPLATE))
 
648
#define VALA_IS_TEMPLATE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_TEMPLATE))
 
649
#define VALA_TEMPLATE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_TEMPLATE, ValaTemplateClass))
 
650
 
 
651
typedef struct _ValaTemplate ValaTemplate;
 
652
typedef struct _ValaTemplateClass ValaTemplateClass;
 
653
 
644
654
#define VALA_TYPE_NULL_LITERAL (vala_null_literal_get_type ())
645
655
#define VALA_NULL_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_NULL_LITERAL, ValaNullLiteral))
646
656
#define VALA_NULL_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_NULL_LITERAL, ValaNullLiteralClass))
916
926
        void (*visit_integer_literal) (ValaCodeVisitor* self, ValaIntegerLiteral* lit);
917
927
        void (*visit_real_literal) (ValaCodeVisitor* self, ValaRealLiteral* lit);
918
928
        void (*visit_string_literal) (ValaCodeVisitor* self, ValaStringLiteral* lit);
 
929
        void (*visit_template) (ValaCodeVisitor* self, ValaTemplate* tmpl);
919
930
        void (*visit_null_literal) (ValaCodeVisitor* self, ValaNullLiteral* lit);
920
931
        void (*visit_member_access) (ValaCodeVisitor* self, ValaMemberAccess* expr);
921
932
        void (*visit_method_call) (ValaCodeVisitor* self, ValaMethodCall* expr);
1023
1034
GType vala_integer_literal_get_type (void);
1024
1035
GType vala_real_literal_get_type (void);
1025
1036
GType vala_string_literal_get_type (void);
 
1037
GType vala_template_get_type (void);
1026
1038
GType vala_null_literal_get_type (void);
1027
1039
GType vala_member_access_get_type (void);
1028
1040
GType vala_method_call_get_type (void);
1157
1169
static void vala_code_visitor_real_visit_real_literal (ValaCodeVisitor* self, ValaRealLiteral* lit);
1158
1170
void vala_code_visitor_visit_string_literal (ValaCodeVisitor* self, ValaStringLiteral* lit);
1159
1171
static void vala_code_visitor_real_visit_string_literal (ValaCodeVisitor* self, ValaStringLiteral* lit);
 
1172
void vala_code_visitor_visit_template (ValaCodeVisitor* self, ValaTemplate* tmpl);
 
1173
static void vala_code_visitor_real_visit_template (ValaCodeVisitor* self, ValaTemplate* tmpl);
1160
1174
void vala_code_visitor_visit_null_literal (ValaCodeVisitor* self, ValaNullLiteral* lit);
1161
1175
static void vala_code_visitor_real_visit_null_literal (ValaCodeVisitor* self, ValaNullLiteral* lit);
1162
1176
void vala_code_visitor_visit_member_access (ValaCodeVisitor* self, ValaMemberAccess* expr);
1811
1825
}
1812
1826
 
1813
1827
 
 
1828
static void vala_code_visitor_real_visit_template (ValaCodeVisitor* self, ValaTemplate* tmpl) {
 
1829
        g_return_if_fail (self != NULL);
 
1830
        g_return_if_fail (tmpl != NULL);
 
1831
}
 
1832
 
 
1833
 
 
1834
void vala_code_visitor_visit_template (ValaCodeVisitor* self, ValaTemplate* tmpl) {
 
1835
        VALA_CODE_VISITOR_GET_CLASS (self)->visit_template (self, tmpl);
 
1836
}
 
1837
 
 
1838
 
1814
1839
static void vala_code_visitor_real_visit_null_literal (ValaCodeVisitor* self, ValaNullLiteral* lit) {
1815
1840
        g_return_if_fail (self != NULL);
1816
1841
        g_return_if_fail (lit != NULL);
2211
2236
        VALA_CODE_VISITOR_CLASS (klass)->visit_integer_literal = vala_code_visitor_real_visit_integer_literal;
2212
2237
        VALA_CODE_VISITOR_CLASS (klass)->visit_real_literal = vala_code_visitor_real_visit_real_literal;
2213
2238
        VALA_CODE_VISITOR_CLASS (klass)->visit_string_literal = vala_code_visitor_real_visit_string_literal;
 
2239
        VALA_CODE_VISITOR_CLASS (klass)->visit_template = vala_code_visitor_real_visit_template;
2214
2240
        VALA_CODE_VISITOR_CLASS (klass)->visit_null_literal = vala_code_visitor_real_visit_null_literal;
2215
2241
        VALA_CODE_VISITOR_CLASS (klass)->visit_member_access = vala_code_visitor_real_visit_member_access;
2216
2242
        VALA_CODE_VISITOR_CLASS (klass)->visit_method_call = vala_code_visitor_real_visit_method_call;