Example #1
0
 void visit(TypeAArray *t)
 {
     t->ctype = type_assoc_array(Type_toCtype(t->index), Type_toCtype(t->next));
 }
Example #2
0
type *TypeAArray::toCtype()
{
    if (!ctype)
        ctype = type_assoc_array(index->toCtype(), next->toCtype());
    return ctype;
}