"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/boo.lang" (12 May 2020, 1153 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="Boo"
    3 
    4 Categories = {"source"}
    5 
    6 Keywords={
    7   { Id=1,
    8     List={"abstract", "and", "as", "AST", "break", "callable", "cast", "char",
    9         "class", "constructor", "continue", "def", "destructor", "do", "elif", "else",
   10         "ensure", "enum", "event", "except", "failure", "final", "from", "for", "false",
   11         "get", "given", "goto", "if", "import", "in", "interface", "internal", "is",
   12         "isa", "not", "null", "of", "or", "otherwise", "override", "namespace",
   13         "partial", "pass", "public", "protected", "private", "raise", "ref", "retry",
   14         "return", "self", "set", "super", "static", "struct", "success", "transient",
   15         "true", "try", "typeof", "unless", "virtual", "when", "while", "yield"},
   16   },
   17   { Id=2,
   18     List={"print", "assert", "using", "lock", "debug"},
   19   },
   20   { Id=4,
   21     Regex=[[(\w+)\s*\(]],
   22   },
   23 }
   24 
   25 Strings={
   26   Delimiter=[["""|'''|"|']],
   27   RawPrefix="r",
   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=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\@]]