5.2 Constants
The Haxe syntax supports the following constants:
- Int: An integer, such as
0,1,97121,-12,0xFF0000. - Float: A floating point number, such as
0.0,1.,.3,-93.2. - String: A string of characters, such as
"","foo",'','bar'. - true,false: A boolean value.
- null: The null value.
Furthermore, the internal syntax structure treats identifiers as constants, which may be relevant when working with macros.