NAME ^

languages/cola/type.c

DESCRIPTION ^

TODO

Functions ^

Type *store_type(const char *name, int size)

size is bytes or elements, depending on if type is variable or array

Type *lookup_type(const char *name)

Start at inner scope and work out, looking for a type name. FIXME: Add support for member resolution (namespace.namespace.type, etc.)

Type *lookup_type_symbol(Symbol *id)

identifier can be a list which would resolve it to nested namespace.

const char *type_name(Type *t)

TODO: Not yet documented!!!

Rank *new_rank(int dim)

TODO: Not yet documented!!!

Type *new_array_type(Symbol *typename, Symbol *sig)

TODO: Not yet documented!!!

void resolve_identifier(Symbol ** ps)

TODO: Not yet documented!!!


parrot