"Fossies" - the Fresh Open Source Software Archive

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

    1 Description="JSON"
    2 
    3 Categories = {"config", "protocol"}
    4 
    5 
    6 Keywords={
    7   { Id=1,
    8     Regex=[[ \{|\} ]],
    9   },
   10   { Id=2,
   11     Regex=[=[ \[|\] ]=],
   12   },
   13   { Id=3,
   14     Regex=[[ (\"[\w\.\-\d]+?\")\: ]],
   15   },
   16   { Id=4,
   17     Regex=[[ (\"\$[\w\.\-\d\$]+?\")\: ]],
   18   }
   19 
   20 }
   21 
   22 Strings = {
   23   Delimiter=[["]]
   24 }
   25 
   26 Comments = {
   27   { Block=true,
   28     Nested=false,
   29     Delimiter = { [[\/\*]], [[\*\/]] }
   30   },
   31   {
   32     Block=false,
   33     Delimiter = { [[//]] }
   34   }
   35 }
   36 
   37 IgnoreCase=false
   38 
   39 PreProcessor = {
   40   Prefix=[[#]],
   41   Continuation="\\",
   42 }
   43 
   44 Operators=[[\(|\)|\,|\;|\.|\:|\&|<|>|\!|=|\/|\*|\%|\+|\-|\~|\||\^]]