"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/haxe.lang" (12 May 2020, 1049 Bytes) of package /windows/www/highlight-3.57-x64.zip:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 
    2 Description="haXe"
    3 
    4 Categories = {"source"}
    5 
    6 Digits=[[ (?:0x|0X)[0-9a-fA-F]+|\d*[\.\_]?\d+(?:[eE][\-\+]?\d+)?[lLuUbfdm]* ]]
    7 
    8 Keywords={
    9   { Id=1,
   10     List={"function", "class", "static", "var", "if", "else", "while", "do",
   11         "for", "break", "return", "continue", "extends", "implements", "import",
   12         "switch", "case", "default", "private", "public", "try", "catch", "new", "this",
   13         "throw", "extern", "enum", "in", "interface", "untyped", "cast", "override",
   14         "typedef", "dynamic", "package", "callback", "inline", "here", "using", "never",
   15         "super", "trace"},
   16   },
   17   { Id=2,
   18     List={"Void", "Float", "Int", "Bool", "Dynamic", "true", "false", "null"},
   19   },
   20   { Id=3,
   21     Regex=[[~\/.*?\/[igms]*]],
   22   },
   23   { Id=4,
   24     Regex=[[(\w+)\s*\(]],
   25   },
   26 }
   27 
   28 Strings={
   29   Delimiter=[["|']],
   30 }
   31 
   32 IgnoreCase=false
   33 
   34 Comments={
   35   { Block=false,
   36     Delimiter= { [[//]] },
   37   },
   38   { Block=true,
   39     Nested=false,
   40     Delimiter= { [[\/\*]],[[\*\/]],}
   41   }
   42 }
   43 
   44 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~]]