rtti.ClassField

ClassField

package haxe-rtti

import haxe.rtti.CType

Available on all platforms

The runtime class field information.

See:

Properties

doc:Null<String>

The documentation of the field. This information is only available if the compiler flag -D use_rtti_doc was in place. Otherwise, or if the field has no documentation, the value is null.

expr:Null<String>

The actual expression of the field or null if there is no expression.

get:Rights

The read access behavior of the field.

isOverride:Bool

Whether or not the field overrides another field.

isPublic:Bool

Whether or not the field is public.

line:Null<Int>

The line number where the field is defined. This information is only available if the field has an expression. Otherwise the value is null.

meta:MetaData

The meta data the field was annotated with.

name:String

The name of the field.

overloads:Null<List<ClassField>>

The list of available overloads for the fields or null if no overloads exists.

params:TypeParams

An array of strings representing the names of the type parameters the field has.

platforms:Platforms

A list of strings representing the targets where the field is available.

set:Rights

The write access behavior of the field.

type:CType

The type of the field.

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部