W3cubDocs

/Haxe

TVar

package haxe.macro

import haxe.macro.Type

Available on all platforms

Represents a variable in the typed AST.

Fields

read onlyt:Type

The type of the variable.

read onlyname:String

The name of the variable.

read onlymeta:Null<MetaAccess>

The metadata of the variable.

read onlyid:Int

The unique ID of the variable.

read onlyextra:Null<{params:Array<TypeParameter>, expr:Null<TypedExpr>}>

Special information which is internally used to keep track of closure. information

read onlycapture:Bool

Whether or not the variable has been captured by a closure.

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