TREE TYPE

#define TREE_TYPE(NODE) (CONTAINS_STRUCT_CHECK (NODE, TS_TYPED)->typed.type)

In expression nodes, returns the data type of the expression.

In POINTER_TYPE nodes, returns the type that the pointer points to.

In ARRAY_TYPE nodes, returns the type of the elements.

In VECTOR_TYPE nodes, returns the type of the elements.

Defined in tree.h.