"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/ballerina.lang" (12 May 2020, 959 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="Ballerina"
    3 
    4 Categories = {"source"}
    5 
    6 Keywords={
    7   { Id=1,
    8     List={
    9       "boolean", "int","float","decimal","string",
   10       "send","receive","flush","checking","trap","fork",
   11       "start","wait","default","final","type","xmlns","as","if","else",
   12       "match","var","error","foreach","while","continue","break","panic",
   13       "return","import","version","public","listener","service","on",
   14       "function","external","type","annotation","parameter","resource",
   15       "is", "returns" },
   16   },
   17   { Id=2,
   18     List={
   19       "false", "true", "nil"
   20   },
   21   },
   22   { Id=3,
   23     Regex=[[@\w+]],
   24   },
   25   { Id=4,
   26     Regex=[[(\w+)\s*\(]],
   27   },
   28 }
   29 
   30 Strings={
   31   Delimiter=[["|']],
   32   Escape = [[ \\u\d{4}|\\x?\d{3}|\\\w|\\[\'\\\"] ]],
   33   Interpolation=[[ \$\{.+?\} ]],
   34 }
   35 
   36 IgnoreCase=false
   37 
   38 Comments={
   39   {
   40     Block=false,
   41     Delimiter= { [[\/\/|#]] },
   42   }
   43 }
   44 
   45 Operators=[[\?|\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\|]]
   46 
   47 EnableIndentation=false