"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/solidity.lang" (12 May 2020, 1454 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. See also the last Fossies "Diffs" side-by-side code changes report for "solidity.lang": 3.53_vs_3.54.

    1 
    2 Description="Solidity"
    3 
    4 Categories = {"source"}
    5 
    6 Digits = [[ (?:0x|0X|0b)[0-9a-fA-F']+|\d*[\.]?\d+(?:[eE][\-\+]\d+)?[lLuU]* ]]
    7 
    8 Keywords={
    9   { Id=1,
   10     List={
   11       "pragma", "solidity", "import", "from", "as", "anonymous", "assembly", "assert", "require", "revert", "break", "case", "constructor", "continue", "constant", "payable", "pure", "view", "contract", "interface", "library", "default", "delete", "do", "else", "emit", "enum", "event", "external", "internal", "private", "public", "for", "function", "new", "if", "is", "let", "mapping", "memory|storage", "modifier", "return", "returns", "struct", "super", "switch", "this", "throw", "using", "var", "while",
   12       }
   13   },
   14   { Id=2,
   15     List= {
   16       "abstract", "after", "catch", "final", "in", "inline", "match", "of", "relocatable", "static", "try", "type", "typeof", }
   17   },
   18   { Id=3,
   19     List= {
   20       "now", "length", "push", "pop", "balance", "call", "callcode", "delegatecall", "gas", "send", "transfer", "value", "coinbase", "difficulty", "gaslimit", "number", "timestamp", "data", "gas", "sender", "sig", "value", "address"
   21     }
   22   },
   23   { Id=4,
   24     Regex=[[(\w+)\s*\(]]
   25   }
   26 }
   27 
   28 Strings = {
   29   Delimiter=[["|']]
   30 }
   31 
   32 Comments = {
   33   { Block=true,
   34     Nested=false,
   35     Delimiter = { [[\/\*]], [[\*\/]] }
   36   },
   37   {
   38     Block=false,
   39     Delimiter = { [[//]] }
   40   }
   41 }
   42 
   43 IgnoreCase=false
   44 
   45 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|=|\/|\*|\%|\+|\-|\~|\||\^|\?]]
   46 
   47 EnableIndentation=true
   48