gobject-ast 0.1.2

AST representation of GObject C code
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
void test(void)
{
    int i;

    /* expression initializer */
    for (i = 0; i < 10; i++) {}

    /* C99 declaration initializer */
    for (int j = 0; j < 10; j++) {}

    /* pointer declaration initializer */
    GList *list = NULL;
    for (GList *l = list; l != NULL; l = l->next) {}

    /* no initializer */
    for (; i < 20; i++) {}
}