"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/vala.lang" (12 May 2020, 1411 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="Vala"
    3 
    4 Categories = {"source"}
    5 
    6 Keywords={
    7     { Id=1,
    8       List={"if", "else", "switch", "case", "default", "break", "continue",
    9             "return", "for", "foreach", "in", "do", "while", "try", "catch", "finally",
   10             "throw"},
   11       },
   12     { Id=2,
   13       List={"namespace", "interface", "class", "struct", "enum", "signal",
   14             "construct", "callback", "get", "set", "base", "const", "static", "var", "weak",
   15             "virtual", "abstract", "override", "public", "protected", "private", "in",
   16             "out", "ref", "lock", "using", "abstract", "dynamic", "extern", "internal",
   17             "readonly", "sealed", "volatile"},
   18       },
   19     { Id=3,
   20       List={"true", "false", "null", "bool", "byte", "char", "decimal", "double",
   21             "float", "int", "int8", "int16", "int32", "int64", "long", "object", "sbyte",
   22             "short", "string", "uchar", "uint", "uint8", "uint16", "uint32", "uint64",
   23             "ulong", "ushort", "void"},
   24       },
   25     { Id=4,
   26       Regex=[[(\w+)\s*\(]],
   27     },
   28 }
   29 
   30 Strings={
   31     Delimiter=[["|']],
   32         }
   33 
   34 IgnoreCase=false
   35 
   36 Comments={
   37     {   Block=false,
   38         Delimiter= { [[\/\/]] },
   39     },
   40     {   Block=true,
   41         Nested=false,
   42         Delimiter= { [[\/\*]],[[\*\/]],}
   43     }
   44 }
   45 
   46 PreProcessor={
   47     Prefix=[[#]],
   48 }
   49 
   50 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~|\|]]
   51 
   52 EnableIndentation=false
   53