W3cubDocs

/Haxe

TConstant

package haxe.macro

import haxe.macro.Type

Available on all platforms

Represents typed constant.

Values

TInt(i:Int)

An Int literal.

TFloat(s:String)

A Float literal, represented as String to avoid precision loss.

TString(s:String)

A String literal.

TBool(b:Bool)

A Bool literal.

TNull

The constant null.

TThis

The constant this.

TSuper

The constant super.

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