"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/modelica.lang" (12 May 2020, 1124 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="Modelica"
    3 
    4 Categories = {"scientific"}
    5 
    6 Keywords={
    7   { Id=1,
    8     List={"annotation", "assert", "block", "class", "connector", "constant",
    9         "discrete", "else", "elseif", "elsewhen", "end", "exit", "extends", "external",
   10         "final", "flow", "for", "function", "if", "in", "inner", "input", "import",
   11         "loop", "model", "nondiscrete", "outer", "output", "package", "parameter",
   12         "record", "redeclare", "replaceable", "return", "size", "terminate", "then",
   13         "type", "when", "while", "algorithm", "equation", "protected", "public", "and",
   14         "false", "not", "or", "true"},
   15   },
   16   { Id=2,
   17     List={"abs", "acos", "asin", "atan", "atan2", "connect", "cos", "cosh",
   18         "cross", "der", "edge", "exp", "initial", "noEvent", "pre", "reinit", "sample",
   19         "sign", "sin", "sinh", "tan", "tanh", "terminal"},
   20   },
   21 }
   22 
   23 Strings={
   24   Delimiter=[["]],
   25 }
   26 
   27 IgnoreCase=true
   28 
   29 Comments={
   30   { Block=false,
   31     Delimiter= { [[\/\/]] },
   32   },
   33   { Block=true,
   34     Nested=false,
   35     Delimiter= { [[\/\*]],[[\*\/]],}
   36   }
   37 }
   38 
   39 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]]
   40