Predefined TypesΒΆ

There are three predefined types in Tiger.

int

The type of all the literal integers.

string

The type of all the literal strings.

Object

The super class type on top of every class hierarchy (i.e. the top-most super class in the transitive closure of the generalization relationship).