"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/ceylon.lang" (12 May 2020, 1247 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 "ceylon.lang": 3.53_vs_3.54.

    1 
    2 Description="Ceylon"
    3 
    4 Categories = {"source"}
    5 
    6 Keywords={
    7   {  Id=1,
    8     List={
    9       "assembly", "module", "package", "import", "alias", "class",
   10       "interface", "object", "given", "value", "assign", "void", "function", "new",
   11       "of", "extends", "satisfies", "abstracts", "in", "out", "return", "break",
   12       "continue", "throw", "assert", "dynamic", "if", "else", "switch", "case", "for",
   13       "while", "try", "catch", "finally", "then", "let", "this", "outer", "super",
   14       "is", "exists", "nonempty"}
   15   },
   16   { Id=2,
   17     List= { "shared", "formal", "abstract", "actual", "variable"
   18           }
   19   },
   20   { Id=3,
   21     List= { "String", "Integer", "Float", "Boolean", "Element", "Object", "Decimal", "Whole", "List"
   22           }
   23   },
   24   { Id=4,
   25     Regex=[[(\w+)\s*\(]]
   26   }
   27 }
   28 
   29 Strings = {
   30   Delimiter=[["""|"|']],
   31   RawPrefix="R",
   32   Interpolation=[[ ``[\w\(\)]+?``|\\\{.+?\} ]],
   33 }
   34 
   35 Comments = {
   36   { Block=true,
   37     Nested=false,
   38     Delimiter = { [[\/\*]], [[\*\/]] }
   39   },
   40   {
   41     Block=false,
   42     Delimiter = { [[//|\#\!]] }
   43   }
   44 }
   45 
   46 IgnoreCase=false
   47 
   48 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~|\||\?]]
   49 
   50 Digits=[[ [\d\.\_]*\d+(?:[eE][\-\+]?\d+)?[kMGTPmunpf]*|#[[:alnum:]\_]+|\$[01_]+ ]]
   51 
   52 EnableIndentation=true