macro.FunctionArg

FunctionArg

package haxe-macro

import haxe.macro.Expr

Available on all platforms

Represents a function argument in the AST.

Properties

meta:Null<Metadata>

The metadata of the function argument.

name:String

The name of the function argument.

opt:Null<Bool>

Whether or not the function argument is optional.

type:Null<ComplexType>

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

value:Null<Null<Expr>>

The optional value of the function argument, if available.

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部