macro.FieldAccess

FieldAccess

package haxe-macro

import haxe.macro.Type

Available on all platforms

Represents the kind of field access in the typed AST.

Values

FInstance(c:Ref<ClassType>, params:Array<Type>, cf:Ref<ClassField>)

Access of field cf on a class instance c with type parameters params.

FStatic(c:Ref<ClassType>, cf:Ref<ClassField>)

Static access of a field cf on a class c.

FAnon(cf:Ref<ClassField>)

Access of field cf on an anonymous structure.

FDynamic(s:String)

Dynamic field access of a field named s.

FClosure(c:Null<{params:Array<Type>, c:Ref<ClassType>}>, cf:Ref<ClassField>)

Closure field access of field cf on a class instance c with type parameters params.

FEnum(e:Ref<EnumType>, ef:EnumField)

Field access to an enum constructor ef of enum e-

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部