Interface
TypeUtil
access this type via:
util.compiler.TypeUtil
(provides, requires or uses)
Functions
char[] typeCheck(
OpToken
op,
DanaType
types[])
int getDataFieldIndex(
DanaType
t, char name[])
DanaTypeField
getDataField(
DanaType
t, char name[])
DanaTypeField
getDataFieldAt(
DanaType
t, int index)
int getDataFieldCount(
DanaType
t)
int getTypeDistance(
DanaType
a,
DanaType
b,
DanaType
types[])
int getFieldIndex(
DanaType
fromType, char fieldName[],
DanaType
types[])
bool isSuperTypeOf(
DanaType
x,
DanaType
y,
DanaType
types[])
char[] typeCheck(
OpToken
op,
DanaType
types[])
int getDataFieldIndex(
DanaType
t, char name[])
DanaTypeField
getDataField(
DanaType
t, char name[])
DanaTypeField
getDataFieldAt(
DanaType
t, int index)
int getDataFieldCount(
DanaType
t)
int getTypeDistance(
DanaType
a,
DanaType
b,
DanaType
types[])
int getFieldIndex(
DanaType
fromType, char fieldName[],
DanaType
types[])
bool isSuperTypeOf(
DanaType
x,
DanaType
y,
DanaType
types[])