macro.Constant
Constant
package haxe-macro
import haxe.macro.Expr
Available on all platformsRepresents a constant.
See:
Values
CInt(v:String)
Represents an integer literal.
CFloat(f:String)
Represents a float literal.
CString(s:String)
Represents a string literal.
CIdent(s:String)
Represents an indentifier.
CRegexp(r:String, opt:String)
Represents a regular expression literal.
Example: ~/haxe/i
The first argument haxe is a string with regular expression pattern. The second argument i is a string with regular expression flags.
See:
© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/haxe/macro/Constant.html