'/**\n * This is not really a valid Haxe file, but just an demo...\n */' Comment.Multiline '\n\n' Text.Whitespace 'package' Keyword.Namespace ';' Punctuation '\n' Text.Whitespace 'package' Keyword.Namespace ' ' Text.Whitespace 'net' Name.Namespace '.' Punctuation 'onthewings' Name.Namespace ';' Punctuation '\n\n' Text.Whitespace 'import' Keyword.Namespace ' ' Text.Whitespace 'net' Name.Namespace '.' Punctuation 'onthewings' Name.Namespace '.' Punctuation 'Test' Name.Namespace ';' Punctuation '\n' Text.Whitespace 'import' Keyword.Namespace ' ' Text.Whitespace 'net' Name.Namespace '.' Punctuation 'onthewings' Name.Namespace '.' Punctuation '*' Keyword ';' Punctuation '\n\n' Text.Whitespace 'using' Keyword.Namespace ' ' Text.Whitespace 'Lambda' Name.Namespace ';' Punctuation '\n' Text.Whitespace 'using' Keyword.Namespace ' ' Text.Whitespace 'net' Name.Namespace '.' Punctuation 'onthewings' Name.Namespace '.' Punctuation 'Test' Name.Namespace ';' Punctuation '\n\n' Text.Whitespace '#if' Comment.Preproc ' ' Text.Whitespace 'flash8' Comment.Preproc '\n' Text.Whitespace '// Haxe code specific for flash player 8' Comment.Single '\n' Text.Whitespace '#elseif' Comment.Preproc ' ' Text.Whitespace 'flash' Comment.Preproc '\n' Text.Whitespace '// Haxe code specific for flash platform (any version)' Comment.Single '\n' Text.Whitespace '#elseif' Comment.Preproc ' ' Text.Whitespace 'js' Comment.Preproc '\n' Text.Whitespace '// Haxe code specific for javascript plaform' Comment.Single '\n' Text.Whitespace '#elseif' Comment.Preproc ' ' Text.Whitespace 'neko' Comment.Preproc '\n' Text.Whitespace '// Haxe code specific for neko plaform' Comment.Single '\n' Text.Whitespace '#else' Comment.Preproc ' \n' Text.Whitespace '// do something else' Comment.Single '\n ' Text.Whitespace '#error' Comment.Preproc ' ' Text.Whitespace '// will display an error "Not implemented on this platform"' Comment.Single '\n ' Text.Whitespace '#error' Comment.Preproc ' ' Text.Whitespace '"' Literal.String.Double 'C' Literal.String.Double 'u' Literal.String.Double 's' Literal.String.Double 't' Literal.String.Double 'o' Literal.String.Double 'm' Literal.String.Double ' ' Literal.String.Double 'e' Literal.String.Double 'r' Literal.String.Double 'r' Literal.String.Double 'o' Literal.String.Double 'r' Literal.String.Double ' ' Literal.String.Double 'm' Literal.String.Double 'e' Literal.String.Double 's' Literal.String.Double 's' Literal.String.Double 'a' Literal.String.Double 'g' Literal.String.Double 'e' Literal.String.Double '"' Literal.String.Double ' ' Text.Whitespace '// will display an error "Custom error message"' Comment.Single '\n' Text.Whitespace '#end' Comment.Preproc '\n\n' Text.Whitespace '' Text '0' Literal.Number.Integer ';' Punctuation ' ' Text.Whitespace '// Int' Comment.Single '\n' Text.Whitespace '' Text '-' Operator '134' Literal.Number.Integer ';' Punctuation ' ' Text.Whitespace '// Int' Comment.Single '\n' Text.Whitespace '' Text '0xFF00' Literal.Number.Hex ';' Punctuation ' ' Text.Whitespace '// Int' Comment.Single '\n\n' Text.Whitespace '' Text '123.0' Literal.Number.Float ';' Punctuation ' ' Text.Whitespace '// Float' Comment.Single '\n' Text.Whitespace '' Text '.14179' Literal.Number.Float ';' Punctuation ' ' Text.Whitespace '// Float' Comment.Single '\n' Text.Whitespace '' Text '13e50' Literal.Number.Float ';' Punctuation ' ' Text.Whitespace '// Float' Comment.Single '\n' Text.Whitespace '' Text '-' Operator '1e-99' Literal.Number.Float ';' Punctuation ' ' Text.Whitespace '// Float' Comment.Single '\n\n' Text.Whitespace '' Text '"' Literal.String.Double 'h' Literal.String.Double 'e' Literal.String.Double 'l' Literal.String.Double 'l' Literal.String.Double 'o' Literal.String.Double '"' Literal.String.Double ';' Punctuation ' ' Text.Whitespace '// String' Comment.Single '\n' Text.Whitespace '' Text '"' Literal.String.Double 'h' Literal.String.Double 'e' Literal.String.Double 'l' Literal.String.Double 'l' Literal.String.Double 'o' Literal.String.Double ' ' Literal.String.Double '\\"' Literal.String.Escape 'w' Literal.String.Double 'o' Literal.String.Double 'r' Literal.String.Double 'l' Literal.String.Double 'd' Literal.String.Double '\\"' Literal.String.Escape ' ' Literal.String.Double '!' Literal.String.Double '"' Literal.String.Double ';' Punctuation ' ' Text.Whitespace '// String' Comment.Single '\n' Text.Whitespace '' Text "'" Literal.String.Single 'h' Literal.String.Single 'e' Literal.String.Single 'l' Literal.String.Single 'l' Literal.String.Single 'o' Literal.String.Single ' ' Literal.String.Single '"' Literal.String.Single 'w' Literal.String.Single 'o' Literal.String.Single 'r' Literal.String.Single 'l' Literal.String.Single 'd' Literal.String.Single '"' Literal.String.Single ' ' Literal.String.Single '!' Literal.String.Single "'" Literal.String.Single ';' Punctuation ' ' Text.Whitespace '// String' Comment.Single '\n\n' Text.Whitespace '' Text 'true' Keyword.Constant ';' Punctuation ' ' Text.Whitespace '// Bool' Comment.Single '\n' Text.Whitespace '' Text 'false' Keyword.Constant ';' Punctuation ' ' Text.Whitespace '// Bool' Comment.Single '\n\n' Text.Whitespace '' Text 'null' Keyword.Constant ';' Punctuation ' ' Text.Whitespace '// Unknown<0>' Comment.Single '\n\n' Text.Whitespace '' Text '~/[a-z]+/i' Literal.String.Regex ';' Punctuation ' ' Text.Whitespace '// EReg : regular expression' Comment.Single '\n\n' Text.Whitespace '' Text 'var' Keyword.Declaration ' ' Text.Whitespace 'point' Text ' ' Text.Whitespace '=' Operator ' ' Text.Whitespace '{' Punctuation ' ' Text.Whitespace '"' Literal.String.Double 'x' Literal.String.Double '"' Literal.String.Double ' ' Text.Whitespace ':' Punctuation ' ' Text.Whitespace '1' Literal.Number.Integer ',' Punctuation ' ' Text.Whitespace '"' Literal.String.Double 'y' Literal.String.Double '"' Literal.String.Double ' ' Text.Whitespace ':' Punctuation ' ' Text.Whitespace '-' Operator '5' Literal.Number.Integer ' ' Text.Whitespace '}' Punctuation ';' Punctuation '\n\n' Text.Whitespace '' Text '{' Punctuation '\n ' Text.Whitespace 'var' Keyword.Declaration ' ' Text.Whitespace 'x' Text ';' Punctuation '\n ' Text.Whitespace 'var' Keyword.Declaration ' ' Text.Whitespace 'y' Text ' ' Text.Whitespace '=' Operator ' ' Text.Whitespace '3' Literal.Number.Integer ';' Punctuation '\n ' Text.Whitespace 'var' Keyword.Declaration ' ' Text.Whitespace 'z' Text ' ' Text.Whitespace ':' Punctuation ' ' Text.Whitespace 'String' Name ';' Punctuation '\n ' Text.Whitespace 'var' Keyword.Declaration ' ' Text.Whitespace 'w' Text ' ' Text.Whitespace ':' Punctuation ' ' Text.Whitespace 'String' Name ' ' Text.Whitespace '=' Operator ' ' Text.Whitespace '"' Literal.String.Double '"' Literal.String.Double ';' Punctuation '\n ' Text.Whitespace 'var' Keyword.Declaration ' ' Text.Whitespace 'a' Text ',' Punctuation ' ' Text.Whitespace 'b' Text ' ' Text.Whitespace ':' Punctuation ' ' Text.Whitespace 'Bool' Name ',' Punctuation ' ' Text.Whitespace 'c' Text ' ' Text.Whitespace ':' Punctuation ' ' Text.Whitespace 'Int' Name ' ' Text.Whitespace '=' Operator ' ' Text.Whitespace '0' Literal.Number.Integer ';' Punctuation '\n' Text.Whitespace '}' Punctuation '\n\n' Text.Whitespace '//haxe3 pattern matching' Comment.Single '\n' Text.Whitespace '' Text 'switch' Keyword '(' Punctuation 'e' Name '.' Punctuation 'expr' Name ')' Punctuation ' ' Text.Whitespace '{' Punctuation '\n\t' Text.Whitespace 'case' Keyword ' ' Text.Whitespace 'EConst' Name '(' Punctuation 'CString' Name '(' Punctuation 's' Name ')' Punctuation ')' Punctuation ' ' Text.Whitespace 'if' Keyword ' ' Text.Whitespace '(' Punctuation 'StringTools' Name '.' Punctuation 'startsWith' Name '(' Punctuation 's' Name ',' Punctuation ' ' Text.Whitespace '"' Literal.String.Double 'f' Literal.String.Double 'o' Literal.String.Double 'o' Literal.String.Double '"' Literal.String.Double ')' Punctuation ')' Punctuation ':' Punctuation '\n\t\t' Text.Whitespace '' Keyword '"' Literal.String.Double '1' Literal.String.Double '"' Literal.String.Double ';' Punctuation '\n\t' Text.Whitespace 'case' Keyword ' ' Text.Whitespace 'EConst' Name '(' Punctuation 'CString' Name '(' Punctuation 's' Name ')' Punctuation ')' Punctuation ' ' Text.Whitespace 'if' Keyword ' ' Text.Whitespace '(' Punctuation 'StringTools' Name '.' Punctuation 'startsWith' Name '(' Punctuation 's' Name ',' Punctuation ' ' Text.Whitespace '"' Literal.String.Double 'b' Literal.String.Double 'a' Literal.String.Double 'r' Literal.String.Double '"' Literal.String.Double ')' Punctuation ')' Punctuation ':' Punctuation '\n\t\t' Text.Whitespace '' Keyword '"' Literal.String.Double '2' Literal.String.Double '"' Literal.String.Double ';' Punctuation '\n\t' Text.Whitespace 'case' Keyword ' ' Text.Whitespace 'EConst' Name '(' Punctuation 'CInt' Name '(' Punctuation 'i' Name ')' Punctuation ')' Punctuation ' ' Text.Whitespace 'if' Keyword ' ' Text.Whitespace '(' Punctuation 'switch' Keyword '(' Punctuation 'Std' Name '.' Punctuation 'parseInt' Name '(' Punctuation 'i' Name ')' Punctuation ' ' Text.Whitespace '*' Operator ' ' Text.Whitespace '2' Literal.Number.Integer ')' Punctuation ' ' Text.Whitespace '{' Punctuation ' ' Text.Whitespace 'case' Keyword ' ' Text.Whitespace '4' Literal.Number.Integer ':' Punctuation ' ' Text.Whitespace '' Keyword 'true' Keyword.Constant ';' Punctuation ' ' Text.Whitespace 'case' Keyword ' ' Text.Whitespace '_' Name ':' Punctuation ' ' Text.Whitespace '' Keyword 'false' Keyword.Constant ';' Punctuation ' ' Text.Whitespace '}' Punctuation ')' Punctuation ':' Punctuation '\n\t\t' Text.Whitespace '' Keyword '"' Literal.String.Double '3' Literal.String.Double '"' Literal.String.Double ';' Punctuation '\n\t' Text.Whitespace 'case' Keyword ' ' Text.Whitespace 'EConst' Name '(' Punctuation '_' Name ')' Punctuation ':' Punctuation '\n\t\t' Text.Whitespace '' Keyword '"' Literal.String.Double '4' Literal.String.Double '"' Literal.String.Double ';' Punctuation '\n\t' Text.Whitespace 'case' Keyword ' ' Text.Whitespace '_' Name ':' Punctuation '\n\t\t' Text.Whitespace '' Keyword '"' Literal.String.Double '5' Literal.String.Double '"' Literal.String.Double ';' Punctuation '\n' Text.Whitespace '}' Punctuation '\n\n' Text.Whitespace '' Text 'switch' Keyword ' ' Text.Whitespace '[' Punctuation 'true' Keyword.Constant ',' Punctuation ' ' Text.Whitespace '1' Literal.Number.Integer ',' Punctuation ' ' Text.Whitespace '"' Literal.String.Double 'f' Literal.String.Double 'o' Literal.String.Double 'o' Literal.String.Double '"' Literal.String.Double ']' Punctuation ' ' Text.Whitespace '{' Punctuation '\n\t' Text.Whitespace 'case' Keyword ' ' Text.Whitespace '[' Punctuation 'true' Keyword.Constant ',' Punctuation ' ' Text.Whitespace '1' Literal.Number.Integer ',' Punctuation ' ' Text.Whitespace '"' Literal.String.Double 'f' Literal.String.Double 'o' Literal.String.Double 'o' Literal.String.Double '"' Literal.String.Double ']' Punctuation ':' Punctuation ' ' Text.Whitespace '' Keyword '"' Literal.String.Double '0' Literal.String.Double '"' Literal.String.Double ';' Punctuation '\n\t' Text.Whitespace 'case' Keyword ' ' Text.Whitespace '[' Punctuation 'true' Keyword.Constant ',' Punctuation ' ' Text.Whitespace '1' Literal.Number.Integer ',' Punctuation ' ' Text.Whitespace '_' Name ']' Punctuation ':' Punctuation ' ' Text.Whitespace '' Keyword '"' Literal.String.Double '1' Literal.String.Double '"' Literal.String.Double ';' Punctuation '\n\t' Text.Whitespace 'case' Keyword ' ' Text.Whitespace '_' Name ':' Punctuation ' ' Text.Whitespace '' Keyword '"' Literal.String.Double '_' Literal.String.Double '"' Literal.String.Double ';' Punctuation '\n' Text.Whitespace '}' Punctuation '\n\n\n' Text.Whitespace 'class' Keyword.Declaration ' ' Text.Whitespace 'Test' Name ' ' Text.Whitespace '<' Punctuation 'T' Name ':' Punctuation 'Void' Name '->' Punctuation 'Void' Name '>' Punctuation ' ' Text.Whitespace '{' Punctuation '\n\t' Text.Whitespace 'private' Keyword.Declaration ' ' Text.Whitespace 'function' Keyword.Declaration ' ' Text.Whitespace 'new' Name.Function '(' Punctuation ')' Punctuation ':' Punctuation 'Void' Name ' ' Text.Whitespace '{' Punctuation '\n\t\t' Text.Whitespace 'inline' Keyword.Declaration ' ' Text.Whitespace 'function' Keyword.Declaration ' ' Text.Whitespace 'innerFun' Name.Function '(' Punctuation 'a' Name ':' Punctuation 'Int' Name ',' Punctuation ' ' Text.Whitespace 'b' Name ':' Punctuation 'Int' Name ')' Punctuation ':' Punctuation 'Int' Name ' ' Text.Whitespace '{' Punctuation '\n\t\t\t' Text.Whitespace 'return' Keyword ' ' Text.Whitespace 'readOnlyField' Name ' ' Text.Whitespace '=' Operator ' ' Text.Whitespace 'a' Name ' ' Text.Whitespace '+' Operator ' ' Text.Whitespace 'b' Name ';' Punctuation '\n\t\t' Text.Whitespace '}' Punctuation '\n\t\t\n\t\t' Text.Whitespace '_innerFun' Name '(' Punctuation '1' Literal.Number.Integer ',' Punctuation ' ' Text.Whitespace '2.3' Literal.Number.Float ')' Punctuation ';' Punctuation '\n\t' Text.Whitespace '}' Punctuation '\n\t\n\t' Text.Whitespace 'static' Keyword.Declaration ' ' Text.Whitespace 'public' Keyword.Declaration ' ' Text.Whitespace 'var' Keyword.Declaration ' ' Text.Whitespace 'instance' Text '(' Punctuation 'get' Keyword ',' Punctuation 'null' Keyword ')' Punctuation ':' Punctuation 'Test' Name ';' Punctuation '\n\t' Text.Whitespace 'static' Keyword.Declaration ' ' Text.Whitespace 'function' Keyword.Declaration ' ' Text.Whitespace 'get_instance' Name.Function '(' Punctuation ')' Punctuation ':' Punctuation 'Test' Name ' ' Text.Whitespace '{' Punctuation '\n\t\t' Text.Whitespace 'return' Keyword ' ' Text.Whitespace 'instance' Name ' ' Text.Whitespace '!=' Operator ' ' Text.Whitespace 'null' Keyword.Constant ' ' Text.Whitespace '?' Operator ' ' Text.Whitespace 'instance' Name ' ' Text.Whitespace ':' Operator ' ' Text.Whitespace 'instance' Name ' ' Text.Whitespace '=' Operator ' ' Text.Whitespace 'new' Keyword ' ' Text.Whitespace 'Test' Name '(' Punctuation ')' Punctuation ';' Punctuation '\n\t' Text.Whitespace '}' Punctuation '\n' Text.Whitespace '}' Punctuation '\n\n' Text.Whitespace '@' Name.Decorator ':' Name.Decorator 'native' Name.Decorator '(' Name.Decorator '"' Literal.String.Double 'T' Literal.String.Double 'e' Literal.String.Double 's' Literal.String.Double 't' Literal.String.Double '"' Literal.String.Double ')' Name.Decorator ' ' Text.Whitespace 'private' Keyword.Declaration ' ' Text.Whitespace 'class' Keyword.Declaration ' ' Text.Whitespace 'Test2' Name ' ' Text.Whitespace '{' Punctuation '}' Punctuation '\n\n' Text.Whitespace 'extern' Keyword.Declaration ' ' Text.Whitespace 'class' Keyword.Declaration ' ' Text.Whitespace 'Ext' Name ' ' Text.Whitespace '{' Punctuation '}' Punctuation '\n\n' Text.Whitespace '@' Name.Decorator ':' Name.Decorator 'macro' Name.Decorator ' ' Text.Whitespace 'class' Keyword.Declaration ' ' Text.Whitespace 'M' Name ' ' Text.Whitespace '{' Punctuation '\n\t' Text.Whitespace '@' Name.Decorator ':' Name.Decorator 'macro' Name.Decorator ' ' Text.Whitespace 'static' Keyword.Declaration ' ' Text.Whitespace 'function' Keyword.Declaration ' ' Text.Whitespace 'test' Name.Function '(' Punctuation 'e' Name ':' Punctuation 'Array' Name '<' Punctuation 'Expr' Name '>' Punctuation ')' Punctuation ':' Punctuation 'ExprOf' Name '<' Punctuation 'String' Name '>' Punctuation ' ' Text.Whitespace '{' Punctuation '\n\t\t' Text.Whitespace 'return' Keyword ' ' Text.Whitespace 'macro' Keyword ' ' Text.Whitespace '"' Literal.String.Double 'o' Literal.String.Double 'k' Literal.String.Double '"' Literal.String.Double ';' Punctuation '\n\t' Text.Whitespace '}' Punctuation '\n' Text.Whitespace '}' Punctuation '\n\n' Text.Whitespace 'enum' Keyword.Declaration ' ' Text.Whitespace 'Color' Name ' ' Text.Whitespace '{' Punctuation '\n ' Text.Whitespace 'Red' Name ';' Punctuation '\n ' Text.Whitespace 'Green' Name ';' Punctuation '\n ' Text.Whitespace 'Blue' Name ';' Punctuation '\n ' Text.Whitespace 'Grey' Name '(' Punctuation ' ' Text.Whitespace 'v' Name ' ' Text.Whitespace ':' Punctuation ' ' Text.Whitespace 'Int' Name ' ' Text.Whitespace ')' Punctuation ';' Punctuation '\n ' Text.Whitespace 'Rgb' Name '(' Punctuation ' ' Text.Whitespace 'r' Name ' ' Text.Whitespace ':' Punctuation ' ' Text.Whitespace 'Int' Name ',' Punctuation ' ' Text.Whitespace 'g' Name ' ' Text.Whitespace ':' Punctuation ' ' Text.Whitespace 'Int' Name ',' Punctuation ' ' Text.Whitespace 'b' Name ' ' Text.Whitespace ':' Punctuation ' ' Text.Whitespace 'Int' Name ' ' Text.Whitespace ')' Punctuation ';' Punctuation '\n ' Text.Whitespace 'Alpha' Name '(' Punctuation ' ' Text.Whitespace 'a' Name ' ' Text.Whitespace ':' Punctuation ' ' Text.Whitespace 'Int' Name ',' Punctuation ' ' Text.Whitespace 'col' Name ' ' Text.Whitespace ':' Punctuation ' ' Text.Whitespace 'Color' Name ' ' Text.Whitespace ')' Punctuation ';' Punctuation '\n' Text.Whitespace '}' Punctuation '\n\n' Text.Whitespace 'class' Keyword.Declaration ' ' Text.Whitespace 'Colors' Name ' ' Text.Whitespace '{' Punctuation '\n ' Text.Whitespace 'static' Keyword.Declaration ' ' Text.Whitespace 'function' Keyword.Declaration ' ' Text.Whitespace 'toInt' Name.Function '(' Punctuation ' ' Text.Whitespace 'c' Name ' ' Text.Whitespace ':' Punctuation ' ' Text.Whitespace 'Color' Name ' ' Text.Whitespace ')' Punctuation ' ' Text.Whitespace ':' Punctuation ' ' Text.Whitespace 'Int' Name ' ' Text.Whitespace '{' Punctuation '\n ' Text.Whitespace 'return' Keyword ' ' Text.Whitespace 'switch' Keyword '(' Punctuation ' ' Text.Whitespace 'c' Name ' ' Text.Whitespace ')' Punctuation ' ' Text.Whitespace '{' Punctuation '\n ' Text.Whitespace 'case' Keyword ' ' Text.Whitespace 'Red' Name ':' Punctuation ' ' Text.Whitespace '' Keyword '0xFF0000' Literal.Number.Hex ';' Punctuation '\n ' Text.Whitespace 'case' Keyword ' ' Text.Whitespace 'Green' Name ':' Punctuation ' ' Text.Whitespace '' Keyword '0x00FF00' Literal.Number.Hex ';' Punctuation '\n ' Text.Whitespace 'case' Keyword ' ' Text.Whitespace 'Blue' Name ':' Punctuation ' ' Text.Whitespace '' Keyword '0x0000FF' Literal.Number.Hex ';' Punctuation '\n ' Text.Whitespace 'case' Keyword ' ' Text.Whitespace 'Grey' Name '(' Punctuation 'v' Name ')' Punctuation ':' Punctuation ' ' Text.Whitespace '' Keyword '(' Punctuation 'v' Name ' ' Text.Whitespace '<<' Operator ' ' Text.Whitespace '16' Literal.Number.Integer ')' Punctuation ' ' Text.Whitespace '|' Operator ' ' Text.Whitespace '(' Punctuation 'v' Name ' ' Text.Whitespace '<<' Operator ' ' Text.Whitespace '8' Literal.Number.Integer ')' Punctuation ' ' Text.Whitespace '|' Operator ' ' Text.Whitespace 'v' Name ';' Punctuation '\n ' Text.Whitespace 'case' Keyword ' ' Text.Whitespace 'Rgb' Name '(' Punctuation 'r' Name ',' Punctuation 'g' Name ',' Punctuation 'b' Name ')' Punctuation ':' Punctuation ' ' Text.Whitespace '' Keyword '(' Punctuation 'r' Name ' ' Text.Whitespace '<<' Operator ' ' Text.Whitespace '16' Literal.Number.Integer ')' Punctuation ' ' Text.Whitespace '|' Operator ' ' Text.Whitespace '(' Punctuation 'g' Name ' ' Text.Whitespace '<<' Operator ' ' Text.Whitespace '8' Literal.Number.Integer ')' Punctuation ' ' Text.Whitespace '|' Operator ' ' Text.Whitespace 'b' Name ';' Punctuation '\n ' Text.Whitespace 'case' Keyword ' ' Text.Whitespace 'Alpha' Name '(' Punctuation 'a' Name ',' Punctuation 'c' Name ')' Punctuation ':' Punctuation ' ' Text.Whitespace '' Keyword '(' Punctuation 'a' Name ' ' Text.Whitespace '<<' Operator ' ' Text.Whitespace '24' Literal.Number.Integer ')' Punctuation ' ' Text.Whitespace '|' Operator ' ' Text.Whitespace '(' Punctuation 'toInt' Name '(' Punctuation 'c' Name ')' Punctuation ' ' Text.Whitespace '&' Operator ' ' Text.Whitespace '0xFFFFFF' Literal.Number.Hex ')' Punctuation ';' Punctuation '\n ' Text.Whitespace '}' Punctuation '\n ' Text.Whitespace '}' Punctuation '\n' Text.Whitespace '}' Punctuation '\n\n' Text.Whitespace 'class' Keyword.Declaration ' ' Text.Whitespace 'EvtQueue' Name '<' Punctuation 'T' Name ' ' Text.Whitespace ':' Punctuation ' ' Text.Whitespace '(' Punctuation 'Event' Name ',' Punctuation ' ' Text.Whitespace 'EventDispatcher' Name ')' Punctuation '>' Punctuation ' ' Text.Whitespace '{' Punctuation '\n ' Text.Whitespace 'var' Keyword.Declaration ' ' Text.Whitespace 'evt' Text ' ' Text.Whitespace ':' Punctuation ' ' Text.Whitespace 'T' Name ';' Punctuation '\n' Text.Whitespace '}' Punctuation '\n\n' Text.Whitespace 'typedef' Keyword.Declaration ' ' Text.Whitespace 'DS' Name ' ' Text.Whitespace '=' Operator ' ' Text.Whitespace 'Dynamic' Name '<' Punctuation 'String' Name '>' Punctuation ';' Punctuation '\n' Text.Whitespace 'typedef' Keyword.Declaration ' ' Text.Whitespace 'Pt' Name ' ' Text.Whitespace '=' Operator ' ' Text.Whitespace '{' Punctuation '\n\t' Text.Whitespace 'var' Keyword.Declaration ' ' Text.Whitespace 'x' Text ':' Punctuation 'Float' Name ';' Punctuation '\n\t' Text.Whitespace 'var' Keyword.Declaration ' ' Text.Whitespace 'y' Text ':' Punctuation 'Float' Name ';' Punctuation '\n\t' Text.Whitespace '@' Name.Decorator ':' Name.Decorator 'optional' Name.Decorator ' ' Text.Whitespace 'var' Keyword.Declaration ' ' Text.Whitespace 'z' Text ':' Punctuation 'Float' Name ';' Punctuation ' ' Text.Whitespace '/* optional z */' Comment.Multiline '\n\t' Text.Whitespace 'function' Keyword.Declaration ' ' Text.Whitespace 'add' Name.Function '(' Punctuation 'pt' Name ':' Punctuation 'Pt' Name ')' Punctuation ':' Punctuation 'Void' Name ';' Punctuation '\n' Text.Whitespace '}' Punctuation '\n' Text.Whitespace 'typedef' Keyword.Declaration ' ' Text.Whitespace 'Pt2' Name ' ' Text.Whitespace '=' Operator ' ' Text.Whitespace '{' Punctuation '\n\t' Text.Whitespace 'x' Name ':' Punctuation 'Float' Name ',' Punctuation '\n\t' Text.Whitespace 'y' Name ':' Punctuation 'Float' Name ',' Punctuation '\n\t' Text.Whitespace '?' Punctuation 'z' Name ':' Punctuation 'Float' Name ',' Punctuation ' ' Text.Whitespace '//optional z' Comment.Single '\n\t' Text.Whitespace 'add' Name ' ' Text.Whitespace ':' Punctuation ' ' Text.Whitespace 'Point' Name ' ' Text.Whitespace '->' Punctuation ' ' Text.Whitespace 'Void' Name ',' Punctuation '\n' Text.Whitespace '}' Punctuation '\n\n\n' Text.Whitespace '//top-level class members' Comment.Single '\n' Text.Whitespace '' Text 'public' Keyword.Declaration ' ' Text.Whitespace 'function' Keyword.Declaration ' ' Text.Whitespace 'test' Name.Function '(' Punctuation ')' Punctuation ';' Punctuation '\n' Text.Whitespace 'private' Keyword.Declaration ' ' Text.Whitespace '' Text 'var' Keyword.Declaration ' ' Text.Whitespace 'attr' Text '(' Punctuation 'get' Keyword ',' Punctuation ' ' Text.Whitespace 'set' Keyword ')' Punctuation ' ' Text.Whitespace '=' Operator ' ' Text.Whitespace '1' Literal.Number.Integer ';' Punctuation '\n\n\n' Text.Whitespace '//pre-proc number' Comment.Single '\n' Text.Whitespace '' Text 'public' Keyword.Declaration ' ' Text.Whitespace 'static' Keyword.Declaration ' ' Text.Whitespace 'inline' Keyword.Declaration ' ' Text.Whitespace 'function' Keyword.Declaration ' ' Text.Whitespace 'indexOf' Name.Function '<' Punctuation 'T' Name '>' Punctuation '(' Punctuation 'arr' Name ':' Punctuation 'Array' Name '<' Punctuation 'T' Name '>' Punctuation ',' Punctuation ' ' Text.Whitespace 'v' Name ':' Punctuation 'T' Name ')' Punctuation ' ' Text.Whitespace ':' Punctuation ' ' Text.Whitespace 'Int' Name '\n' Text.Whitespace '{' Punctuation '\n\t' Text.Whitespace '#if' Comment.Preproc ' ' Text.Whitespace '(' Comment.Preproc 'haxe_ver' Comment.Preproc ' ' Text.Whitespace '>=' Comment.Preproc ' ' Text.Whitespace '3.1' Literal.Number.Float ')' Comment.Preproc ' \n\t' Text.Whitespace 'return' Keyword ' ' Text.Whitespace 'arr' Name '.' Punctuation 'indexOf' Name '(' Punctuation 'v' Name ')' Punctuation ';' Punctuation '\n\t' Text.Whitespace '#else' Comment.Preproc '\n\t\t' Text.Whitespace '#if' Comment.Preproc ' ' Text.Whitespace '(' Comment.Preproc 'flash' Comment.Preproc ' ' Text.Whitespace '||' Comment.Preproc ' ' Text.Whitespace 'js' Comment.Preproc ')' Comment.Preproc '\n\t\t' Text.Whitespace 'return' Keyword ' ' Text.Whitespace 'untyped' Keyword ' ' Text.Whitespace 'arr' Name '.' Punctuation 'indexOf' Name '(' Punctuation 'v' Name ')' Punctuation ';' Punctuation '\n\t\t' Text.Whitespace '#else' Comment.Preproc '\n\t\t' Text.Whitespace 'return' Keyword ' ' Text.Whitespace 'std' Name '.' Punctuation 'Lambda' Name '.' Punctuation 'indexOf' Name '(' Punctuation 'arr' Name ',' Punctuation ' ' Text.Whitespace 'v' Name ')' Punctuation ';' Punctuation '\n\t\t' Text.Whitespace '#end' Comment.Preproc '\n\t' Text.Whitespace '#end' Comment.Preproc '\n' Text.Whitespace '}' Punctuation '\n\n' Text.Whitespace '//macro reification' Comment.Single '\n' Text.Whitespace '' Text 'var' Keyword.Declaration ' ' Text.Whitespace 'e' Text ' ' Text.Whitespace '=' Operator ' ' Text.Whitespace 'macro' Keyword ' ' Text.Whitespace 'var' Keyword.Declaration ' ' Text.Whitespace '$myVar' Text ' ' Text.Whitespace '=' Operator ' ' Text.Whitespace '0' Literal.Number.Integer ';' Punctuation '\n' Text.Whitespace '' Text 'var' Keyword.Declaration ' ' Text.Whitespace 'e' Text ' ' Text.Whitespace '=' Operator ' ' Text.Whitespace 'macro' Keyword ' ' Text.Whitespace '$' Name '{' Punctuation 'v' Name '}' Punctuation '.' Punctuation 'toLowerCase' Name '(' Punctuation ')' Punctuation ';' Punctuation '\n' Text.Whitespace '' Text 'var' Keyword.Declaration ' ' Text.Whitespace 'e' Text ' ' Text.Whitespace '=' Operator ' ' Text.Whitespace 'macro' Keyword ' ' Text.Whitespace 'o' Name '.' Punctuation '$myField' Name ';' Punctuation '\n' Text.Whitespace '' Text 'var' Keyword.Declaration ' ' Text.Whitespace 'e' Text ' ' Text.Whitespace '=' Operator ' ' Text.Whitespace 'macro' Keyword ' ' Text.Whitespace '{' Punctuation ' ' Text.Whitespace '$myField' Name ' ' Text.Whitespace ':' Punctuation ' ' Text.Whitespace '0' Literal.Number.Integer ' ' Text.Whitespace '}' Punctuation ';' Punctuation '\n' Text.Whitespace '' Text 'var' Keyword.Declaration ' ' Text.Whitespace 'e' Text ' ' Text.Whitespace '=' Operator ' ' Text.Whitespace 'macro' Keyword ' ' Text.Whitespace '$i' Name '{' Punctuation 'varName' Name '}' Punctuation '++' Operator ';' Punctuation '\n' Text.Whitespace '' Text 'var' Keyword.Declaration ' ' Text.Whitespace 'e' Text ' ' Text.Whitespace '=' Operator ' ' Text.Whitespace 'macro' Keyword ' ' Text.Whitespace '$v' Name '{' Punctuation 'myStr' Name '}' Punctuation ';' Punctuation '\n' Text.Whitespace '' Text 'var' Keyword.Declaration ' ' Text.Whitespace 'args' Text ' ' Text.Whitespace '=' Operator ' ' Text.Whitespace '[' Punctuation 'macro' Keyword ' ' Text.Whitespace '"' Literal.String.Double 's' Literal.String.Double 'u' Literal.String.Double 'b' Literal.String.Double '"' Literal.String.Double ',' Punctuation ' ' Text.Whitespace 'macro' Keyword ' ' Text.Whitespace '3' Literal.Number.Integer ']' Punctuation ';' Punctuation '\n' Text.Whitespace '' Text 'var' Keyword.Declaration ' ' Text.Whitespace 'e' Text ' ' Text.Whitespace '=' Operator ' ' Text.Whitespace 'macro' Keyword ' ' Text.Whitespace '"' Literal.String.Double 'H' Literal.String.Double 'e' Literal.String.Double 'l' Literal.String.Double 'l' Literal.String.Double 'o' Literal.String.Double '"' Literal.String.Double '.' Punctuation 'toLowerCase' Name '(' Punctuation '$a' Name '{' Punctuation 'args' Name '}' Punctuation ')' Punctuation ';' Punctuation '\n' Text.Whitespace '' Text '(' Punctuation 'macro' Keyword ' ' Text.Whitespace '$i' Name '{' Punctuation 'tmp' Name '}' Punctuation '.' Punctuation 'addAtom' Name '(' Punctuation '$v' Name '{' Punctuation 'name' Name '}' Punctuation ',' Punctuation ' ' Text.Whitespace '$atom' Name ')' Punctuation ')' Punctuation '.' Punctuation 'finalize' Name '(' Punctuation 'op' Name '.' Punctuation 'pos' Name ')' Punctuation ';' Punctuation '\n\n' Text.Whitespace '' Text 'var' Keyword.Declaration ' ' Text.Whitespace 'c' Text ' ' Text.Whitespace '=' Operator ' ' Text.Whitespace 'macro' Keyword ' ' Text.Whitespace 'class' Keyword.Declaration ' ' Text.Whitespace 'MyClass' Name ' ' Text.Whitespace '{' Punctuation '\n ' Text.Whitespace 'public' Keyword.Declaration ' ' Text.Whitespace 'function' Keyword.Declaration ' ' Text.Whitespace 'new' Name.Function '(' Punctuation ')' Punctuation ' ' Text.Whitespace '{' Punctuation ' ' Text.Whitespace '}' Punctuation '\n ' Text.Whitespace 'public' Keyword.Declaration ' ' Text.Whitespace 'function' Keyword.Declaration ' ' Text.Whitespace '$funcName' Name.Function '(' Punctuation ')' Punctuation ' ' Text.Whitespace '{' Punctuation '\n ' Text.Whitespace 'trace' Name '(' Punctuation '$v' Name '{' Punctuation 'funcName' Name '}' Punctuation ' ' Text.Whitespace '+' Operator ' ' Text.Whitespace '"' Literal.String.Double ' ' Literal.String.Double 'w' Literal.String.Double 'a' Literal.String.Double 's' Literal.String.Double ' ' Literal.String.Double 'c' Literal.String.Double 'a' Literal.String.Double 'l' Literal.String.Double 'l' Literal.String.Double 'e' Literal.String.Double 'd' Literal.String.Double '"' Literal.String.Double ')' Punctuation ';' Punctuation '\n ' Text.Whitespace '}' Punctuation '\n' Text.Whitespace '}' Punctuation '\n\n' Text.Whitespace '' Text 'var' Keyword.Declaration ' ' Text.Whitespace 'c' Text ' ' Text.Whitespace '=' Operator ' ' Text.Whitespace 'macro' Keyword ' ' Text.Whitespace 'interface' Keyword.Declaration ' ' Text.Whitespace 'IClass' Name ' ' Text.Whitespace '{' Punctuation '}' Punctuation ';' Punctuation '\n\n' Text.Whitespace '//macro class could have no name...' Comment.Single '\n' Text.Whitespace '' Text 'var' Keyword.Declaration ' ' Text.Whitespace 'def' Text ' ' Text.Whitespace '=' Operator ' ' Text.Whitespace 'macro' Keyword ' ' Text.Whitespace 'class' Keyword.Declaration ' ' Text.Whitespace '{' Punctuation '\n\t' Text.Whitespace 'private' Keyword.Declaration ' ' Text.Whitespace 'inline' Keyword.Declaration ' ' Text.Whitespace 'function' Keyword.Declaration ' ' Text.Whitespace 'new' Name.Function '(' Punctuation 'loader' Name ')' Punctuation ' ' Text.Whitespace 'this' Keyword ' ' Text.Whitespace '=' Operator ' ' Text.Whitespace 'loader' Name ';' Punctuation '\n\t' Text.Whitespace 'private' Keyword.Declaration ' ' Text.Whitespace 'var' Keyword.Declaration ' ' Text.Whitespace 'loader' Text '(' Punctuation 'get' Keyword ',' Punctuation 'never' Keyword ')' Punctuation ' ' Text.Whitespace ':' Punctuation ' ' Text.Whitespace '$loaderType' Name ';' Punctuation '\n\t' Text.Whitespace 'inline' Keyword.Declaration ' ' Text.Whitespace 'private' Keyword.Declaration ' ' Text.Whitespace 'function' Keyword.Declaration ' ' Text.Whitespace 'get_loader' Name.Function '(' Punctuation ')' Punctuation ' ' Text.Whitespace ':' Punctuation ' ' Text.Whitespace '$loaderType' Name ' ' Text.Whitespace 'return' Keyword ' ' Text.Whitespace 'this' Keyword ';' Punctuation '\n' Text.Whitespace '}' Punctuation ';' Punctuation '\n\n' Text.Whitespace '//ECheckType' Comment.Single '\n' Text.Whitespace '' Text 'var' Keyword.Declaration ' ' Text.Whitespace 'f' Text ' ' Text.Whitespace '=' Operator ' ' Text.Whitespace '(' Punctuation '123' Literal.Number.Integer ':' Punctuation 'Float' Name ')' Punctuation ';' Punctuation '\n' Text.Whitespace