Represents a variable in the AST.

See also:

Fields

@:optionaloptionaltype:Null<ComplexType>

The type-hint of the variable, if available.

@:optionaloptionalnamePos:Null<Position>

The position of the variable name.

name:String

The name of the variable.

@:optionaloptionalmeta:Null<Metadata>

Metadata associatied with the variable, if available.

@:optionaloptionalisStatic:Null<Bool>

Whether or not the variable is static.

@:optionaloptionalisFinal:Null<Bool>

Whether or not the variable can be assigned to.

@:optionaloptionalexpr:Null<Expr>

The expression of the variable, if available.