The Haxe syntax supports the following constants:
0
, 1
, 97121
, -12
, 0xFF0000
.0.0
, 1.
, .3
, -93.2
.""
, "foo"
, ''
, 'bar'
.Furthermore, the internal syntax structure treats identifiers as constants, which may be relevant when working with macros.