macro.ComplexType

ComplexType

package haxe-macro

import haxe.macro.Expr

Available on all platforms

Represents a type syntax in the AST.

Values

TPath(p:TypePath)

Represents the type path.

TFunction(args:Array<ComplexType>, ret:ComplexType)

Represents a function type.

See:

TAnonymous(fields:Array<Field>)

Represents an anonymous structure type-

See:

TParent(t:ComplexType)

Represents parentheses around a type, e.g. the (Int -> Void) part in (Int -> Void) -> String.

TExtend(p:Array<TypePath>, fields:Array<Field>)

Represents typedef extensions > Iterable<T>. The array p holds the type paths to the given types.

See:

TOptional(t:ComplexType)

Represents an optional type.

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部