macro.ExprTools

ExprTools

package haxe-macro

Available on all platforms

This class provides some utility methods to work with expressions. It is best used through 'using haxe.macro.ExprTools' syntax and then provides additional methods on haxe.macro.Expr instances.

While mainly intended to be used in macros, it works in non-macro code as well.

Static methods

static getValue (e:Expr):Dynamic

Returns the value e represents.

Supported expressions are: