Haxe mode
1
import one.two.Three;2
3
("test")4
class Foo<T> extends Three5
{6
public function new()7
{8
noFoo = 12;9
}10
11
public static inline function doFoo(obj:{k:Int, l:Float}):Int12
{13
for(i in 0...10)14
{15
obj.k++;16
trace(i);17
var var1 = new Array();18
if(var1.length > 1)19
throw "Error";20
}21
// The following line should not be colored, the variable is scoped out22
var1;23
/* Multi line24
* Comment test25
*/26
return obj.k;27
}28
private function bar():Void29
{30
31
var t1:String = "1.21";32
Hxml mode:
8
1
-cp test2
-js path/to/file.js3
#-remap nme:flash4
--next5
-D source-map-content6
-cmd 'test'7
-lib lime8
MIME types defined: text/x-haxe, text/x-hxml.
