"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/ttcn3.lang" (12 May 2020, 1175 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="TTCN3"
    3 
    4 Categories = {"protocol"}
    5 
    6 
    7 Keywords={
    8   { Id=1,
    9     List={"if", "else", "while", "for", "do", "return", "log", "testcase",
   10         "runs", "on", "module", "repeat", "stop", "function", "template", "import",
   11         "from", "alt", "trigger", "send", "match", "timeout", "setverdict",
   12         "getverdict", "true", "false", "not", "and", "or", "mod", "not4b", "and4b",
   13         "or4b", "xor4b", "start", "stop", "running", "read", "none", "pass", "fail",
   14         "error", "inconc"},
   15   },
   16   { Id=2,
   17     List={"boolean", "byte", "char", "integer", "float", "double", "timer",
   18         "record", "unsignedbyte", "unsignedchar", "unsignedshort", "unsignedlong",
   19         "short", "long", "charstring", "component"},
   20   },
   21   { Id=3,
   22     List={"type", "const", "var"},
   23   },
   24   { Id=4,
   25     Regex=[[(\w+)\s*\(]],
   26   },
   27 }
   28 
   29 Strings={
   30   Delimiter=[["|']],
   31 }
   32 
   33 IgnoreCase=false
   34 
   35 Comments={
   36   { Block=false,
   37     Delimiter= { [[\/\/]] },
   38   },
   39   { Block=true,
   40     Nested=false,
   41     Delimiter= { [[\/\*]],[[\*\/]],}
   42   }
   43 }
   44 
   45 PreProcessor={
   46   Prefix=[[#]],
   47   Continuation="\\",
   48 }
   49 
   50 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~]]
   51 
   52 EnableIndentation=true