macro.Function

Function

package haxe-macro

import haxe.macro.Expr

Available on all platforms

Represents a function in the AST.

Properties

args:Array<FunctionArg>

A list of function arguments.

expr:Null<Expr>

The expression of the function body, if available.

params:Null<Array<TypeParamDecl>>

An optional list of function parameter type declarations.

ret:Null<ComplexType>

The return type-hint of the function, if available.

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部