This is haxe-mode, an Emacs major mode for the Haxe programming language (http://haxe.org). haxe-mode is built on top of the excellent cc-mode, inspired by the guide http://cc-mode.sourceforge.net/derived-mode-ex.el.