"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/java.lang" (12 May 2020, 1187 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. See also the last Fossies "Diffs" side-by-side code changes report for "java.lang": 3.55_vs_3.56.

    1 Description="Java"
    2 
    3 Categories = {"source"}
    4 
    5 Keywords={
    6   { Id=1,
    7     List={"abstract", "assert", "boolean", "break", "byte", "case", "catch", "char", "class", "const",
    8           "continue", "default", "do", "double", "else", "enum", "extends", "final", "finally",
    9           "float", "for", "goto", "if", "implements", "import", "instanceof", "int", "interface",
   10           "long", "native", "new", "package", "private", "protected", "public", "return", "short",
   11           "static", "strictfp", "super", "switch", "synchronized", "this", "throw", "throws",
   12           "transient", "try", "void", "volatile", "while", "var"},
   13   },
   14   { Id=2,
   15     List={"false", "true", "null"},
   16   },
   17   { Id=3,
   18     Regex=[[@\w+]],
   19   },
   20   { Id=4,
   21     Regex=[[(\w+)\s*\(]],
   22   },
   23 }
   24 
   25 Strings={
   26   Delimiter=[["""|"|']],
   27   Escape = [[ \\u\d{4}|\\x?\d{3}|\\\w|\\[\'\\\"] ]]
   28 }
   29 
   30 IgnoreCase=false
   31 
   32 Comments={
   33   { Block=false,
   34     Delimiter= { [[\/\/]] },
   35   },
   36   { Block=true,
   37     Nested=false,
   38     Delimiter= { [[\/\*]],[[\*\/]],}
   39   }
   40 }
   41 
   42 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\|]]
   43 
   44 Digits=[[ (?:0x|0X|0b)[0-9a-fA-F_]+|\d*[\.\_]?\d+(?:[eE][\-\+]?\d+)?[fFlLuU]? ]]
   45 
   46 EnableIndentation=true