macro.ClassField

ClassField

package haxe-macro

import haxe.macro.Type

Available on all platforms

Represents a class field.

Properties

doc:Null<String>

The associated documentation of the class field.

isPublic:Bool

Whether or not the class field is public.

kind:FieldKind

The class field kind-

meta:MetaAccess

The metadata of the class field.

name:String

The name of the class field.

overloads:Ref<Array<ClassField>>

The overload fields of the class field.

params:Array<TypeParameter>

The type parameters of the class field.

pos:Position

The position of the class field.

type:Type

The type of the class field.

expr ():Null<TypedExpr>

Returns the typed expression of the class field.

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部