W3cubDocs

/Haxe

Var

package haxe.macro

import haxe.macro.Expr

Available on all platforms

Represents a variable in the AST.

See also:

Fields

type:Null<ComplexType>

The type-hint of the variable, if available.

name:String

The name of the variable.

optionalisFinal:Null<Bool>

Whether or not the variable can be assigned to.

expr:Null<Expr>

The expression of the variable, if available.

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