1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
Description="Solidity"
Categories = {"source"}
Digits = [[ (?:0x|0X|0b)[0-9a-fA-F']+|\d*[\.]?\d+(?:[eE][\-\+]\d+)?[lLuU]* ]]
Keywords={
{ Id=1,
List={
"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",
}
},
{ Id=2,
List= {
"abstract", "after", "catch", "final", "in", "inline", "match", "of", "relocatable", "static", "try", "type", "typeof", }
},
{ Id=3,
List= {
"now", "length", "push", "pop", "balance", "call", "callcode", "delegatecall", "gas", "send", "transfer", "value", "coinbase", "difficulty", "gaslimit", "number", "timestamp", "data", "gas", "sender", "sig", "value", "address"
}
},
{ Id=4,
Regex=[[(\w+)\s*\(]]
}
}
Strings = {
Delimiter=[["|']]
}
Comments = {
{ Block=true,
Nested=false,
Delimiter = { [[\/\*]], [[\*\/]] }
},
{
Block=false,
Delimiter = { [[//]] }
}
}
IgnoreCase=false
Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|=|\/|\*|\%|\+|\-|\~|\||\^|\?]]
EnableIndentation=true
|