TypeApi

haxe.rtti.TypeApi (Class)

Contains type and equality checks functionalities for RTTI.

Static Members

typeInfos(t: Anonymous): TypeInfos
Name Type
t Anonymous
Returns
TypeInfos

rightsEq(r1: Anonymous, r2: Anonymous): Bool

Unlike r1 == r2, this function performs a deep equality check on the given Rights instances.

If r1 or r2 are null, the result is unspecified.

Name Type
r1 Anonymous
r2 Anonymous
Returns
Bool

typeEq(t1: Anonymous, t2: Anonymous): Bool

Unlike t1 == t2, this function performs a deep equality check on the given CType instances.

If t1 or t2 are null, the result is unspecified.

Name Type
t1 Anonymous
t2 Anonymous
Returns
Bool

fieldEq(f1: ClassField, f2: ClassField): Bool

Unlike f1 == f2, this function performs a deep equality check on the given ClassField instances.

If f1 or f2 are null, the result is unspecified.

Name Type
f1 ClassField
f2 ClassField
Returns
Bool

constructorEq(c1: EnumField, c2: EnumField): Bool

Unlike c1 == c2, this function performs a deep equality check on the arguments of the enum constructors, if exists.

If c1 or c2 are null, the result is unspecified.

Name Type
c1 EnumField
c2 EnumField
Returns
Bool

Private Members

leq(f: Function, l1: Array<leq.T>, l2: Array<leq.T>): Bool
Name Type
f Function
l1 Array<leq.T>
l2 Array<leq.T>
Returns
Bool