W3cubDocs

/Haxe

FunctionArg

package haxe.macro

import haxe.macro.Expr

Available on all platforms

Represents a function argument in the AST.

Fields

optionalvalue:Null<Expr>

The optional value of the function argument, if available.

type:Null<ComplexType>

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

optionalopt:Null<Bool>

Whether or not the function argument is optional.

name:String

The name of the function argument.

optionalmeta:Null<Metadata>

The metadata of the function argument.

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