rtti.TypeApi

TypeApi

package haxe-rtti

import haxe.rtti.CType

Available on all platforms

Contains type and equality checks functionalities for RTTI.

Static methods

static 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.

static 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.

static isVar (t:CType):Bool

Returns true if the given CType is a variable or false if it is a function.

static rightsEq (r1:Rights, r2:Rights):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.

static typeEq (t1:CType, t2:CType):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.

static typeInfos (t:TypeTree):TypeInfos

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/haxe/rtti/TypeApi.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部