text/x-haxe
*.hx
//
/*
*/
\\(x?\d+|[\\\?\"\'nt])
\\[^\\\?\"\'ntx\d]
\%{escaped-char}
\%{escaped-char-error}
import
package
extern
using
^\s*#\s*
if
else
elseif
end
class
enum
extends
function
implements
interface
typedef
var
macro
[A-Z][a-zA-Z0-9]*
static
inline
abstract
private
public
dynamic
override
break
case
cast
catch
continue
default
do
else
for
if
in
return
switch
throw
try
untyped
while
new
super
this
"
"
'
'
(\b([0-9]+|0[xX][0-9a-fA-F]+)[Ll]?\b| \b(([0-9]+[Ee][-]?[0-9]+| ([0-9]*\.[0-9]+|[0-9]+\.)([Ee][-]?[0-9]+)?)[fFdD]?| [0-9]+[FfDd]))
false
true
null
@\w+
@:\w+
_hx_\w+