W3cubDocs

/Haxe

TFunc

package haxe.macro

import haxe.macro.Type

Available on all platforms

Represents a function in the typed AST.

Fields

t:Type

The return type of the function.

expr:TypedExpr

The expression of the function body.

args:Array<{value:Null<TypedExpr>, v:TVar}>

A list of function arguments identified by an argument variable `v` and an optional initialization `value`.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/macro/TFunc.html