"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/q.lang" (12 May 2020, 950 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="Qore"
    3 
    4 Categories = {"source"}
    5 
    6 Keywords={
    7   { Id=1,
    8     List={"class", "private", "synchronized", "new", "inherits", "shift",
    9         "where", "do", "while", "if", "else", "for", "foreach", "const", "namespace",
   10         "return", "my", "our", "try", "throw", "catch", "find", "delete", "background",
   11         "exists", "thread_exit", "in", "elements", "keys", "sub", "context", "sortBy",
   12         "sortDescendingBy", "NULL", "NOTHING", "summarize", "by", "subcontext", "break",
   13         "continue", "option"},
   14   },
   15   { Id=2,
   16     Regex=[[[$]\w+]],
   17   },
   18   { Id=3,
   19     Regex=[[[%][\w\-]+]],
   20   },
   21   { Id=4,
   22     Regex=[[(\w+)\s*\(]],
   23   },
   24 }
   25 
   26 Strings={
   27   Delimiter=[["|']],
   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 PreProcessor={
   43   Prefix=[[%]],
   44 }
   45 
   46 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\\|\*|\%|\+|\-|\~]]